Skip to content

Commit d0f91c3

Browse files
committed
Merge branch 'master' of github.com:mongodb/mongo-python-driver
2 parents 3f901d2 + 49466f9 commit d0f91c3

File tree

2 files changed

+18
-30
lines changed

2 files changed

+18
-30
lines changed

.evergreen/config.yml

Lines changed: 17 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ task_groups:
989989
setup_group_can_fail_task: true
990990
setup_group_timeout_secs: 1800
991991
tasks:
992-
- oidc-auth-test-azure-latest
992+
- oidc-auth-test-azure
993993

994994
- name: testgcpoidc_task_group
995995
setup_group:
@@ -1013,7 +1013,7 @@ task_groups:
10131013
setup_group_can_fail_task: true
10141014
setup_group_timeout_secs: 1800
10151015
tasks:
1016-
- oidc-auth-test-gcp-latest
1016+
- oidc-auth-test-gcp
10171017

10181018
- name: testoidc_task_group
10191019
setup_group:
@@ -1026,6 +1026,9 @@ task_groups:
10261026
params:
10271027
binary: bash
10281028
include_expansions_in_env: ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
1029+
env:
1030+
# PYTHON-4447
1031+
MONGODB_VERSION: "8.0"
10291032
args:
10301033
- ${DRIVERS_TOOLS}/.evergreen/auth_oidc/setup.sh
10311034
teardown_task:
@@ -1037,7 +1040,7 @@ task_groups:
10371040
setup_group_can_fail_task: true
10381041
setup_group_timeout_secs: 1800
10391042
tasks:
1040-
- oidc-auth-test-latest
1043+
- oidc-auth-test
10411044

10421045
- name: test_aws_lambda_task_group
10431046
setup_group:
@@ -1095,7 +1098,7 @@ tasks:
10951098
genhtml --version || true
10961099
valgrind --version || true
10971100
1098-
- name: "release-mac-1100"
1101+
- name: "release-mac"
10991102
tags: ["release_tag"]
11001103
run_on: macos-1100
11011104
commands:
@@ -1121,15 +1124,6 @@ tasks:
11211124
VERSION: "3.8"
11221125
- func: "upload release"
11231126

1124-
- name: "release-mac-1014"
1125-
tags: ["release_tag"]
1126-
run_on: macos-1014
1127-
commands:
1128-
- func: "build release"
1129-
vars:
1130-
VERSION: "3.8"
1131-
- func: "upload release"
1132-
11331127
- name: "release-windows"
11341128
tags: ["release_tag"]
11351129
run_on: windows-64-vsMulti-small
@@ -2015,13 +2009,14 @@ tasks:
20152009
- func: "run load-balancer"
20162010
- func: "run tests"
20172011

2018-
- name: "oidc-auth-test-latest"
2012+
- name: "oidc-auth-test"
20192013
commands:
20202014
- func: "run oidc auth test with test credentials"
20212015

2022-
- name: "oidc-auth-test-azure-latest"
2016+
- name: "oidc-auth-test-azure"
20232017
commands:
20242018
- command: shell.exec
2019+
type: test
20252020
params:
20262021
shell: bash
20272022
script: |-
@@ -2035,9 +2030,10 @@ tasks:
20352030
export AZUREOIDC_TEST_CMD="OIDC_ENV=azure ./.evergreen/run-mongodb-oidc-test.sh"
20362031
bash $DRIVERS_TOOLS/.evergreen/auth_oidc/azure/run-driver-test.sh
20372032
2038-
- name: "oidc-auth-test-gcp-latest"
2033+
- name: "oidc-auth-test-gcp"
20392034
commands:
20402035
- command: shell.exec
2036+
type: test
20412037
params:
20422038
shell: bash
20432039
script: |-
@@ -2202,13 +2198,6 @@ axes:
22022198
- id: platform
22032199
display_name: OS
22042200
values:
2205-
- id: macos-1014
2206-
display_name: "macOS 10.14"
2207-
run_on: macos-1014
2208-
variables:
2209-
skip_EC2_auth_test: true
2210-
skip_ECS_auth_test: true
2211-
skip_web_identity_auth_test: true
22122201
- id: macos-1100
22132202
display_name: "macOS 11.00"
22142203
run_on: macos-1100
@@ -2619,12 +2608,12 @@ buildvariants:
26192608
platform:
26202609
# MacOS introduced SSL support with MongoDB >= 3.2.
26212610
# Older server versions (2.6, 3.0) are supported without SSL.
2622-
- macos-1014
2611+
- macos-1100
26232612
auth: "*"
26242613
ssl: "*"
26252614
exclude_spec:
26262615
# No point testing with SSL without auth.
2627-
- platform: macos-1014
2616+
- platform: macos-1100
26282617
auth: "noauth"
26292618
ssl: "ssl"
26302619
display_name: "${platform} ${auth} ${ssl}"
@@ -2733,7 +2722,7 @@ buildvariants:
27332722

27342723
- matrix_name: "tests-pyopenssl-macOS"
27352724
matrix_spec:
2736-
platform: macos-1014
2725+
platform: macos-1100
27372726
auth: "auth"
27382727
ssl: "ssl"
27392728
pyopenssl: "*"
@@ -3067,7 +3056,7 @@ buildvariants:
30673056

30683057
- matrix_name: "ocsp-test-macos"
30693058
matrix_spec:
3070-
platform: macos-1014
3059+
platform: macos-1100
30713060
mongodb-version: ["4.4", "5.0", "6.0", "7.0", "8.0", "latest"]
30723061
auth: "noauth"
30733062
ssl: "ssl"
@@ -3115,7 +3104,7 @@ buildvariants:
31153104

31163105
- matrix_name: "aws-auth-test-mac"
31173106
matrix_spec:
3118-
platform: [macos-1014]
3107+
platform: [macos-1100]
31193108
display_name: "MONGODB-AWS Auth ${platform} ${python-version-mac}"
31203109
tasks:
31213110
- name: "aws-auth-test-4.4"

pymongo/change_stream.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,7 @@ def _change_stream_options(self) -> dict[str, Any]:
179179
options["startAfter"] = resume_token
180180
else:
181181
options["resumeAfter"] = resume_token
182-
183-
if self._start_at_operation_time is not None:
182+
elif self._start_at_operation_time is not None:
184183
options["startAtOperationTime"] = self._start_at_operation_time
185184

186185
if self._show_expanded_events:

0 commit comments

Comments
 (0)