Skip to content

Commit 2ff46ea

Browse files
author
Matthias Koeppe
committed
build/bin/sage-pip-install: Use SYSTEM_VERSION_COMPAT=0
1 parent 3da1b22 commit 2ff46ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build/bin/sage-pip-install

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ PIP=pip3
3030
# running pip. This is implemented in the Python script sage-flock
3131
LOCK="$SAGE_LOCAL/var/lock/$PIP.lock"
3232

33+
# Trac #33155: Pythons installed using the python.org macOS installers
34+
# for Python < 3.10 identify macOS Big Sur and newer as "10.16", causing
35+
# pip to refuse to install wheels tagged macosx_11_0_x86_64
36+
export SYSTEM_VERSION_COMPAT=0
37+
3338
# Finally actually do the installation (the "SHARED" tells pip2/3-lock
3439
# to apply a shared lock)
3540
sage-flock -s $LOCK $PYTHON -m pip install $pip_install_flags "$@"

0 commit comments

Comments
 (0)