Skip to content

Commit d0de3ed

Browse files
committed
put it later
1 parent 717173b commit d0de3ed

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.evergreen/scripts/setup_tests.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,6 @@ def handle_test_env() -> None:
156156
# Start compiling the args we'll pass to uv.
157157
UV_ARGS = ["--extra test --no-group dev"]
158158

159-
# TODO: remove as part of PYTHON-5561
160-
if test_name in ["encryption", "oscp"]:
161-
if sys.implementation.name.lower() == "pypy" and sys.version_info < (3, 11):
162-
UV_ARGS.append("--with 'cryptography<46'")
163-
164159
test_title = test_name
165160
if sub_test_name:
166161
test_title += f" {sub_test_name}"
@@ -469,6 +464,11 @@ def handle_test_env() -> None:
469464
TEST_ARGS = f"{TEST_ARGS} --cov"
470465
write_env("COVERAGE")
471466

467+
# TODO: remove as part of PYTHON-5561
468+
if test_name in ["encryption", "oscp"]:
469+
if sys.implementation.name.lower() == "pypy" and sys.version_info < (3, 11):
470+
UV_ARGS.append("--with cryptography<46")
471+
472472
if opts.green_framework:
473473
framework = opts.green_framework or os.environ["GREEN_FRAMEWORK"]
474474
UV_ARGS.append(f"--group {framework}")

0 commit comments

Comments
 (0)