Skip to content

Commit 9d925f2

Browse files
authored
Update pip to 20.2.4 (#1192)
Updates pip from 20.1.1 to 20.2.4 for Python 2.7 and Python 3.5+. Python 3.4 continues to use 19.1.1, the last pip version to support it. We're not updating to pip 20.3+ yet, since those versions enable the new pip dependency resolver by default, which has compatibility implications, so needs additional UX work first as well as many upstream fixes as possible (see #1109). Changes: https://pip.pypa.io/en/latest/news/#v20-2-4 pypa/pip@20.1.1...20.2.4 Closes GUS-W-7944197.
1 parent ffe215a commit 9d925f2

File tree

6 files changed

+20
-19
lines changed

6 files changed

+20
-19
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Unreleased
44

5+
- Update pip from 20.1.1 to 20.2.4 for Python 2.7 and Python 3.5+ ([#1192](https://github.com/heroku/heroku-buildpack-python/pull/1192)).
56
- Update wheel from 0.34.2 to 0.36.2 for Python 2.7 and Python 3.5+ ([#1191](https://github.com/heroku/heroku-buildpack-python/pull/1191)).
67
- Support build environments where `$BUILD_DIR` is set to a symlink of `/app` ([#992](https://github.com/heroku/heroku-buildpack-python/pull/992)).
78

bin/steps/python

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ fi
142142

143143
set -e
144144

145-
PIP_VERSION='20.1.1'
145+
PIP_VERSION='20.2.4'
146146
# Must use setuptools <47.2.0 until we fix:
147147
# https://github.com/heroku/heroku-buildpack-python/issues/1006
148148
SETUPTOOLS_VERSION='47.1.1'

spec/hatchet/pip_spec.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
expect(clean_output(app.output)).to match(Regexp.new(<<~REGEX))
2121
remote: -----> Python app detected
2222
remote: -----> Installing python-#{DEFAULT_PYTHON_VERSION}
23-
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.36.2
23+
remote: -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
2424
remote: -----> Installing SQLite3
2525
remote: -----> Installing requirements with pip
2626
remote: Collecting urllib3
@@ -33,7 +33,7 @@
3333
expect(clean_output(app.output)).to include(<<~OUTPUT)
3434
remote: -----> Python app detected
3535
remote: -----> No change in requirements detected, installing from cache
36-
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.36.2
36+
remote: -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
3737
remote: -----> Installing SQLite3
3838
remote: -----> Installing requirements with pip
3939
remote: -----> Discovering process types
@@ -54,7 +54,7 @@
5454
remote: -----> Python app detected
5555
remote: -----> Requirements file has been changed, clearing cached dependencies
5656
remote: -----> Installing python-#{DEFAULT_PYTHON_VERSION}
57-
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.36.2
57+
remote: -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
5858
remote: -----> Installing SQLite3
5959
remote: -----> Installing requirements with pip
6060
remote: Collecting urllib3

spec/hatchet/pipenv_spec.rb

+8-8
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
remote: -----> Python app detected
1111
remote: cp: cannot stat '/tmp/build_.*/requirements.txt': No such file or directory
1212
remote: -----> Installing python-#{python_version}
13-
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.36.2
13+
remote: -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
1414
remote: -----> Installing dependencies with Pipenv 2020.11.15
1515
remote: Installing dependencies from Pipfile.lock \\(.*\\)...
1616
remote: -----> Installing SQLite3
@@ -30,7 +30,7 @@
3030
remote: ! No 'Pipfile.lock' found! We recommend you commit this into your repository.
3131
remote: cp: cannot stat '/tmp/build_.*/requirements.txt': No such file or directory
3232
remote: -----> Installing python-#{DEFAULT_PYTHON_VERSION}
33-
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.36.2
33+
remote: -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
3434
remote: -----> Installing dependencies with Pipenv 2020.11.15
3535
remote: Installing dependencies from Pipfile...
3636
remote: -----> Installing SQLite3
@@ -48,7 +48,7 @@
4848
remote: -----> Python app detected
4949
remote: cp: cannot stat '/tmp/build_.*/requirements.txt': No such file or directory
5050
remote: -----> Installing python-#{DEFAULT_PYTHON_VERSION}
51-
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.36.2
51+
remote: -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
5252
remote: -----> Installing dependencies with Pipenv 2020.11.15
5353
remote: Installing dependencies from Pipfile.lock \\(aad8b1\\)...
5454
remote: -----> Installing SQLite3
@@ -70,7 +70,7 @@
7070
remote: Learn More: https://devcenter.heroku.com/articles/python-2-7-eol-faq
7171
remote: cp: cannot stat '/tmp/build_.*/requirements.txt': No such file or directory
7272
remote: -----> Installing python-#{LATEST_PYTHON_2_7}
73-
remote: -----> Installing pip 20.1.1, setuptools 44.1.1 and wheel 0.36.2
73+
remote: -----> Installing pip 20.2.4, setuptools 44.1.1 and wheel 0.36.2
7474
remote: -----> Installing dependencies with Pipenv 2020.11.15
7575
remote: Installing dependencies from Pipfile.lock \\(b8efa9\\)...
7676
remote: -----> Installing SQLite3
@@ -139,7 +139,7 @@
139139
remote: Learn More: https://devcenter.heroku.com/articles/python-runtimes
140140
remote: cp: cannot stat '/tmp/build_.*/requirements.txt': No such file or directory
141141
remote: -----> Installing python-3.9.1
142-
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.36.2
142+
remote: -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
143143
remote: -----> Installing dependencies with Pipenv 2020.11.15
144144
remote: Installing dependencies from Pipfile.lock \\(e13df1\\)...
145145
remote: -----> Installing SQLite3
@@ -186,7 +186,7 @@
186186
remote: -----> Python app detected
187187
remote: cp: cannot stat '/tmp/build_.*/requirements.txt': No such file or directory
188188
remote: -----> Installing python-#{LATEST_PYTHON_3_9}
189-
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.36.2
189+
remote: -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
190190
remote: -----> Installing dependencies with Pipenv 2020.11.15
191191
remote: Installing dependencies from Pipfile.lock \\(75eae0\\)...
192192
remote: -----> Installing SQLite3
@@ -203,7 +203,7 @@
203203
expect(clean_output(app.output)).to include(<<~OUTPUT)
204204
remote: -----> Python app detected
205205
remote: -----> Installing python-#{LATEST_PYTHON_3_9}
206-
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.36.2
206+
remote: -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
207207
remote: -----> Installing dependencies with Pipenv 2020.11.15
208208
remote: Installing dependencies from Pipfile.lock (ef68d1)...
209209
remote: -----> Installing SQLite3
@@ -221,7 +221,7 @@
221221
remote: -----> Python app detected
222222
remote: cp: cannot stat '/tmp/build_.*/requirements.txt': No such file or directory
223223
remote: -----> Installing python-#{DEFAULT_PYTHON_VERSION}
224-
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.36.2
224+
remote: -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
225225
remote: -----> Installing dependencies with Pipenv 2020.11.15
226226
remote: Your Pipfile.lock \\(aad8b1\\) is out of date. Expected: \\(ef68d1\\).
227227
remote: \\[DeployException\\]: .*

spec/hatchet/python_version_spec.rb

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
expect(clean_output(app.output)).to include(<<~OUTPUT)
99
remote: -----> Python app detected
1010
remote: -----> Installing python-#{python_version}
11-
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.36.2
11+
remote: -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
1212
remote: -----> Installing SQLite3
1313
remote: -----> Installing requirements with pip
1414
remote: Collecting urllib3
@@ -82,7 +82,7 @@
8282
remote: ! Python 2 has reached its community EOL. Upgrade your Python runtime to maintain a secure application as soon as possible.
8383
remote: Learn More: https://devcenter.heroku.com/articles/python-2-7-eol-faq
8484
remote: -----> Installing python-#{LATEST_PYTHON_2_7}
85-
remote: -----> Installing pip 20.1.1, setuptools 44.1.1 and wheel 0.36.2
85+
remote: -----> Installing pip 20.2.4, setuptools 44.1.1 and wheel 0.36.2
8686
remote: -----> Installing SQLite3
8787
remote: -----> Installing requirements with pip
8888
remote: Collecting urllib3
@@ -180,7 +180,7 @@
180180
expect(clean_output(app.output)).to include(<<~OUTPUT)
181181
remote: -----> Python app detected
182182
remote: -----> Installing pypy2.7-#{LATEST_PYPY_2_7}
183-
remote: -----> Installing pip 20.1.1, setuptools 44.1.1 and wheel 0.36.2
183+
remote: -----> Installing pip 20.2.4, setuptools 44.1.1 and wheel 0.36.2
184184
remote: -----> Installing SQLite3
185185
remote: -----> Installing requirements with pip
186186
remote: Collecting urllib3
@@ -198,7 +198,7 @@
198198
expect(clean_output(app.output)).to include(<<~OUTPUT)
199199
remote: -----> Python app detected
200200
remote: -----> Installing pypy3.6-#{LATEST_PYPY_3_6}
201-
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.36.2
201+
remote: -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
202202
remote: -----> Installing SQLite3
203203
remote: -----> Installing requirements with pip
204204
remote: Collecting urllib3
@@ -240,7 +240,7 @@
240240
remote: -----> Found python-#{LATEST_PYTHON_3_6}, removing
241241
remote: -----> No change in requirements detected, installing from cache
242242
remote: -----> Installing python-#{LATEST_PYTHON_3_9}
243-
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.36.2
243+
remote: -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
244244
remote: -----> Installing SQLite3
245245
remote: -----> Installing requirements with pip
246246
remote: Collecting urllib3

spec/hatchet/stack_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
remote: -----> Stack has changed from heroku-18 to heroku-20, clearing cache
3030
remote: -----> No change in requirements detected, installing from cache
3131
remote: -----> Installing python-3.6.12
32-
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.36.2
32+
remote: -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
3333
remote: -----> Installing SQLite3
3434
remote: -----> Installing requirements with pip
3535
remote: Collecting urllib3
@@ -56,7 +56,7 @@
5656
remote: -----> Stack has changed from heroku-20 to heroku-18, clearing cache
5757
remote: -----> No change in requirements detected, installing from cache
5858
remote: -----> Installing python-#{DEFAULT_PYTHON_VERSION}
59-
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.36.2
59+
remote: -----> Installing pip 20.2.4, setuptools 47.1.1 and wheel 0.36.2
6060
remote: -----> Installing SQLite3
6161
remote: -----> Installing requirements with pip
6262
remote: Collecting urllib3

0 commit comments

Comments
 (0)