|
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 21.3.1, setuptools 57.5.0 and wheel 0.37.0 |
| 25 | + remote: -----> Installing pip 20.2.4, 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 21.3.1, setuptools 57.5.0 and wheel 0.37.0 |
| 41 | + remote: -----> Installing pip 20.2.4, 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 21.3.1, setuptools 57.5.0 and wheel 0.37.0 |
| 64 | + remote: -----> Installing pip 20.2.4, 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: Successfully installed gunicorn-20.1.0 local-package-0.0.1 |
| 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/gunicorn@20.1.0#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 |
98 | 105 | remote: -----> Running post-compile hook |
99 | 106 | remote: ==> .heroku/python/lib/python.*/site-packages/distutils-precedence.pth <== |
100 | | - remote: .* |
| 107 | + remote: import os; var = 'SETUPTOOLS_USE_DISTUTILS'; enabled = os.environ.get\\(var, 'stdlib'\\) == 'local'; enabled and __import__\\('_distutils_hack'\\).add_shim\\(\\); |
101 | 108 | remote: |
102 | 109 | remote: ==> .heroku/python/lib/python.*/site-packages/easy-install.pth <== |
103 | | - remote: /tmp/build_.*/local_package |
104 | 110 | remote: /app/.heroku/src/gunicorn |
| 111 | + remote: /tmp/build_.*/local_package |
105 | 112 | remote: |
106 | 113 | remote: ==> .heroku/python/lib/python.*/site-packages/gunicorn.egg-link <== |
107 | 114 | remote: /app/.heroku/src/gunicorn |
|
113 | 120 | remote: Running entrypoint for the VCS package: gunicorn \\(version 20.1.0\\) |
114 | 121 | remote: -----> Inline app detected |
115 | 122 | remote: ==> .heroku/python/lib/python.*/site-packages/distutils-precedence.pth <== |
116 | | - remote: .* |
| 123 | + remote: import os; var = 'SETUPTOOLS_USE_DISTUTILS'; enabled = os.environ.get\\(var, 'stdlib'\\) == 'local'; enabled and __import__\\('_distutils_hack'\\).add_shim\\(\\); |
117 | 124 | remote: |
118 | 125 | remote: ==> .heroku/python/lib/python.*/site-packages/easy-install.pth <== |
119 | | - remote: /tmp/build_.*/local_package |
120 | 126 | remote: /app/.heroku/src/gunicorn |
| 127 | + remote: /tmp/build_.*/local_package |
121 | 128 | remote: |
122 | 129 | remote: ==> .heroku/python/lib/python.*/site-packages/gunicorn.egg-link <== |
123 | 130 | remote: /app/.heroku/src/gunicorn |
|
132 | 139 | # Test rewritten paths work at runtime. |
133 | 140 | expect(app.run('bin/test-entrypoints')).to match(Regexp.new(<<~REGEX)) |
134 | 141 | ==> .heroku/python/lib/python.*/site-packages/distutils-precedence.pth <== |
135 | | - .* |
| 142 | + import os; var = 'SETUPTOOLS_USE_DISTUTILS'; enabled = os.environ.get\\(var, 'stdlib'\\) == 'local'; enabled and __import__\\('_distutils_hack'\\).add_shim\\(\\); |
136 | 143 |
|
137 | 144 | ==> .heroku/python/lib/python.*/site-packages/easy-install.pth <== |
138 | | - /app/local_package |
139 | 145 | /app/.heroku/src/gunicorn |
| 146 | + /app/local_package |
140 | 147 |
|
141 | 148 | ==> .heroku/python/lib/python.*/site-packages/gunicorn.egg-link <== |
142 | 149 | /app/.heroku/src/gunicorn |
|
148 | 155 | Running entrypoint for the VCS package: gunicorn \\(version 20.1.0\\) |
149 | 156 | REGEX |
150 | 157 |
|
151 | | - # Test that the cached .pth files work correctly. |
| 158 | + # Test restoring paths in the cached .pth files works correctly. |
152 | 159 | app.commit! |
153 | 160 | app.push! |
154 | 161 | expect(clean_output(app.output)).to match(Regexp.new(<<~REGEX)) |
155 | | - remote: Successfully installed gunicorn-20.1.0 local-package-0.0.1 |
| 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/gunicorn@20.1.0#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 |
156 | 174 | remote: -----> Running post-compile hook |
157 | 175 | remote: ==> .heroku/python/lib/python.*/site-packages/distutils-precedence.pth <== |
158 | | - remote: .* |
| 176 | + remote: import os; var = 'SETUPTOOLS_USE_DISTUTILS'; enabled = os.environ.get\\(var, 'stdlib'\\) == 'local'; enabled and __import__\\('_distutils_hack'\\).add_shim\\(\\); |
159 | 177 | remote: |
160 | 178 | remote: ==> .heroku/python/lib/python.*/site-packages/easy-install.pth <== |
161 | 179 | remote: /app/.heroku/src/gunicorn |
|
171 | 189 | remote: Running entrypoint for the VCS package: gunicorn \\(version 20.1.0\\) |
172 | 190 | remote: -----> Inline app detected |
173 | 191 | remote: ==> .heroku/python/lib/python.*/site-packages/distutils-precedence.pth <== |
174 | | - remote: .* |
| 192 | + remote: import os; var = 'SETUPTOOLS_USE_DISTUTILS'; enabled = os.environ.get\\(var, 'stdlib'\\) == 'local'; enabled and __import__\\('_distutils_hack'\\).add_shim\\(\\); |
175 | 193 | remote: |
176 | 194 | remote: ==> .heroku/python/lib/python.*/site-packages/easy-install.pth <== |
177 | 195 | remote: /app/.heroku/src/gunicorn |
|
0 commit comments