Skip to content

Commit 0c7469c

Browse files
committed
cleanup
1 parent dd707bf commit 0c7469c

File tree

3 files changed

+23
-19
lines changed

3 files changed

+23
-19
lines changed

.evergreen/generated_configs/tasks.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ tasks:
8787
SUB_TEST_NAME: web-identity
8888
PYTHON_VERSION: "3.14"
8989
tags: [auth-aws, auth-aws-web-identity]
90-
- name: test-auth-aws-rapid-web-identity-session-name-python3.14-min-deps
90+
- name: test-auth-aws-rapid-web-identity-session-name-python3.9-min-deps
9191
commands:
9292
- func: run server
9393
vars:
@@ -99,7 +99,7 @@ tasks:
9999
TEST_NAME: auth_aws
100100
SUB_TEST_NAME: web-identity
101101
AWS_ROLE_SESSION_NAME: test
102-
PYTHON_VERSION: "3.14"
102+
PYTHON_VERSION: "3.9"
103103
TEST_MIN_DEPS: true
104104
tags: [auth-aws, auth-aws-web-identity]
105105
- name: test-auth-aws-latest-ecs-python3.9
@@ -2714,47 +2714,48 @@ tasks:
27142714
- python-3.9
27152715
- sharded_cluster-auth-ssl
27162716
- async
2717-
- name: test-server-version-python3.9-async-min-deps-auth-ssl-sharded-cluster-cov
2717+
- name: test-server-version-pypy3.10-async-auth-ssl-sharded-cluster
27182718
commands:
27192719
- func: run server
27202720
vars:
27212721
AUTH: auth
27222722
SSL: ssl
27232723
TOPOLOGY: sharded_cluster
2724-
COVERAGE: "1"
27252724
- func: run tests
27262725
vars:
27272726
AUTH: auth
27282727
SSL: ssl
27292728
TOPOLOGY: sharded_cluster
2730-
COVERAGE: "1"
2731-
PYTHON_VERSION: "3.9"
2729+
PYTHON_VERSION: pypy3.10
27322730
TEST_NAME: default_async
2733-
TEST_MIN_DEPS: "1"
27342731
tags:
27352732
- server-version
2736-
- python-3.9
2733+
- python-pypy3.10
27372734
- sharded_cluster-auth-ssl
27382735
- async
2739-
- name: test-server-version-pypy3.10-async-auth-ssl-sharded-cluster
2736+
- name: test-server-version-python3.9-min-deps-auth-ssl-sharded-cluster-cov
27402737
commands:
27412738
- func: run server
27422739
vars:
27432740
AUTH: auth
27442741
SSL: ssl
27452742
TOPOLOGY: sharded_cluster
2743+
COVERAGE: "1"
27462744
- func: run tests
27472745
vars:
27482746
AUTH: auth
27492747
SSL: ssl
27502748
TOPOLOGY: sharded_cluster
2751-
PYTHON_VERSION: pypy3.10
2752-
TEST_NAME: default_async
2749+
COVERAGE: "1"
2750+
PYTHON_VERSION: "3.9"
2751+
TEST_NAME: default_aync
2752+
TEST_MIN_DEPS: "1"
27532753
tags:
27542754
- server-version
2755-
- python-pypy3.10
2755+
- python-3.9
27562756
- sharded_cluster-auth-ssl
2757-
- async
2757+
- aync
2758+
- pr
27582759
- name: test-server-version-python3.10-sync-auth-ssl-sharded-cluster-cov
27592760
commands:
27602761
- func: run server
@@ -3975,7 +3976,7 @@ tasks:
39753976
- sharded_cluster-auth-ssl
39763977
- async
39773978
- pr
3978-
- name: test-standard-latest-python3.9-async-min-deps-auth-ssl-sharded-cluster
3979+
- name: test-standard-latest-python3.9-sync-min-deps-auth-ssl-sharded-cluster
39793980
commands:
39803981
- func: run server
39813982
vars:
@@ -3990,14 +3991,14 @@ tasks:
39903991
TOPOLOGY: sharded_cluster
39913992
VERSION: latest
39923993
PYTHON_VERSION: "3.9"
3993-
TEST_NAME: default_async
3994+
TEST_NAME: default_sync
39943995
TEST_MIN_DEPS: "1"
39953996
tags:
39963997
- test-standard
39973998
- server-latest
39983999
- python-3.9
39994000
- sharded_cluster-auth-ssl
4000-
- async
4001+
- sync
40014002
- name: test-standard-latest-python3.10-async-noauth-nossl-standalone
40024003
commands:
40034004
- func: run server

.evergreen/scripts/generate_config.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,8 @@ def create_server_version_tasks():
546546

547547
# Add two tasks for min dependencies.
548548
task_combos.add(("standalone", "noauth", "nossl", "sync", CPYTHONS[0], True))
549-
task_combos.add(("sharded_cluster", "auth", "ssl", "async", CPYTHONS[0], True))
549+
# TODO: When we drop Python 3.9 support we should test with async.
550+
task_combos.add(("sharded_cluster", "auth", "ssl", "aync", CPYTHONS[0], True))
550551

551552
# Assemble the tasks.
552553
seen = set()
@@ -655,7 +656,8 @@ def create_standard_tasks():
655656
task_combos.add((version, topology, python, sync, pr, False))
656657
# Add two tasks for min dependencies.
657658
task_combos.add((ALL_VERSIONS[0], "standalone", CPYTHONS[0], "sync", False, True))
658-
task_combos.add((ALL_VERSIONS[-1], "sharded_cluster", CPYTHONS[0], "async", False, True))
659+
# TODO: When we drop Python 3.9 support we should test with async.
660+
task_combos.add((ALL_VERSIONS[-1], "sharded_cluster", CPYTHONS[0], "sync", False, True))
659661

660662
for version, topology, python, sync, pr, test_min_deps in sorted(task_combos):
661663
auth, ssl = get_standard_auth_ssl(topology)
@@ -759,6 +761,7 @@ def create_aws_tasks():
759761

760762
if test_type == "web-identity":
761763
tags = [*base_tags, "auth-aws-web-identity"]
764+
python = CPYTHONS[0] # noqa: PLW2901
762765
name = get_task_name(
763766
f"{base_name}-web-identity-session-name", python=python, test_min_deps=True
764767
)

requirements/ocsp.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# store and just use certifi on macOS.
77
# https://www.pyopenssl.org/en/stable/api/ssl.html#OpenSSL.SSL.Context.set_default_verify_paths
88
certifi>=2022.5.18.1;os.name=='nt' or sys_platform=='darwin'
9-
pyopenssl>=17.2.0
9+
pyopenssl>=22.0
1010
requests>2.23,<3.0.0
1111
cryptography>=2.5
1212
service_identity>=18.1.0

0 commit comments

Comments
 (0)