Skip to content

Commit d1007ec

Browse files
committed
try a workaround
1 parent 87cb954 commit d1007ec

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
@@ -6,6 +6,7 @@
66
import platform
77
import shutil
88
import stat
9+
import sys
910
import tarfile
1011
from pathlib import Path
1112
from urllib import request
@@ -152,14 +153,13 @@ def handle_test_env() -> None:
152153
SSL = "ssl" if opts.ssl else "nossl"
153154
TEST_ARGS = ""
154155

155-
import sys
156-
157-
print(os.environ["UV_PYTHON"])
158-
sys.exit(1)
159-
160156
# Start compiling the args we'll pass to uv.
161157
UV_ARGS = ["--extra test --no-group dev"]
162158

159+
# 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")
162+
163163
test_title = test_name
164164
if sub_test_name:
165165
test_title += f" {sub_test_name}"

0 commit comments

Comments
 (0)