Skip to content

Commit 53b7810

Browse files
committed
macos: Do not build packages for Python 3.5
3.5 is no longer supported by Python.org and installation fails due to download certificate failures: + PIP_CMD='/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 -m pip' + /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 -m pip install --upgrade pip Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719) - skipping + '[' -z '/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 -m pip' ']' + /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 -m pip install virtualenv --ignore-installed Collecting virtualenv Could not fetch URL https://pypi.python.org/simple/virtualenv/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719) - skipping Could not find a version that satisfies the requirement virtualenv (from versions: ) No matching distribution found for virtualenv
1 parent 6bdf8f0 commit 53b7810

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

scripts/macpython-build-common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ MACPYTHON_PY_PREFIX=/Library/Frameworks/Python.framework/Versions
99

1010
# Versions can be restricted by passing them in as arguments to the script
1111
# For example,
12-
# macpython-build-wheels.sh 3.5
12+
# macpython-build-wheels.sh 3.9
1313
if [[ $# -eq 0 ]]; then
1414
PYBINARIES=(${MACPYTHON_PY_PREFIX}/*)
1515
else

scripts/macpython-build-wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Versions can be restricted by passing them in as arguments to the script
66
# For example,
77
#
8-
# scripts/macpython-build-wheels.sh 3.5
8+
# scripts/macpython-build-wheels.sh 3.9
99

1010
# -----------------------------------------------------------------------
1111
# These variables are set in common script:

scripts/macpython-install-python.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ function make_workon_venv {
372372
# Remove previous versions
373373
sudo rm -rf ${MACPYTHON_FRAMEWORK}
374374

375-
for pyversion in $LATEST_3p5 $LATEST_3p6 $LATEST_3p7; do
375+
for pyversion in $LATEST_3p6 $LATEST_3p7; do
376376
install_macpython $pyversion 10.6
377377
install_virtualenv
378378
done

0 commit comments

Comments
 (0)