From c50ef5dafde9d3fb88784321ca696f33c5cb48c5 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Thu, 13 Aug 2026 14:13:07 -0500 Subject: [PATCH 1/2] PYTHON-6006 Add MongoDB 9.0 to the Evergreen test matrix --- .evergreen/generated_configs/tasks.yml | 1167 +++++++++++++------ .evergreen/generated_configs/variants.yml | 13 + .evergreen/scripts/generate_config_utils.py | 2 +- 3 files changed, 817 insertions(+), 365 deletions(-) diff --git a/.evergreen/generated_configs/tasks.yml b/.evergreen/generated_configs/tasks.yml index f2987d890f..88f1fe0051 100644 --- a/.evergreen/generated_configs/tasks.yml +++ b/.evergreen/generated_configs/tasks.yml @@ -75,12 +75,12 @@ tasks: SUB_TEST_NAME: session-creds TOOLCHAIN_VERSION: 3.14t tags: [auth-aws, auth-aws-session-creds, free-threaded] - - name: test-auth-aws-rapid-web-identity-python3.14-cov + - name: test-auth-aws-9.0-web-identity-python3.14-cov commands: - func: run server vars: AUTH_AWS: "1" - VERSION: rapid + VERSION: "9.0" - func: assume ec2 role - func: run tests vars: @@ -89,12 +89,12 @@ tasks: TOOLCHAIN_VERSION: "3.14" COVERAGE: "1" tags: [auth-aws, auth-aws-web-identity, pr] - - name: test-auth-aws-rapid-web-identity-session-name-python3.14 + - name: test-auth-aws-9.0-web-identity-session-name-python3.14 commands: - func: run server vars: AUTH_AWS: "1" - VERSION: rapid + VERSION: "9.0" - func: assume ec2 role - func: run tests vars: @@ -103,12 +103,12 @@ tasks: AWS_ROLE_SESSION_NAME: test TOOLCHAIN_VERSION: "3.14" tags: [auth-aws, auth-aws-web-identity] - - name: test-auth-aws-latest-regular-python3.10-min-deps + - name: test-auth-aws-rapid-regular-python3.10-min-deps commands: - func: run server vars: AUTH_AWS: "1" - VERSION: latest + VERSION: rapid - func: assume ec2 role - func: run tests vars: @@ -117,6 +117,19 @@ tasks: TOOLCHAIN_VERSION: "3.10" TEST_MIN_DEPS: "1" tags: [auth-aws, auth-aws-regular] + - name: test-auth-aws-latest-assume-role-python3.11 + commands: + - func: run server + vars: + AUTH_AWS: "1" + VERSION: latest + - func: assume ec2 role + - func: run tests + vars: + TEST_NAME: auth_aws + SUB_TEST_NAME: assume-role + TOOLCHAIN_VERSION: "3.11" + tags: [auth-aws, auth-aws-assume-role] - name: test-auth-aws-ecs commands: - func: assume ec2 role @@ -490,6 +503,17 @@ tasks: VERSION: "8.0" TEST_MIN_DEPS: "1" tags: [ocsp, ocsp-ecdsa, "8.0"] + - name: test-ocsp-ecdsa-valid-cert-server-does-not-staple-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-disableStapling.json + OCSP_SERVER_TYPE: valid + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: [ocsp, ocsp-ecdsa, "9.0"] - name: test-ocsp-ecdsa-valid-cert-server-does-not-staple-rapid-python3.10-min-deps commands: - func: run tests @@ -566,6 +590,17 @@ tasks: VERSION: "8.0" TEST_MIN_DEPS: "1" tags: [ocsp, ocsp-ecdsa, "8.0"] + - name: test-ocsp-ecdsa-invalid-cert-server-does-not-staple-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-disableStapling.json + OCSP_SERVER_TYPE: revoked + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: [ocsp, ocsp-ecdsa, "9.0"] - name: test-ocsp-ecdsa-invalid-cert-server-does-not-staple-rapid-python3.10-min-deps commands: - func: run tests @@ -642,6 +677,17 @@ tasks: VERSION: "8.0" TEST_MIN_DEPS: "1" tags: [ocsp, ocsp-ecdsa, "8.0"] + - name: test-ocsp-ecdsa-delegate-valid-cert-server-does-not-staple-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-disableStapling.json + OCSP_SERVER_TYPE: valid-delegate + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: [ocsp, ocsp-ecdsa, "9.0"] - name: test-ocsp-ecdsa-delegate-valid-cert-server-does-not-staple-rapid-python3.10-min-deps commands: - func: run tests @@ -718,6 +764,17 @@ tasks: VERSION: "8.0" TEST_MIN_DEPS: "1" tags: [ocsp, ocsp-ecdsa, "8.0"] + - name: test-ocsp-ecdsa-delegate-invalid-cert-server-does-not-staple-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-disableStapling.json + OCSP_SERVER_TYPE: revoked-delegate + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: [ocsp, ocsp-ecdsa, "9.0"] - name: test-ocsp-ecdsa-delegate-invalid-cert-server-does-not-staple-rapid-python3.10-min-deps commands: - func: run tests @@ -794,6 +851,17 @@ tasks: VERSION: "8.0" TEST_MIN_DEPS: "1" tags: [ocsp, ocsp-ecdsa, "8.0"] + - name: test-ocsp-ecdsa-soft-fail-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-disableStapling.json + OCSP_SERVER_TYPE: no-responder + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: [ocsp, ocsp-ecdsa, "9.0"] - name: test-ocsp-ecdsa-soft-fail-rapid-python3.10-min-deps commands: - func: run tests @@ -890,6 +958,21 @@ tasks: - ocsp-ecdsa - "8.0" - ocsp-staple + - name: test-ocsp-ecdsa-valid-cert-server-staples-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-mustStaple.json + OCSP_SERVER_TYPE: valid + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: + - ocsp + - ocsp-ecdsa + - "9.0" + - ocsp-staple - name: test-ocsp-ecdsa-valid-cert-server-staples-rapid-python3.10-min-deps commands: - func: run tests @@ -996,6 +1079,21 @@ tasks: - ocsp-ecdsa - "8.0" - ocsp-staple + - name: test-ocsp-ecdsa-invalid-cert-server-staples-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-mustStaple.json + OCSP_SERVER_TYPE: revoked + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: + - ocsp + - ocsp-ecdsa + - "9.0" + - ocsp-staple - name: test-ocsp-ecdsa-invalid-cert-server-staples-rapid-python3.10-min-deps commands: - func: run tests @@ -1100,6 +1198,21 @@ tasks: - ocsp-ecdsa - "8.0" - ocsp-staple + - name: test-ocsp-ecdsa-delegate-valid-cert-server-staples-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-mustStaple.json + OCSP_SERVER_TYPE: valid-delegate + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: + - ocsp + - ocsp-ecdsa + - "9.0" + - ocsp-staple - name: test-ocsp-ecdsa-delegate-valid-cert-server-staples-rapid-python3.10-min-deps commands: - func: run tests @@ -1204,6 +1317,21 @@ tasks: - ocsp-ecdsa - "8.0" - ocsp-staple + - name: test-ocsp-ecdsa-delegate-invalid-cert-server-staples-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-mustStaple.json + OCSP_SERVER_TYPE: revoked-delegate + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: + - ocsp + - ocsp-ecdsa + - "9.0" + - ocsp-staple - name: test-ocsp-ecdsa-delegate-invalid-cert-server-staples-rapid-python3.10-min-deps commands: - func: run tests @@ -1288,6 +1416,17 @@ tasks: VERSION: "8.0" TEST_MIN_DEPS: "1" tags: [ocsp, ocsp-ecdsa, "8.0"] + - name: test-ocsp-ecdsa-malicious-invalid-cert-muststaple-server-does-not-staple-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-mustStaple-disableStapling.json + OCSP_SERVER_TYPE: revoked + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: [ocsp, ocsp-ecdsa, "9.0"] - name: test-ocsp-ecdsa-malicious-invalid-cert-muststaple-server-does-not-staple-rapid-python3.10-min-deps commands: - func: run tests @@ -1364,6 +1503,17 @@ tasks: VERSION: "8.0" TEST_MIN_DEPS: "1" tags: [ocsp, ocsp-ecdsa, "8.0"] + - name: test-ocsp-ecdsa-delegate-malicious-invalid-cert-muststaple-server-does-not-staple-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-mustStaple-disableStapling.json + OCSP_SERVER_TYPE: revoked-delegate + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: [ocsp, ocsp-ecdsa, "9.0"] - name: test-ocsp-ecdsa-delegate-malicious-invalid-cert-muststaple-server-does-not-staple-rapid-python3.10-min-deps commands: - func: run tests @@ -1440,6 +1590,17 @@ tasks: VERSION: "8.0" TEST_MIN_DEPS: "1" tags: [ocsp, ocsp-ecdsa, "8.0"] + - name: test-ocsp-ecdsa-malicious-no-responder-muststaple-server-does-not-staple-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: ecdsa-basic-tls-ocsp-mustStaple-disableStapling.json + OCSP_SERVER_TYPE: no-responder + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: [ocsp, ocsp-ecdsa, "9.0"] - name: test-ocsp-ecdsa-malicious-no-responder-muststaple-server-does-not-staple-rapid-python3.10-min-deps commands: - func: run tests @@ -1516,6 +1677,17 @@ tasks: VERSION: "8.0" TEST_MIN_DEPS: "1" tags: [ocsp, ocsp-rsa, "8.0"] + - name: test-ocsp-rsa-valid-cert-server-does-not-staple-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: rsa-basic-tls-ocsp-disableStapling.json + OCSP_SERVER_TYPE: valid + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: [ocsp, ocsp-rsa, "9.0"] - name: test-ocsp-rsa-valid-cert-server-does-not-staple-rapid-python3.10-min-deps commands: - func: run tests @@ -1592,6 +1764,17 @@ tasks: VERSION: "8.0" TEST_MIN_DEPS: "1" tags: [ocsp, ocsp-rsa, "8.0"] + - name: test-ocsp-rsa-invalid-cert-server-does-not-staple-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: rsa-basic-tls-ocsp-disableStapling.json + OCSP_SERVER_TYPE: revoked + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: [ocsp, ocsp-rsa, "9.0"] - name: test-ocsp-rsa-invalid-cert-server-does-not-staple-rapid-python3.10-min-deps commands: - func: run tests @@ -1668,6 +1851,17 @@ tasks: VERSION: "8.0" TEST_MIN_DEPS: "1" tags: [ocsp, ocsp-rsa, "8.0"] + - name: test-ocsp-rsa-delegate-valid-cert-server-does-not-staple-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: rsa-basic-tls-ocsp-disableStapling.json + OCSP_SERVER_TYPE: valid-delegate + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: [ocsp, ocsp-rsa, "9.0"] - name: test-ocsp-rsa-delegate-valid-cert-server-does-not-staple-rapid-python3.10-min-deps commands: - func: run tests @@ -1744,6 +1938,17 @@ tasks: VERSION: "8.0" TEST_MIN_DEPS: "1" tags: [ocsp, ocsp-rsa, "8.0"] + - name: test-ocsp-rsa-delegate-invalid-cert-server-does-not-staple-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: rsa-basic-tls-ocsp-disableStapling.json + OCSP_SERVER_TYPE: revoked-delegate + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: [ocsp, ocsp-rsa, "9.0"] - name: test-ocsp-rsa-delegate-invalid-cert-server-does-not-staple-rapid-python3.10-min-deps commands: - func: run tests @@ -1820,6 +2025,17 @@ tasks: VERSION: "8.0" TEST_MIN_DEPS: "1" tags: [ocsp, ocsp-rsa, "8.0"] + - name: test-ocsp-rsa-soft-fail-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: rsa-basic-tls-ocsp-disableStapling.json + OCSP_SERVER_TYPE: no-responder + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: [ocsp, ocsp-rsa, "9.0"] - name: test-ocsp-rsa-soft-fail-rapid-python3.10-min-deps commands: - func: run tests @@ -1916,6 +2132,21 @@ tasks: - ocsp-rsa - "8.0" - ocsp-staple + - name: test-ocsp-rsa-valid-cert-server-staples-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: rsa-basic-tls-ocsp-mustStaple.json + OCSP_SERVER_TYPE: valid + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: + - ocsp + - ocsp-rsa + - "9.0" + - ocsp-staple - name: test-ocsp-rsa-valid-cert-server-staples-rapid-python3.10-min-deps commands: - func: run tests @@ -2022,6 +2253,21 @@ tasks: - ocsp-rsa - "8.0" - ocsp-staple + - name: test-ocsp-rsa-invalid-cert-server-staples-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: rsa-basic-tls-ocsp-mustStaple.json + OCSP_SERVER_TYPE: revoked + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: + - ocsp + - ocsp-rsa + - "9.0" + - ocsp-staple - name: test-ocsp-rsa-invalid-cert-server-staples-rapid-python3.10-min-deps commands: - func: run tests @@ -2126,6 +2372,21 @@ tasks: - ocsp-rsa - "8.0" - ocsp-staple + - name: test-ocsp-rsa-delegate-valid-cert-server-staples-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: rsa-basic-tls-ocsp-mustStaple.json + OCSP_SERVER_TYPE: valid-delegate + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: + - ocsp + - ocsp-rsa + - "9.0" + - ocsp-staple - name: test-ocsp-rsa-delegate-valid-cert-server-staples-rapid-python3.10-min-deps commands: - func: run tests @@ -2230,6 +2491,21 @@ tasks: - ocsp-rsa - "8.0" - ocsp-staple + - name: test-ocsp-rsa-delegate-invalid-cert-server-staples-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: rsa-basic-tls-ocsp-mustStaple.json + OCSP_SERVER_TYPE: revoked-delegate + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: + - ocsp + - ocsp-rsa + - "9.0" + - ocsp-staple - name: test-ocsp-rsa-delegate-invalid-cert-server-staples-rapid-python3.10-min-deps commands: - func: run tests @@ -2314,6 +2590,17 @@ tasks: VERSION: "8.0" TEST_MIN_DEPS: "1" tags: [ocsp, ocsp-rsa, "8.0"] + - name: test-ocsp-rsa-malicious-invalid-cert-muststaple-server-does-not-staple-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: rsa-basic-tls-ocsp-mustStaple-disableStapling.json + OCSP_SERVER_TYPE: revoked + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: [ocsp, ocsp-rsa, "9.0"] - name: test-ocsp-rsa-malicious-invalid-cert-muststaple-server-does-not-staple-rapid-python3.10-min-deps commands: - func: run tests @@ -2390,6 +2677,17 @@ tasks: VERSION: "8.0" TEST_MIN_DEPS: "1" tags: [ocsp, ocsp-rsa, "8.0"] + - name: test-ocsp-rsa-delegate-malicious-invalid-cert-muststaple-server-does-not-staple-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: rsa-basic-tls-ocsp-mustStaple-disableStapling.json + OCSP_SERVER_TYPE: revoked-delegate + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: [ocsp, ocsp-rsa, "9.0"] - name: test-ocsp-rsa-delegate-malicious-invalid-cert-muststaple-server-does-not-staple-rapid-python3.10-min-deps commands: - func: run tests @@ -2466,6 +2764,17 @@ tasks: VERSION: "8.0" TEST_MIN_DEPS: "1" tags: [ocsp, ocsp-rsa, "8.0"] + - name: test-ocsp-rsa-malicious-no-responder-muststaple-server-does-not-staple-v9.0-python3.10-min-deps + commands: + - func: run tests + vars: + ORCHESTRATION_FILE: rsa-basic-tls-ocsp-mustStaple-disableStapling.json + OCSP_SERVER_TYPE: no-responder + TEST_NAME: ocsp + TOOLCHAIN_VERSION: "3.10" + VERSION: "9.0" + TEST_MIN_DEPS: "1" + tags: [ocsp, ocsp-rsa, "9.0"] - name: test-ocsp-rsa-malicious-no-responder-muststaple-server-does-not-staple-rapid-python3.10-min-deps commands: - func: run tests @@ -3321,7 +3630,7 @@ tasks: - free-threaded # Standard tests - - name: test-standard-v4.2-python3.11-sync-noauth-ssl-replica-set + - name: test-standard-v4.2-python3.11-async-noauth-ssl-replica-set commands: - func: run server vars: @@ -3336,14 +3645,14 @@ tasks: TOPOLOGY: replica_set VERSION: "4.2" TOOLCHAIN_VERSION: "3.11" - TEST_NAME: default_sync + TEST_NAME: default_async tags: - test-standard - server-4.2 - python-3.11 - replica_set-noauth-ssl - - sync - - name: test-standard-v4.2-python3.14-sync-noauth-ssl-replica-set + - async + - name: test-standard-v4.2-python3.14t-async-noauth-ssl-replica-set commands: - func: run server vars: @@ -3357,60 +3666,40 @@ tasks: SSL: ssl TOPOLOGY: replica_set VERSION: "4.2" - TOOLCHAIN_VERSION: "3.14" - TEST_NAME: default_sync + TOOLCHAIN_VERSION: 3.14t + TEST_NAME: default_async tags: - test-standard - server-4.2 - - python-3.14 + - python-3.14t - replica_set-noauth-ssl - - sync - - name: test-standard-v4.2-python3.12-sync-auth-ssl-sharded-cluster + - async + - free-threaded + - name: test-standard-v4.2-python3.10-sync-noauth-nossl-standalone-min-deps commands: - func: run server vars: - AUTH: auth - SSL: ssl - TOPOLOGY: sharded_cluster - VERSION: "4.2" - - func: run tests - vars: - AUTH: auth - SSL: ssl - TOPOLOGY: sharded_cluster - VERSION: "4.2" - TOOLCHAIN_VERSION: "3.12" - TEST_NAME: default_sync - tags: - - test-standard - - server-4.2 - - python-3.12 - - sharded_cluster-auth-ssl - - sync - - name: test-standard-v4.2-pypy3.11-sync-auth-ssl-sharded-cluster - commands: - - func: run server - vars: - AUTH: auth - SSL: ssl - TOPOLOGY: sharded_cluster + AUTH: noauth + SSL: nossl + TOPOLOGY: standalone VERSION: "4.2" + TEST_MIN_DEPS: "1" - func: run tests vars: - AUTH: auth - SSL: ssl - TOPOLOGY: sharded_cluster + AUTH: noauth + SSL: nossl + TOPOLOGY: standalone VERSION: "4.2" - TOOLCHAIN_VERSION: pypy3.11 + TEST_MIN_DEPS: "1" + TOOLCHAIN_VERSION: "3.10" TEST_NAME: default_sync tags: - test-standard - server-4.2 - - python-pypy3.11 - - sharded_cluster-auth-ssl + - python-3.10 + - standalone-noauth-nossl - sync - - pypy - - name: test-standard-v4.2-python3.10-sync-noauth-nossl-standalone-min-deps + - name: test-standard-v4.2-python3.13-sync-noauth-nossl-standalone commands: - func: run server vars: @@ -3418,23 +3707,21 @@ tasks: SSL: nossl TOPOLOGY: standalone VERSION: "4.2" - TEST_MIN_DEPS: "1" - func: run tests vars: AUTH: noauth SSL: nossl TOPOLOGY: standalone VERSION: "4.2" - TEST_MIN_DEPS: "1" - TOOLCHAIN_VERSION: "3.10" + TOOLCHAIN_VERSION: "3.13" TEST_NAME: default_sync tags: - test-standard - server-4.2 - - python-3.10 + - python-3.13 - standalone-noauth-nossl - sync - - name: test-standard-v4.2-python3.14t-sync-noauth-nossl-standalone + - name: test-standard-v4.2-pypy3.11-sync-noauth-nossl-standalone commands: - func: run server vars: @@ -3448,60 +3735,38 @@ tasks: SSL: nossl TOPOLOGY: standalone VERSION: "4.2" - TOOLCHAIN_VERSION: 3.14t + TOOLCHAIN_VERSION: pypy3.11 TEST_NAME: default_sync tags: - test-standard - server-4.2 - - python-3.14t + - python-pypy3.11 - standalone-noauth-nossl - sync - - free-threaded - - name: test-standard-v4.4-python3.11-async-noauth-ssl-replica-set + - pypy + - name: test-standard-v4.4-python3.11-sync-auth-ssl-sharded-cluster commands: - func: run server vars: - AUTH: noauth + AUTH: auth SSL: ssl - TOPOLOGY: replica_set + TOPOLOGY: sharded_cluster VERSION: "4.4" - func: run tests vars: - AUTH: noauth + AUTH: auth SSL: ssl - TOPOLOGY: replica_set + TOPOLOGY: sharded_cluster VERSION: "4.4" TOOLCHAIN_VERSION: "3.11" - TEST_NAME: default_async + TEST_NAME: default_sync tags: - test-standard - server-4.4 - python-3.11 - - replica_set-noauth-ssl - - async - - name: test-standard-v4.4-python3.14-async-noauth-ssl-replica-set - commands: - - func: run server - vars: - AUTH: noauth - SSL: ssl - TOPOLOGY: replica_set - VERSION: "4.4" - - func: run tests - vars: - AUTH: noauth - SSL: ssl - TOPOLOGY: replica_set - VERSION: "4.4" - TOOLCHAIN_VERSION: "3.14" - TEST_NAME: default_async - tags: - - test-standard - - server-4.4 - - python-3.14 - - replica_set-noauth-ssl - - async - - name: test-standard-v4.4-python3.12-async-auth-ssl-sharded-cluster + - sharded_cluster-auth-ssl + - sync + - name: test-standard-v4.4-python3.14t-sync-auth-ssl-sharded-cluster commands: - func: run server vars: @@ -3515,38 +3780,40 @@ tasks: SSL: ssl TOPOLOGY: sharded_cluster VERSION: "4.4" - TOOLCHAIN_VERSION: "3.12" - TEST_NAME: default_async + TOOLCHAIN_VERSION: 3.14t + TEST_NAME: default_sync tags: - test-standard - server-4.4 - - python-3.12 + - python-3.14t - sharded_cluster-auth-ssl - - async - - name: test-standard-v4.4-pypy3.11-async-auth-ssl-sharded-cluster + - sync + - free-threaded + - name: test-standard-v4.4-python3.10-async-noauth-nossl-standalone-min-deps commands: - func: run server vars: - AUTH: auth - SSL: ssl - TOPOLOGY: sharded_cluster + AUTH: noauth + SSL: nossl + TOPOLOGY: standalone VERSION: "4.4" + TEST_MIN_DEPS: "1" - func: run tests vars: - AUTH: auth - SSL: ssl - TOPOLOGY: sharded_cluster + AUTH: noauth + SSL: nossl + TOPOLOGY: standalone VERSION: "4.4" - TOOLCHAIN_VERSION: pypy3.11 + TEST_MIN_DEPS: "1" + TOOLCHAIN_VERSION: "3.10" TEST_NAME: default_async tags: - test-standard - server-4.4 - - python-pypy3.11 - - sharded_cluster-auth-ssl + - python-3.10 + - standalone-noauth-nossl - async - - pypy - - name: test-standard-v4.4-python3.10-async-noauth-nossl-standalone-min-deps + - name: test-standard-v4.4-python3.13-async-noauth-nossl-standalone commands: - func: run server vars: @@ -3554,23 +3821,21 @@ tasks: SSL: nossl TOPOLOGY: standalone VERSION: "4.4" - TEST_MIN_DEPS: "1" - func: run tests vars: AUTH: noauth SSL: nossl TOPOLOGY: standalone VERSION: "4.4" - TEST_MIN_DEPS: "1" - TOOLCHAIN_VERSION: "3.10" + TOOLCHAIN_VERSION: "3.13" TEST_NAME: default_async tags: - test-standard - server-4.4 - - python-3.10 + - python-3.13 - standalone-noauth-nossl - async - - name: test-standard-v4.4-python3.14t-async-noauth-nossl-standalone + - name: test-standard-v4.4-pypy3.11-async-noauth-nossl-standalone commands: - func: run server vars: @@ -3584,15 +3849,15 @@ tasks: SSL: nossl TOPOLOGY: standalone VERSION: "4.4" - TOOLCHAIN_VERSION: 3.14t + TOOLCHAIN_VERSION: pypy3.11 TEST_NAME: default_async tags: - test-standard - server-4.4 - - python-3.14t + - python-pypy3.11 - standalone-noauth-nossl - async - - free-threaded + - pypy - name: test-standard-v5.0-python3.10-sync-noauth-ssl-replica-set-min-deps commands: - func: run server @@ -3617,7 +3882,7 @@ tasks: - python-3.10 - replica_set-noauth-ssl - sync - - name: test-standard-v5.0-python3.14t-sync-noauth-ssl-replica-set + - name: test-standard-v5.0-python3.13-sync-noauth-ssl-replica-set commands: - func: run server vars: @@ -3631,38 +3896,38 @@ tasks: SSL: ssl TOPOLOGY: replica_set VERSION: "5.0" - TOOLCHAIN_VERSION: 3.14t + TOOLCHAIN_VERSION: "3.13" TEST_NAME: default_sync tags: - test-standard - server-5.0 - - python-3.14t + - python-3.13 - replica_set-noauth-ssl - sync - - free-threaded - - name: test-standard-v5.0-python3.11-sync-auth-ssl-sharded-cluster + - name: test-standard-v5.0-pypy3.11-sync-noauth-ssl-replica-set commands: - func: run server vars: - AUTH: auth + AUTH: noauth SSL: ssl - TOPOLOGY: sharded_cluster + TOPOLOGY: replica_set VERSION: "5.0" - func: run tests vars: - AUTH: auth + AUTH: noauth SSL: ssl - TOPOLOGY: sharded_cluster + TOPOLOGY: replica_set VERSION: "5.0" - TOOLCHAIN_VERSION: "3.11" + TOOLCHAIN_VERSION: pypy3.11 TEST_NAME: default_sync tags: - test-standard - server-5.0 - - python-3.11 - - sharded_cluster-auth-ssl + - python-pypy3.11 + - replica_set-noauth-ssl - sync - - name: test-standard-v5.0-python3.14-sync-auth-ssl-sharded-cluster + - pypy + - name: test-standard-v5.0-python3.11-async-auth-ssl-sharded-cluster commands: - func: run server vars: @@ -3676,36 +3941,37 @@ tasks: SSL: ssl TOPOLOGY: sharded_cluster VERSION: "5.0" - TOOLCHAIN_VERSION: "3.14" - TEST_NAME: default_sync + TOOLCHAIN_VERSION: "3.11" + TEST_NAME: default_async tags: - test-standard - server-5.0 - - python-3.14 + - python-3.11 - sharded_cluster-auth-ssl - - sync - - name: test-standard-v5.0-python3.13-sync-noauth-nossl-standalone + - async + - name: test-standard-v5.0-python3.14t-async-auth-ssl-sharded-cluster commands: - func: run server vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: standalone + AUTH: auth + SSL: ssl + TOPOLOGY: sharded_cluster VERSION: "5.0" - func: run tests vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: standalone + AUTH: auth + SSL: ssl + TOPOLOGY: sharded_cluster VERSION: "5.0" - TOOLCHAIN_VERSION: "3.13" - TEST_NAME: default_sync + TOOLCHAIN_VERSION: 3.14t + TEST_NAME: default_async tags: - test-standard - server-5.0 - - python-3.13 - - standalone-noauth-nossl - - sync + - python-3.14t + - sharded_cluster-auth-ssl + - async + - free-threaded - name: test-standard-v6.0-python3.10-async-noauth-ssl-replica-set-min-deps commands: - func: run server @@ -3730,7 +3996,7 @@ tasks: - python-3.10 - replica_set-noauth-ssl - async - - name: test-standard-v6.0-python3.14t-async-noauth-ssl-replica-set + - name: test-standard-v6.0-python3.13-async-noauth-ssl-replica-set commands: - func: run server vars: @@ -3744,60 +4010,60 @@ tasks: SSL: ssl TOPOLOGY: replica_set VERSION: "6.0" - TOOLCHAIN_VERSION: 3.14t + TOOLCHAIN_VERSION: "3.13" TEST_NAME: default_async tags: - test-standard - server-6.0 - - python-3.14t + - python-3.13 - replica_set-noauth-ssl - async - - free-threaded - - name: test-standard-v6.0-python3.11-async-auth-ssl-sharded-cluster + - name: test-standard-v6.0-pypy3.11-async-noauth-ssl-replica-set commands: - func: run server vars: - AUTH: auth + AUTH: noauth SSL: ssl - TOPOLOGY: sharded_cluster + TOPOLOGY: replica_set VERSION: "6.0" - func: run tests vars: - AUTH: auth + AUTH: noauth SSL: ssl - TOPOLOGY: sharded_cluster + TOPOLOGY: replica_set VERSION: "6.0" - TOOLCHAIN_VERSION: "3.11" + TOOLCHAIN_VERSION: pypy3.11 TEST_NAME: default_async tags: - test-standard - server-6.0 - - python-3.11 - - sharded_cluster-auth-ssl + - python-pypy3.11 + - replica_set-noauth-ssl - async - - name: test-standard-v6.0-python3.14-async-auth-ssl-sharded-cluster + - pypy + - name: test-standard-v6.0-python3.12-sync-noauth-nossl-standalone commands: - func: run server vars: - AUTH: auth - SSL: ssl - TOPOLOGY: sharded_cluster + AUTH: noauth + SSL: nossl + TOPOLOGY: standalone VERSION: "6.0" - func: run tests vars: - AUTH: auth - SSL: ssl - TOPOLOGY: sharded_cluster + AUTH: noauth + SSL: nossl + TOPOLOGY: standalone VERSION: "6.0" - TOOLCHAIN_VERSION: "3.14" - TEST_NAME: default_async + TOOLCHAIN_VERSION: "3.12" + TEST_NAME: default_sync tags: - test-standard - server-6.0 - - python-3.14 - - sharded_cluster-auth-ssl - - async - - name: test-standard-v6.0-python3.13-async-noauth-nossl-standalone + - python-3.12 + - standalone-noauth-nossl + - sync + - name: test-standard-v6.0-python3.14-sync-noauth-nossl-standalone commands: - func: run server vars: @@ -3811,37 +4077,39 @@ tasks: SSL: nossl TOPOLOGY: standalone VERSION: "6.0" - TOOLCHAIN_VERSION: "3.13" - TEST_NAME: default_async + TOOLCHAIN_VERSION: "3.14" + TEST_NAME: default_sync tags: - test-standard - server-6.0 - - python-3.13 + - python-3.14 - standalone-noauth-nossl - - async - - name: test-standard-v7.0-python3.13-sync-noauth-ssl-replica-set + - sync + - name: test-standard-v7.0-python3.10-sync-auth-ssl-sharded-cluster-min-deps commands: - func: run server vars: - AUTH: noauth + AUTH: auth SSL: ssl - TOPOLOGY: replica_set + TOPOLOGY: sharded_cluster VERSION: "7.0" + TEST_MIN_DEPS: "1" - func: run tests vars: - AUTH: noauth + AUTH: auth SSL: ssl - TOPOLOGY: replica_set + TOPOLOGY: sharded_cluster VERSION: "7.0" - TOOLCHAIN_VERSION: "3.13" + TEST_MIN_DEPS: "1" + TOOLCHAIN_VERSION: "3.10" TEST_NAME: default_sync tags: - test-standard - server-7.0 - - python-3.13 - - replica_set-noauth-ssl + - python-3.10 + - sharded_cluster-auth-ssl - sync - - name: test-standard-v7.0-python3.10-sync-auth-ssl-sharded-cluster-min-deps + - name: test-standard-v7.0-python3.13-sync-auth-ssl-sharded-cluster commands: - func: run server vars: @@ -3849,23 +4117,21 @@ tasks: SSL: ssl TOPOLOGY: sharded_cluster VERSION: "7.0" - TEST_MIN_DEPS: "1" - func: run tests vars: AUTH: auth SSL: ssl TOPOLOGY: sharded_cluster VERSION: "7.0" - TEST_MIN_DEPS: "1" - TOOLCHAIN_VERSION: "3.10" + TOOLCHAIN_VERSION: "3.13" TEST_NAME: default_sync tags: - test-standard - server-7.0 - - python-3.10 + - python-3.13 - sharded_cluster-auth-ssl - sync - - name: test-standard-v7.0-python3.14t-sync-auth-ssl-sharded-cluster + - name: test-standard-v7.0-pypy3.11-sync-auth-ssl-sharded-cluster commands: - func: run server vars: @@ -3879,16 +4145,16 @@ tasks: SSL: ssl TOPOLOGY: sharded_cluster VERSION: "7.0" - TOOLCHAIN_VERSION: 3.14t + TOOLCHAIN_VERSION: pypy3.11 TEST_NAME: default_sync tags: - test-standard - server-7.0 - - python-3.14t + - python-pypy3.11 - sharded_cluster-auth-ssl - sync - - free-threaded - - name: test-standard-v7.0-python3.12-sync-noauth-nossl-standalone + - pypy + - name: test-standard-v7.0-python3.12-async-noauth-nossl-standalone commands: - func: run server vars: @@ -3903,14 +4169,14 @@ tasks: TOPOLOGY: standalone VERSION: "7.0" TOOLCHAIN_VERSION: "3.12" - TEST_NAME: default_sync + TEST_NAME: default_async tags: - test-standard - server-7.0 - python-3.12 - standalone-noauth-nossl - - sync - - name: test-standard-v7.0-pypy3.11-sync-noauth-nossl-standalone + - async + - name: test-standard-v7.0-python3.14-async-noauth-nossl-standalone commands: - func: run server vars: @@ -3924,16 +4190,37 @@ tasks: SSL: nossl TOPOLOGY: standalone VERSION: "7.0" - TOOLCHAIN_VERSION: pypy3.11 - TEST_NAME: default_sync + TOOLCHAIN_VERSION: "3.14" + TEST_NAME: default_async tags: - test-standard - server-7.0 - - python-pypy3.11 + - python-3.14 - standalone-noauth-nossl + - async + - name: test-standard-v8.0-python3.12-sync-noauth-ssl-replica-set + commands: + - func: run server + vars: + AUTH: noauth + SSL: ssl + TOPOLOGY: replica_set + VERSION: "8.0" + - func: run tests + vars: + AUTH: noauth + SSL: ssl + TOPOLOGY: replica_set + VERSION: "8.0" + TOOLCHAIN_VERSION: "3.12" + TEST_NAME: default_sync + tags: + - test-standard + - server-8.0 + - python-3.12 + - replica_set-noauth-ssl - sync - - pypy - - name: test-standard-v8.0-python3.13-async-noauth-ssl-replica-set + - name: test-standard-v8.0-python3.14-sync-noauth-ssl-replica-set commands: - func: run server vars: @@ -3947,14 +4234,14 @@ tasks: SSL: ssl TOPOLOGY: replica_set VERSION: "8.0" - TOOLCHAIN_VERSION: "3.13" - TEST_NAME: default_async + TOOLCHAIN_VERSION: "3.14" + TEST_NAME: default_sync tags: - test-standard - server-8.0 - - python-3.13 + - python-3.14 - replica_set-noauth-ssl - - async + - sync - name: test-standard-v8.0-python3.10-async-auth-ssl-sharded-cluster-min-deps commands: - func: run server @@ -3979,7 +4266,7 @@ tasks: - python-3.10 - sharded_cluster-auth-ssl - async - - name: test-standard-v8.0-python3.14t-async-auth-ssl-sharded-cluster + - name: test-standard-v8.0-python3.13-async-auth-ssl-sharded-cluster commands: - func: run server vars: @@ -3993,61 +4280,127 @@ tasks: SSL: ssl TOPOLOGY: sharded_cluster VERSION: "8.0" - TOOLCHAIN_VERSION: 3.14t + TOOLCHAIN_VERSION: "3.13" TEST_NAME: default_async tags: - test-standard - server-8.0 - - python-3.14t + - python-3.13 - sharded_cluster-auth-ssl - async - - free-threaded - - name: test-standard-v8.0-python3.12-async-noauth-nossl-standalone + - name: test-standard-v8.0-pypy3.11-async-auth-ssl-sharded-cluster + commands: + - func: run server + vars: + AUTH: auth + SSL: ssl + TOPOLOGY: sharded_cluster + VERSION: "8.0" + - func: run tests + vars: + AUTH: auth + SSL: ssl + TOPOLOGY: sharded_cluster + VERSION: "8.0" + TOOLCHAIN_VERSION: pypy3.11 + TEST_NAME: default_async + tags: + - test-standard + - server-8.0 + - python-pypy3.11 + - sharded_cluster-auth-ssl + - async + - pypy + - name: test-standard-v9.0-python3.12-async-noauth-ssl-replica-set + commands: + - func: run server + vars: + AUTH: noauth + SSL: ssl + TOPOLOGY: replica_set + VERSION: "9.0" + - func: run tests + vars: + AUTH: noauth + SSL: ssl + TOPOLOGY: replica_set + VERSION: "9.0" + TOOLCHAIN_VERSION: "3.12" + TEST_NAME: default_async + tags: + - test-standard + - server-9.0 + - python-3.12 + - replica_set-noauth-ssl + - async + - name: test-standard-v9.0-python3.14-async-noauth-ssl-replica-set + commands: + - func: run server + vars: + AUTH: noauth + SSL: ssl + TOPOLOGY: replica_set + VERSION: "9.0" + - func: run tests + vars: + AUTH: noauth + SSL: ssl + TOPOLOGY: replica_set + VERSION: "9.0" + TOOLCHAIN_VERSION: "3.14" + TEST_NAME: default_async + tags: + - test-standard + - server-9.0 + - python-3.14 + - replica_set-noauth-ssl + - async + - name: test-standard-v9.0-python3.11-sync-noauth-nossl-standalone commands: - func: run server vars: AUTH: noauth SSL: nossl TOPOLOGY: standalone - VERSION: "8.0" + VERSION: "9.0" - func: run tests vars: AUTH: noauth SSL: nossl TOPOLOGY: standalone - VERSION: "8.0" - TOOLCHAIN_VERSION: "3.12" - TEST_NAME: default_async + VERSION: "9.0" + TOOLCHAIN_VERSION: "3.11" + TEST_NAME: default_sync tags: - test-standard - - server-8.0 - - python-3.12 + - server-9.0 + - python-3.11 - standalone-noauth-nossl - - async - - name: test-standard-v8.0-pypy3.11-async-noauth-nossl-standalone + - sync + - name: test-standard-v9.0-python3.14t-sync-noauth-nossl-standalone commands: - func: run server vars: AUTH: noauth SSL: nossl TOPOLOGY: standalone - VERSION: "8.0" + VERSION: "9.0" - func: run tests vars: AUTH: noauth SSL: nossl TOPOLOGY: standalone - VERSION: "8.0" - TOOLCHAIN_VERSION: pypy3.11 - TEST_NAME: default_async + VERSION: "9.0" + TOOLCHAIN_VERSION: 3.14t + TEST_NAME: default_sync tags: - test-standard - - server-8.0 - - python-pypy3.11 + - server-9.0 + - python-3.14t - standalone-noauth-nossl - - async - - pypy - - name: test-standard-latest-python3.12-async-noauth-ssl-replica-set-cov + - sync + - free-threaded + - name: test-standard-latest-python3.11-sync-noauth-ssl-replica-set-cov commands: - func: run server vars: @@ -4063,16 +4416,16 @@ tasks: TOPOLOGY: replica_set VERSION: latest COVERAGE: "1" - TOOLCHAIN_VERSION: "3.12" - TEST_NAME: default_async + TOOLCHAIN_VERSION: "3.11" + TEST_NAME: default_sync tags: - test-standard - server-latest - - python-3.12 + - python-3.11 - replica_set-noauth-ssl - - async + - sync - pr - - name: test-standard-latest-pypy3.11-async-noauth-ssl-replica-set + - name: test-standard-latest-python3.14t-sync-noauth-ssl-replica-set-cov commands: - func: run server vars: @@ -4080,22 +4433,25 @@ tasks: SSL: ssl TOPOLOGY: replica_set VERSION: latest + COVERAGE: "1" - func: run tests vars: AUTH: noauth SSL: ssl TOPOLOGY: replica_set VERSION: latest - TOOLCHAIN_VERSION: pypy3.11 - TEST_NAME: default_async + COVERAGE: "1" + TOOLCHAIN_VERSION: 3.14t + TEST_NAME: default_sync tags: - test-standard - server-latest - - python-pypy3.11 + - python-3.14t - replica_set-noauth-ssl - - async - - pypy - - name: test-standard-latest-python3.13-async-auth-ssl-sharded-cluster-cov + - sync + - free-threaded + - pr + - name: test-standard-latest-python3.12-async-auth-ssl-sharded-cluster-cov commands: - func: run server vars: @@ -4111,54 +4467,29 @@ tasks: TOPOLOGY: sharded_cluster VERSION: latest COVERAGE: "1" - TOOLCHAIN_VERSION: "3.13" + TOOLCHAIN_VERSION: "3.12" TEST_NAME: default_async tags: - test-standard - server-latest - - python-3.13 + - python-3.12 - sharded_cluster-auth-ssl - async - pr - - name: test-standard-latest-python3.11-async-noauth-nossl-standalone-cov + - name: test-standard-latest-python3.14-async-auth-ssl-sharded-cluster-cov commands: - func: run server vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: standalone - VERSION: latest - COVERAGE: "1" - - func: run tests - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: standalone - VERSION: latest - COVERAGE: "1" - TOOLCHAIN_VERSION: "3.11" - TEST_NAME: default_async - tags: - - test-standard - - server-latest - - python-3.11 - - standalone-noauth-nossl - - async - - pr - - name: test-standard-latest-python3.14-async-noauth-nossl-standalone-cov - commands: - - func: run server - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: standalone + AUTH: auth + SSL: ssl + TOPOLOGY: sharded_cluster VERSION: latest COVERAGE: "1" - func: run tests vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: standalone + AUTH: auth + SSL: ssl + TOPOLOGY: sharded_cluster VERSION: latest COVERAGE: "1" TOOLCHAIN_VERSION: "3.14" @@ -4167,22 +4498,22 @@ tasks: - test-standard - server-latest - python-3.14 - - standalone-noauth-nossl + - sharded_cluster-auth-ssl - async - pr - - name: test-standard-rapid-python3.12-sync-noauth-ssl-replica-set + - name: test-standard-rapid-python3.12-sync-auth-ssl-sharded-cluster commands: - func: run server vars: - AUTH: noauth + AUTH: auth SSL: ssl - TOPOLOGY: replica_set + TOPOLOGY: sharded_cluster VERSION: rapid - func: run tests vars: - AUTH: noauth + AUTH: auth SSL: ssl - TOPOLOGY: replica_set + TOPOLOGY: sharded_cluster VERSION: rapid TOOLCHAIN_VERSION: "3.12" TEST_NAME: default_sync @@ -4190,32 +4521,9 @@ tasks: - test-standard - server-rapid - python-3.12 - - replica_set-noauth-ssl - - sync - - name: test-standard-rapid-pypy3.11-sync-noauth-ssl-replica-set - commands: - - func: run server - vars: - AUTH: noauth - SSL: ssl - TOPOLOGY: replica_set - VERSION: rapid - - func: run tests - vars: - AUTH: noauth - SSL: ssl - TOPOLOGY: replica_set - VERSION: rapid - TOOLCHAIN_VERSION: pypy3.11 - TEST_NAME: default_sync - tags: - - test-standard - - server-rapid - - python-pypy3.11 - - replica_set-noauth-ssl + - sharded_cluster-auth-ssl - sync - - pypy - - name: test-standard-rapid-python3.13-sync-auth-ssl-sharded-cluster + - name: test-standard-rapid-python3.14-sync-auth-ssl-sharded-cluster commands: - func: run server vars: @@ -4229,15 +4537,15 @@ tasks: SSL: ssl TOPOLOGY: sharded_cluster VERSION: rapid - TOOLCHAIN_VERSION: "3.13" + TOOLCHAIN_VERSION: "3.14" TEST_NAME: default_sync tags: - test-standard - server-rapid - - python-3.13 + - python-3.14 - sharded_cluster-auth-ssl - sync - - name: test-standard-rapid-python3.11-sync-noauth-nossl-standalone + - name: test-standard-rapid-python3.11-async-noauth-nossl-standalone commands: - func: run server vars: @@ -4252,14 +4560,14 @@ tasks: TOPOLOGY: standalone VERSION: rapid TOOLCHAIN_VERSION: "3.11" - TEST_NAME: default_sync + TEST_NAME: default_async tags: - test-standard - server-rapid - python-3.11 - standalone-noauth-nossl - - sync - - name: test-standard-rapid-python3.14-sync-noauth-nossl-standalone + - async + - name: test-standard-rapid-python3.14t-async-noauth-nossl-standalone commands: - func: run server vars: @@ -4273,14 +4581,15 @@ tasks: SSL: nossl TOPOLOGY: standalone VERSION: rapid - TOOLCHAIN_VERSION: "3.14" - TEST_NAME: default_sync + TOOLCHAIN_VERSION: 3.14t + TEST_NAME: default_async tags: - test-standard - server-rapid - - python-3.14 + - python-3.14t - standalone-noauth-nossl - - sync + - async + - free-threaded # Test non standard tests - name: test-non-standard-v4.2-python3.11-noauth-ssl-replica-set @@ -4802,29 +5111,94 @@ tasks: - python-3.13 - standalone-noauth-nossl - noauth - - name: test-non-standard-latest-python3.14t-noauth-ssl-replica-set + - name: test-non-standard-v9.0-python3.11-noauth-ssl-replica-set commands: - func: run server vars: AUTH: noauth SSL: ssl TOPOLOGY: replica_set - VERSION: latest + VERSION: "9.0" - func: run tests vars: AUTH: noauth SSL: ssl TOPOLOGY: replica_set - VERSION: latest - TOOLCHAIN_VERSION: 3.14t + VERSION: "9.0" + TOOLCHAIN_VERSION: "3.11" tags: - test-non-standard - - server-latest - - python-3.14t + - server-9.0 + - python-3.11 - replica_set-noauth-ssl - noauth - - free-threaded - - name: test-non-standard-latest-pypy3.11-noauth-ssl-replica-set + - name: test-non-standard-v9.0-python3.12-auth-ssl-sharded-cluster + commands: + - func: run server + vars: + AUTH: auth + SSL: ssl + TOPOLOGY: sharded_cluster + VERSION: "9.0" + - func: run tests + vars: + AUTH: auth + SSL: ssl + TOPOLOGY: sharded_cluster + VERSION: "9.0" + TOOLCHAIN_VERSION: "3.12" + tags: + - test-non-standard + - server-9.0 + - python-3.12 + - sharded_cluster-auth-ssl + - auth + - name: test-non-standard-v9.0-python3.10-noauth-nossl-standalone-min-deps + commands: + - func: run server + vars: + AUTH: noauth + SSL: nossl + TOPOLOGY: standalone + VERSION: "9.0" + TEST_MIN_DEPS: "1" + - func: run tests + vars: + AUTH: noauth + SSL: nossl + TOPOLOGY: standalone + VERSION: "9.0" + TEST_MIN_DEPS: "1" + TOOLCHAIN_VERSION: "3.10" + tags: + - test-non-standard + - server-9.0 + - python-3.10 + - standalone-noauth-nossl + - noauth + - name: test-non-standard-v9.0-pypy3.11-noauth-nossl-standalone + commands: + - func: run server + vars: + AUTH: noauth + SSL: nossl + TOPOLOGY: standalone + VERSION: "9.0" + - func: run tests + vars: + AUTH: noauth + SSL: nossl + TOPOLOGY: standalone + VERSION: "9.0" + TOOLCHAIN_VERSION: pypy3.11 + tags: + - test-non-standard + - server-9.0 + - python-pypy3.11 + - standalone-noauth-nossl + - noauth + - pypy + - name: test-non-standard-latest-python3.11-noauth-ssl-replica-set commands: - func: run server vars: @@ -4838,15 +5212,14 @@ tasks: SSL: ssl TOPOLOGY: replica_set VERSION: latest - TOOLCHAIN_VERSION: pypy3.11 + TOOLCHAIN_VERSION: "3.11" tags: - test-non-standard - server-latest - - python-pypy3.11 + - python-3.11 - replica_set-noauth-ssl - noauth - - pypy - - name: test-non-standard-latest-python3.14-auth-ssl-sharded-cluster-cov + - name: test-non-standard-latest-python3.12-auth-ssl-sharded-cluster-cov commands: - func: run server vars: @@ -4862,16 +5235,16 @@ tasks: TOPOLOGY: sharded_cluster VERSION: latest COVERAGE: "1" - TOOLCHAIN_VERSION: "3.14" + TOOLCHAIN_VERSION: "3.12" tags: - test-non-standard - server-latest - - python-3.14 + - python-3.12 - sharded_cluster-auth-ssl - auth - pr - cov - - name: test-non-standard-latest-python3.14-auth-ssl-sharded-cluster + - name: test-non-standard-latest-python3.12-auth-ssl-sharded-cluster commands: - func: run server vars: @@ -4885,15 +5258,37 @@ tasks: SSL: ssl TOPOLOGY: sharded_cluster VERSION: latest - TOOLCHAIN_VERSION: "3.14" + TOOLCHAIN_VERSION: "3.12" tags: - test-non-standard-no-cov - server-latest - - python-3.14 + - python-3.12 - sharded_cluster-auth-ssl - auth - pr - - name: test-non-standard-latest-python3.13-noauth-nossl-standalone + - name: test-non-standard-latest-pypy3.11-auth-ssl-sharded-cluster + commands: + - func: run server + vars: + AUTH: auth + SSL: ssl + TOPOLOGY: sharded_cluster + VERSION: latest + - func: run tests + vars: + AUTH: auth + SSL: ssl + TOPOLOGY: sharded_cluster + VERSION: latest + TOOLCHAIN_VERSION: pypy3.11 + tags: + - test-non-standard + - server-latest + - python-pypy3.11 + - sharded_cluster-auth-ssl + - auth + - pypy + - name: test-non-standard-latest-python3.10-noauth-nossl-standalone-min-deps commands: - func: run server vars: @@ -4901,20 +5296,22 @@ tasks: SSL: nossl TOPOLOGY: standalone VERSION: latest + TEST_MIN_DEPS: "1" - func: run tests vars: AUTH: noauth SSL: nossl TOPOLOGY: standalone VERSION: latest - TOOLCHAIN_VERSION: "3.13" + TEST_MIN_DEPS: "1" + TOOLCHAIN_VERSION: "3.10" tags: - test-non-standard - server-latest - - python-3.13 + - python-3.10 - standalone-noauth-nossl - noauth - - name: test-non-standard-rapid-python3.11-noauth-ssl-replica-set + - name: test-non-standard-rapid-python3.14t-noauth-ssl-replica-set commands: - func: run server vars: @@ -4928,58 +5325,58 @@ tasks: SSL: ssl TOPOLOGY: replica_set VERSION: rapid - TOOLCHAIN_VERSION: "3.11" + TOOLCHAIN_VERSION: 3.14t tags: - test-non-standard - server-rapid - - python-3.11 + - python-3.14t - replica_set-noauth-ssl - noauth - - name: test-non-standard-rapid-python3.12-auth-ssl-sharded-cluster + - free-threaded + - name: test-non-standard-rapid-pypy3.11-noauth-ssl-replica-set commands: - func: run server vars: - AUTH: auth + AUTH: noauth SSL: ssl - TOPOLOGY: sharded_cluster + TOPOLOGY: replica_set VERSION: rapid - func: run tests vars: - AUTH: auth + AUTH: noauth SSL: ssl - TOPOLOGY: sharded_cluster + TOPOLOGY: replica_set VERSION: rapid - TOOLCHAIN_VERSION: "3.12" + TOOLCHAIN_VERSION: pypy3.11 tags: - test-non-standard - server-rapid - - python-3.12 - - sharded_cluster-auth-ssl - - auth - - name: test-non-standard-rapid-python3.10-noauth-nossl-standalone-min-deps + - python-pypy3.11 + - replica_set-noauth-ssl + - noauth + - pypy + - name: test-non-standard-rapid-python3.14-auth-ssl-sharded-cluster commands: - func: run server vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: standalone + AUTH: auth + SSL: ssl + TOPOLOGY: sharded_cluster VERSION: rapid - TEST_MIN_DEPS: "1" - func: run tests vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: standalone + AUTH: auth + SSL: ssl + TOPOLOGY: sharded_cluster VERSION: rapid - TEST_MIN_DEPS: "1" - TOOLCHAIN_VERSION: "3.10" + TOOLCHAIN_VERSION: "3.14" tags: - test-non-standard - server-rapid - - python-3.10 - - standalone-noauth-nossl - - noauth - - name: test-non-standard-rapid-pypy3.11-noauth-nossl-standalone + - python-3.14 + - sharded_cluster-auth-ssl + - auth + - name: test-non-standard-rapid-python3.13-noauth-nossl-standalone commands: - func: run server vars: @@ -4993,14 +5390,13 @@ tasks: SSL: nossl TOPOLOGY: standalone VERSION: rapid - TOOLCHAIN_VERSION: pypy3.11 + TOOLCHAIN_VERSION: "3.13" tags: - test-non-standard - server-rapid - - python-pypy3.11 + - python-3.13 - standalone-noauth-nossl - noauth - - pypy # Test numpy tests - name: test-numpy-python3.10-python3.10 @@ -5288,7 +5684,52 @@ tasks: - sharded_cluster-auth-ssl - auth - pypy - - name: test-standard-auth-latest-python3.11-auth-ssl-sharded-cluster-cov + - name: test-standard-auth-v9.0-python3.10-auth-ssl-sharded-cluster-min-deps + commands: + - func: run server + vars: + AUTH: auth + SSL: ssl + TOPOLOGY: sharded_cluster + VERSION: "9.0" + TEST_MIN_DEPS: "1" + - func: run tests + vars: + AUTH: auth + SSL: ssl + TOPOLOGY: sharded_cluster + VERSION: "9.0" + TEST_MIN_DEPS: "1" + TOOLCHAIN_VERSION: "3.10" + tags: + - test-standard-auth + - server-9.0 + - python-3.10 + - sharded_cluster-auth-ssl + - auth + - name: test-standard-auth-v9.0-pypy3.11-auth-ssl-sharded-cluster + commands: + - func: run server + vars: + AUTH: auth + SSL: ssl + TOPOLOGY: sharded_cluster + VERSION: "9.0" + - func: run tests + vars: + AUTH: auth + SSL: ssl + TOPOLOGY: sharded_cluster + VERSION: "9.0" + TOOLCHAIN_VERSION: pypy3.11 + tags: + - test-standard-auth + - server-9.0 + - python-pypy3.11 + - sharded_cluster-auth-ssl + - auth + - pypy + - name: test-standard-auth-latest-python3.12-auth-ssl-sharded-cluster-cov commands: - func: run server vars: @@ -5304,11 +5745,11 @@ tasks: TOPOLOGY: sharded_cluster VERSION: latest COVERAGE: "1" - TOOLCHAIN_VERSION: "3.11" + TOOLCHAIN_VERSION: "3.12" tags: - test-standard-auth - server-latest - - python-3.11 + - python-3.12 - sharded_cluster-auth-ssl - auth - pr @@ -5334,7 +5775,7 @@ tasks: - sharded_cluster-auth-ssl - auth - pypy - - name: test-standard-auth-rapid-python3.10-auth-ssl-sharded-cluster-min-deps + - name: test-standard-auth-rapid-python3.11-auth-ssl-sharded-cluster commands: - func: run server vars: @@ -5342,19 +5783,17 @@ tasks: SSL: ssl TOPOLOGY: sharded_cluster VERSION: rapid - TEST_MIN_DEPS: "1" - func: run tests vars: AUTH: auth SSL: ssl TOPOLOGY: sharded_cluster VERSION: rapid - TEST_MIN_DEPS: "1" - TOOLCHAIN_VERSION: "3.10" + TOOLCHAIN_VERSION: "3.11" tags: - test-standard-auth - server-rapid - - python-3.10 + - python-3.11 - sharded_cluster-auth-ssl - auth - name: test-standard-auth-rapid-pypy3.11-auth-ssl-sharded-cluster diff --git a/.evergreen/generated_configs/variants.yml b/.evergreen/generated_configs/variants.yml index 9618bb919b..dfa03da69f 100644 --- a/.evergreen/generated_configs/variants.yml +++ b/.evergreen/generated_configs/variants.yml @@ -326,6 +326,7 @@ buildvariants: - name: .test-non-standard .server-6.0 .sharded_cluster-auth-ssl - name: .test-non-standard .server-7.0 .sharded_cluster-auth-ssl - name: .test-non-standard .server-8.0 .sharded_cluster-auth-ssl + - name: .test-non-standard .server-9.0 .sharded_cluster-auth-ssl - name: .test-non-standard .server-rapid .sharded_cluster-auth-ssl - name: .test-non-standard .server-latest .sharded_cluster-auth-ssl display_name: Load Balancer @@ -545,6 +546,15 @@ buildvariants: expansions: VERSION: "8.0" tags: [coverage_tag] + - name: mongodb-v9.0 + tasks: + - name: .server-version + display_name: "* MongoDB v9.0" + run_on: + - rhel87-small + expansions: + VERSION: "9.0" + tags: [coverage_tag] - name: mongodb-rapid tasks: - name: .server-version @@ -582,6 +592,7 @@ buildvariants: - name: .test-standard !.replica_set-noauth-ssl .server-6.0 - name: .test-standard !.replica_set-noauth-ssl .server-7.0 - name: .test-standard !.replica_set-noauth-ssl .server-8.0 + - name: .test-standard !.replica_set-noauth-ssl .server-9.0 - name: .test-standard !.replica_set-noauth-ssl .server-rapid - name: .test-standard !.replica_set-noauth-ssl .server-latest display_name: Stable API require v1 RHEL8 Auth @@ -598,6 +609,7 @@ buildvariants: - name: .test-standard .server-6.0 .standalone-noauth-nossl - name: .test-standard .server-7.0 .standalone-noauth-nossl - name: .test-standard .server-8.0 .standalone-noauth-nossl + - name: .test-standard .server-9.0 .standalone-noauth-nossl - name: .test-standard .server-rapid .standalone-noauth-nossl - name: .test-standard .server-latest .standalone-noauth-nossl display_name: Stable API accept v2 RHEL8 Auth @@ -621,6 +633,7 @@ buildvariants: - name: .test-standard !.pypy .server-6.0 - name: .test-standard !.pypy .server-7.0 - name: .test-standard !.pypy .server-8.0 + - name: .test-standard !.pypy .server-9.0 - name: .test-standard !.pypy .server-rapid - name: .test-standard !.pypy .server-latest display_name: "* Test macOS Arm64" diff --git a/.evergreen/scripts/generate_config_utils.py b/.evergreen/scripts/generate_config_utils.py index 50fd8526aa..634c947d20 100644 --- a/.evergreen/scripts/generate_config_utils.py +++ b/.evergreen/scripts/generate_config_utils.py @@ -21,7 +21,7 @@ # Globals ############## -ALL_VERSIONS = ["4.2", "4.4", "5.0", "6.0", "7.0", "8.0", "rapid", "latest"] +ALL_VERSIONS = ["4.2", "4.4", "5.0", "6.0", "7.0", "8.0", "9.0", "rapid", "latest"] CPYTHONS = ["3.10", "3.11", "3.12", "3.13", "3.14t", "3.14"] PYPYS = ["pypy3.11"] MIN_SUPPORT_VERSIONS = ["3.9", "pypy3.9", "pypy3.10"] From fc3d04e4b06962af08b734eb81e47e9120dbd195 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Thu, 13 Aug 2026 15:17:32 -0500 Subject: [PATCH 2/2] PYTHON-6006 Add changelog entry for MongoDB 9.0 support --- doc/changelog.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/changelog.rst b/doc/changelog.rst index 6b6c379eba..db6e0eba20 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -6,6 +6,7 @@ Changes in Version 4.18.0 (2026/XX/XX) PyMongo 4.18 brings a number of changes including: +- Added support for MongoDB 9.0. - Improved TLS connection performance by reusing TLS sessions across connections to the same server, avoiding a full handshake on each new connection. Session resumption is supported on all Python versions for synchronous clients