Skip to content

Commit 5e49363

Browse files
authored
PYTHON-4295 Fix Installation of Crytography on PyPy3.8 (#1559)
1 parent 8194e87 commit 5e49363

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.evergreen/run-tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ SSL=${SSL:-nossl}
3333
TEST_ARGS="${*:1}"
3434
PYTHON=$(which python)
3535
export PIP_QUIET=1 # Quiet by default
36+
export PIP_PREFER_BINARY=1 # Prefer binary dists by default
3637

3738
python -c "import sys; sys.exit(sys.prefix == sys.base_prefix)" || (echo "Not inside a virtual env!"; exit 1)
3839

@@ -121,7 +122,7 @@ fi
121122

122123
if [ -n "$TEST_ENCRYPTION" ] || [ -n "$TEST_FLE_AZURE_AUTO" ] || [ -n "$TEST_FLE_GCP_AUTO" ]; then
123124

124-
python -m pip install --prefer-binary '.[encryption]'
125+
python -m pip install '.[encryption]'
125126

126127
# Install libmongocrypt if necessary.
127128
if [ ! -d "libmongocrypt" ]; then

0 commit comments

Comments
 (0)