Skip to content

Commit 3a89577

Browse files
committed
fix workaround
1 parent d1007ec commit 3a89577

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.evergreen/scripts/setup_tests.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,9 @@ def handle_test_env() -> None:
157157
UV_ARGS = ["--extra test --no-group dev"]
158158

159159
# TODO: remove as part of PYTHON-5561
160-
if sys.implementation.name.lower() == "pypy" and sys.version_info < (3, 11):
161-
UV_ARGS.append("--with cryptography<46")
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")
162163

163164
test_title = test_name
164165
if sub_test_name:

0 commit comments

Comments
 (0)