|
22 | 22 | remote: -----> No Python version was specified. Using the buildpack default: python-#{DEFAULT_PYTHON_VERSION}
|
23 | 23 | remote: To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes
|
24 | 24 | remote: -----> Installing python-#{DEFAULT_PYTHON_VERSION}
|
25 |
| - remote: -----> Installing pip 20.2.4, setuptools 57.5.0 and wheel 0.37.0 |
| 25 | + remote: -----> Installing pip 21.3.1, setuptools 57.5.0 and wheel 0.37.0 |
26 | 26 | remote: -----> Installing SQLite3
|
27 | 27 | remote: -----> Installing requirements with pip
|
28 | 28 | remote: Collecting urllib3
|
|
38 | 38 | remote: To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes
|
39 | 39 | remote: -----> No change in requirements detected, installing from cache
|
40 | 40 | remote: -----> Using cached install of python-#{DEFAULT_PYTHON_VERSION}
|
41 |
| - remote: -----> Installing pip 20.2.4, setuptools 57.5.0 and wheel 0.37.0 |
| 41 | + remote: -----> Installing pip 21.3.1, setuptools 57.5.0 and wheel 0.37.0 |
42 | 42 | remote: -----> Installing SQLite3
|
43 | 43 | remote: -----> Installing requirements with pip
|
44 | 44 | remote: -----> Discovering process types
|
|
61 | 61 | remote: To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes
|
62 | 62 | remote: -----> Requirements file has been changed, clearing cached dependencies
|
63 | 63 | remote: -----> Installing python-#{DEFAULT_PYTHON_VERSION}
|
64 |
| - remote: -----> Installing pip 20.2.4, setuptools 57.5.0 and wheel 0.37.0 |
| 64 | + remote: -----> Installing pip 21.3.1, setuptools 57.5.0 and wheel 0.37.0 |
65 | 65 | remote: -----> Installing SQLite3
|
66 | 66 | remote: -----> Installing requirements with pip
|
67 | 67 | remote: Collecting urllib3
|
|
94 | 94 | it 'rewrites .pth and .egg-link paths correctly for hooks, later buildpacks, runtime and cached builds' do
|
95 | 95 | app.deploy do |app|
|
96 | 96 | expect(clean_output(app.output)).to match(Regexp.new(<<~REGEX))
|
97 |
| - remote: -----> Installing requirements with pip |
98 |
| - remote: Obtaining file:///tmp/build_.*/local_package \\(from -r /tmp/build_.*/requirements.txt \\(line 1\\)\\) |
99 |
| - remote: Obtaining gunicorn from git\\+https://github.com/benoitc/[email protected]#egg=gunicorn \\(from -r /tmp/build_.*/requirements.txt \\(line 2\\)\\) |
100 |
| - remote: Cloning https://github.com/benoitc/gunicorn \\(to revision 20.1.0\\) to /app/.heroku/src/gunicorn |
101 |
| - remote: Installing collected packages: gunicorn, local-package |
102 |
| - remote: Running setup.py develop for gunicorn |
103 |
| - remote: Running setup.py develop for local-package |
104 |
| - remote: Successfully installed gunicorn local-package |
| 97 | + remote: Successfully installed gunicorn-20.1.0 local-package-0.0.1 |
105 | 98 | remote: -----> Running post-compile hook
|
106 | 99 | remote: ==> .heroku/python/lib/python.*/site-packages/distutils-precedence.pth <==
|
107 |
| - remote: import os; var = 'SETUPTOOLS_USE_DISTUTILS'; enabled = os.environ.get\\(var, 'stdlib'\\) == 'local'; enabled and __import__\\('_distutils_hack'\\).add_shim\\(\\); |
| 100 | + remote: .* |
108 | 101 | remote:
|
109 | 102 | remote: ==> .heroku/python/lib/python.*/site-packages/easy-install.pth <==
|
110 |
| - remote: /app/.heroku/src/gunicorn |
111 | 103 | remote: /tmp/build_.*/local_package
|
| 104 | + remote: /app/.heroku/src/gunicorn |
112 | 105 | remote:
|
113 | 106 | remote: ==> .heroku/python/lib/python.*/site-packages/gunicorn.egg-link <==
|
114 | 107 | remote: /app/.heroku/src/gunicorn
|
|
120 | 113 | remote: Running entrypoint for the VCS package: gunicorn \\(version 20.1.0\\)
|
121 | 114 | remote: -----> Inline app detected
|
122 | 115 | remote: ==> .heroku/python/lib/python.*/site-packages/distutils-precedence.pth <==
|
123 |
| - remote: import os; var = 'SETUPTOOLS_USE_DISTUTILS'; enabled = os.environ.get\\(var, 'stdlib'\\) == 'local'; enabled and __import__\\('_distutils_hack'\\).add_shim\\(\\); |
| 116 | + remote: .* |
124 | 117 | remote:
|
125 | 118 | remote: ==> .heroku/python/lib/python.*/site-packages/easy-install.pth <==
|
126 |
| - remote: /app/.heroku/src/gunicorn |
127 | 119 | remote: /tmp/build_.*/local_package
|
| 120 | + remote: /app/.heroku/src/gunicorn |
128 | 121 | remote:
|
129 | 122 | remote: ==> .heroku/python/lib/python.*/site-packages/gunicorn.egg-link <==
|
130 | 123 | remote: /app/.heroku/src/gunicorn
|
|
139 | 132 | # Test rewritten paths work at runtime.
|
140 | 133 | expect(app.run('bin/test-entrypoints')).to match(Regexp.new(<<~REGEX))
|
141 | 134 | ==> .heroku/python/lib/python.*/site-packages/distutils-precedence.pth <==
|
142 |
| - import os; var = 'SETUPTOOLS_USE_DISTUTILS'; enabled = os.environ.get\\(var, 'stdlib'\\) == 'local'; enabled and __import__\\('_distutils_hack'\\).add_shim\\(\\); |
| 135 | + .* |
143 | 136 |
|
144 | 137 | ==> .heroku/python/lib/python.*/site-packages/easy-install.pth <==
|
145 |
| - /app/.heroku/src/gunicorn |
146 | 138 | /app/local_package
|
| 139 | + /app/.heroku/src/gunicorn |
147 | 140 |
|
148 | 141 | ==> .heroku/python/lib/python.*/site-packages/gunicorn.egg-link <==
|
149 | 142 | /app/.heroku/src/gunicorn
|
|
155 | 148 | Running entrypoint for the VCS package: gunicorn \\(version 20.1.0\\)
|
156 | 149 | REGEX
|
157 | 150 |
|
158 |
| - # Test restoring paths in the cached .pth files works correctly. |
| 151 | + # Test that the cached .pth files work correctly. |
159 | 152 | app.commit!
|
160 | 153 | app.push!
|
161 | 154 | expect(clean_output(app.output)).to match(Regexp.new(<<~REGEX))
|
162 |
| - remote: -----> No change in requirements detected, installing from cache |
163 |
| - remote: -----> Using cached install of python-#{DEFAULT_PYTHON_VERSION} |
164 |
| - remote: -----> Installing pip 20.2.4, setuptools 57.5.0 and wheel 0.37.0 |
165 |
| - remote: -----> Installing SQLite3 |
166 |
| - remote: -----> Installing requirements with pip |
167 |
| - remote: Obtaining file:///tmp/build_.*/local_package \\(from -r /tmp/build_.*/requirements.txt \\(line 1\\)\\) |
168 |
| - remote: Obtaining gunicorn from git\\+https://github.com/benoitc/[email protected]#egg=gunicorn \\(from -r /tmp/build_.*/requirements.txt \\(line 2\\)\\) |
169 |
| - remote: Cloning https://github.com/benoitc/gunicorn \\(to revision 20.1.0\\) to /app/.heroku/src/gunicorn |
170 |
| - remote: Installing collected packages: gunicorn, local-package |
171 |
| - remote: Running setup.py develop for gunicorn |
172 |
| - remote: Running setup.py develop for local-package |
173 |
| - remote: Successfully installed gunicorn local-package |
| 155 | + remote: Successfully installed gunicorn-20.1.0 local-package-0.0.1 |
174 | 156 | remote: -----> Running post-compile hook
|
175 | 157 | remote: ==> .heroku/python/lib/python.*/site-packages/distutils-precedence.pth <==
|
176 |
| - remote: import os; var = 'SETUPTOOLS_USE_DISTUTILS'; enabled = os.environ.get\\(var, 'stdlib'\\) == 'local'; enabled and __import__\\('_distutils_hack'\\).add_shim\\(\\); |
| 158 | + remote: .* |
177 | 159 | remote:
|
178 | 160 | remote: ==> .heroku/python/lib/python.*/site-packages/easy-install.pth <==
|
179 | 161 | remote: /app/.heroku/src/gunicorn
|
|
189 | 171 | remote: Running entrypoint for the VCS package: gunicorn \\(version 20.1.0\\)
|
190 | 172 | remote: -----> Inline app detected
|
191 | 173 | remote: ==> .heroku/python/lib/python.*/site-packages/distutils-precedence.pth <==
|
192 |
| - remote: import os; var = 'SETUPTOOLS_USE_DISTUTILS'; enabled = os.environ.get\\(var, 'stdlib'\\) == 'local'; enabled and __import__\\('_distutils_hack'\\).add_shim\\(\\); |
| 174 | + remote: .* |
193 | 175 | remote:
|
194 | 176 | remote: ==> .heroku/python/lib/python.*/site-packages/easy-install.pth <==
|
195 | 177 | remote: /app/.heroku/src/gunicorn
|
|
0 commit comments