mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
Update setuptools (#1024)
Upgrades setuptools from 39.0.1 to: - 44.1.1 for Python 2.7 (since it's the last supported version) - 43.0.0 for Python 3.4 (since it's the last supported version) - 47.1.1 for Python 3.5+ (since we can't use 47.2.0+ until #1006 fixed) https://setuptools.readthedocs.io/en/latest/history.html#v47-1-1 Fixes #949. Closes #973.
This commit is contained in:
+8
-2
@@ -138,13 +138,19 @@ fi
|
||||
set -e
|
||||
|
||||
PIP_VERSION='20.0.2'
|
||||
SETUPTOOLS_VERSION='39.0.1'
|
||||
# Must use setuptools <47.2.0 until we fix:
|
||||
# https://github.com/heroku/heroku-buildpack-python/issues/1006
|
||||
SETUPTOOLS_VERSION='47.1.1'
|
||||
WHEEL_VERSION='0.34.2'
|
||||
|
||||
if [[ "${PYTHON_VERSION}" == ${PY34}* ]]; then
|
||||
# Python 3.4 support was dropped in pip 19.2+ and wheel 0.34.0+.
|
||||
# Python 3.4 support was dropped in pip 19.2+, setuptools 44+ and wheel 0.34+.
|
||||
PIP_VERSION='19.1.1'
|
||||
SETUPTOOLS_VERSION='43.0.0'
|
||||
WHEEL_VERSION='0.33.6'
|
||||
elif [[ "${PYTHON_VERSION}" == ${PY27}* || "${PYTHON_VERSION}" == ${PYPY27}* ]]; then
|
||||
# Python 2.7 support was dropped in setuptools 45+.
|
||||
SETUPTOOLS_VERSION='44.1.1'
|
||||
fi
|
||||
|
||||
# We don't use get-pip.py, since:
|
||||
|
||||
Reference in New Issue
Block a user