Skip to content

Commit d51c70b

Browse files
authored
PYTHON-5337 Evergreen PyOpenSSL variants should use PyOpenSSL (#2299)
1 parent 0ee8e58 commit d51c70b

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

.evergreen/generated_configs/variants.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ buildvariants:
620620
- macos-14
621621
batchtime: 10080
622622
expansions:
623-
TEST_NAME: pyopenssl
623+
SUB_TEST_NAME: pyopenssl
624624
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
625625
- name: pyopenssl-rhel8-python3.10
626626
tasks:
@@ -631,7 +631,7 @@ buildvariants:
631631
- rhel87-small
632632
batchtime: 10080
633633
expansions:
634-
TEST_NAME: pyopenssl
634+
SUB_TEST_NAME: pyopenssl
635635
PYTHON_BINARY: /opt/python/3.10/bin/python3
636636
- name: pyopenssl-rhel8-python3.11
637637
tasks:
@@ -642,7 +642,7 @@ buildvariants:
642642
- rhel87-small
643643
batchtime: 10080
644644
expansions:
645-
TEST_NAME: pyopenssl
645+
SUB_TEST_NAME: pyopenssl
646646
PYTHON_BINARY: /opt/python/3.11/bin/python3
647647
- name: pyopenssl-rhel8-python3.12
648648
tasks:
@@ -653,7 +653,7 @@ buildvariants:
653653
- rhel87-small
654654
batchtime: 10080
655655
expansions:
656-
TEST_NAME: pyopenssl
656+
SUB_TEST_NAME: pyopenssl
657657
PYTHON_BINARY: /opt/python/3.12/bin/python3
658658
- name: pyopenssl-win64-python3.13
659659
tasks:
@@ -664,7 +664,7 @@ buildvariants:
664664
- windows-64-vsMulti-small
665665
batchtime: 10080
666666
expansions:
667-
TEST_NAME: pyopenssl
667+
SUB_TEST_NAME: pyopenssl
668668
PYTHON_BINARY: C:/python/Python313/python.exe
669669
- name: pyopenssl-rhel8-pypy3.10
670670
tasks:
@@ -675,7 +675,7 @@ buildvariants:
675675
- rhel87-small
676676
batchtime: 10080
677677
expansions:
678-
TEST_NAME: pyopenssl
678+
SUB_TEST_NAME: pyopenssl
679679
PYTHON_BINARY: /opt/python/pypy3.10/bin/python3
680680

681681
# Search index tests

.evergreen/scripts/generate_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def create_enterprise_auth_variants():
250250
def create_pyopenssl_variants():
251251
base_name = "PyOpenSSL"
252252
batchtime = BATCHTIME_WEEK
253-
expansions = dict(TEST_NAME="pyopenssl")
253+
expansions = dict(SUB_TEST_NAME="pyopenssl")
254254
variants = []
255255

256256
for python in ALL_PYTHONS:

.evergreen/scripts/setup-tests.sh

+2
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ if [ -f $SCRIPT_DIR/env.sh ]; then
2020
source $SCRIPT_DIR/env.sh
2121
fi
2222

23+
echo "Setting up tests with args \"$*\"..."
2324
uv run $SCRIPT_DIR/setup_tests.py "$@"
25+
echo "Setting up tests with args \"$*\"... done."

.evergreen/scripts/setup_tests.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,8 @@ def handle_test_env() -> None:
394394
load_config_from_file(csfle_dir / "secrets-export.sh")
395395
run_command(f"bash {csfle_dir.as_posix()}/start-servers.sh")
396396

397-
if sub_test_name == "pyopenssl":
398-
UV_ARGS.append("--extra ocsp")
397+
if sub_test_name == "pyopenssl":
398+
UV_ARGS.append("--extra ocsp")
399399

400400
if is_set("TEST_CRYPT_SHARED") or opts.crypt_shared:
401401
config = read_env(f"{DRIVERS_TOOLS}/mo-expansion.sh")

.evergreen/scripts/utils.py

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ class Distro:
4343
"kms": "kms",
4444
"load_balancer": "load_balancer",
4545
"mockupdb": "mockupdb",
46-
"pyopenssl": "",
4746
"ocsp": "ocsp",
4847
"perf": "perf",
4948
"serverless": "",

0 commit comments

Comments
 (0)