From 5e49363c97e69d0823737fc21a2481eda6099562 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 22 Mar 2024 13:34:46 -0500 Subject: [PATCH] PYTHON-4295 Fix Installation of Crytography on PyPy3.8 (#1559) --- .evergreen/run-tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.evergreen/run-tests.sh b/.evergreen/run-tests.sh index 35d8c26c0..a0bb6e6f2 100755 --- a/.evergreen/run-tests.sh +++ b/.evergreen/run-tests.sh @@ -33,6 +33,7 @@ SSL=${SSL:-nossl} TEST_ARGS="${*:1}" PYTHON=$(which python) export PIP_QUIET=1 # Quiet by default +export PIP_PREFER_BINARY=1 # Prefer binary dists by default python -c "import sys; sys.exit(sys.prefix == sys.base_prefix)" || (echo "Not inside a virtual env!"; exit 1) @@ -121,7 +122,7 @@ fi if [ -n "$TEST_ENCRYPTION" ] || [ -n "$TEST_FLE_AZURE_AUTO" ] || [ -n "$TEST_FLE_GCP_AUTO" ]; then - python -m pip install --prefer-binary '.[encryption]' + python -m pip install '.[encryption]' # Install libmongocrypt if necessary. if [ ! -d "libmongocrypt" ]; then