|
10 | 10 | remote: -----> Python app detected
|
11 | 11 | remote: cp: cannot stat '/tmp/build_.*/requirements.txt': No such file or directory
|
12 | 12 | remote: -----> Installing python-#{python_version}
|
13 |
| - remote: -----> Installing pip 9.0.2, setuptools 47.1.1 and wheel 0.34.2 |
14 |
| - remote: -----> Installing dependencies with Pipenv 2018.5.18… |
15 |
| - remote: Installing dependencies from Pipfile.lock \\(.*\\)… |
| 13 | + remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2 |
| 14 | + remote: -----> Installing dependencies with Pipenv 2020.11.15 |
| 15 | + remote: Installing dependencies from Pipfile.lock \\(.*\\)... |
16 | 16 | remote: -----> Installing SQLite3
|
17 | 17 | REGEX
|
18 | 18 | end
|
|
30 | 30 | remote: ! No 'Pipfile.lock' found! We recommend you commit this into your repository.
|
31 | 31 | remote: cp: cannot stat '/tmp/build_.*/requirements.txt': No such file or directory
|
32 | 32 | remote: -----> Installing python-#{DEFAULT_PYTHON_VERSION}
|
33 |
| - remote: -----> Installing pip 9.0.2, setuptools 47.1.1 and wheel 0.34.2 |
34 |
| - remote: -----> Installing dependencies with Pipenv 2018.5.18… |
35 |
| - remote: Installing dependencies from Pipfile… |
| 33 | + remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2 |
| 34 | + remote: -----> Installing dependencies with Pipenv 2020.11.15 |
| 35 | + remote: Installing dependencies from Pipfile... |
36 | 36 | remote: -----> Installing SQLite3
|
37 | 37 | REGEX
|
38 | 38 | end
|
|
48 | 48 | remote: -----> Python app detected
|
49 | 49 | remote: cp: cannot stat '/tmp/build_.*/requirements.txt': No such file or directory
|
50 | 50 | remote: -----> Installing python-#{DEFAULT_PYTHON_VERSION}
|
51 |
| - remote: -----> Installing pip 9.0.2, setuptools 47.1.1 and wheel 0.34.2 |
52 |
| - remote: -----> Installing dependencies with Pipenv 2018.5.18… |
53 |
| - remote: Installing dependencies from Pipfile.lock \\(aad8b1\\)… |
| 51 | + remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2 |
| 52 | + remote: -----> Installing dependencies with Pipenv 2020.11.15 |
| 53 | + remote: Installing dependencies from Pipfile.lock \\(aad8b1\\)... |
54 | 54 | remote: -----> Installing SQLite3
|
55 | 55 | REGEX
|
56 | 56 | end
|
|
70 | 70 | remote: Learn More: https://devcenter.heroku.com/articles/python-2-7-eol-faq
|
71 | 71 | remote: cp: cannot stat '/tmp/build_.*/requirements.txt': No such file or directory
|
72 | 72 | remote: -----> Installing python-#{LATEST_PYTHON_2_7}
|
73 |
| - remote: -----> Installing pip 9.0.2, setuptools 44.1.1 and wheel 0.34.2 |
74 |
| - remote: -----> Installing dependencies with Pipenv 2018.5.18… |
75 |
| - remote: Installing dependencies from Pipfile.lock \\(b8efa9\\)… |
| 73 | + remote: -----> Installing pip 20.1.1, setuptools 44.1.1 and wheel 0.34.2 |
| 74 | + remote: -----> Installing dependencies with Pipenv 2020.11.15 |
| 75 | + remote: Installing dependencies from Pipfile.lock \\(b8efa9\\)... |
76 | 76 | remote: -----> Installing SQLite3
|
77 | 77 | REGEX
|
78 | 78 | end
|
|
172 | 172 | remote: -----> Python app detected
|
173 | 173 | remote: cp: cannot stat '/tmp/build_.*/requirements.txt': No such file or directory
|
174 | 174 | remote: -----> Installing python-#{LATEST_PYTHON_3_9}
|
175 |
| - remote: -----> Installing pip 9.0.2, setuptools 47.1.1 and wheel 0.34.2 |
176 |
| - remote: -----> Installing dependencies with Pipenv 2018.5.18… |
177 |
| - remote: Installing dependencies from Pipfile.lock \\(75eae0\\)… |
| 175 | + remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2 |
| 176 | + remote: -----> Installing dependencies with Pipenv 2020.11.15 |
| 177 | + remote: Installing dependencies from Pipfile.lock \\(75eae0\\)... |
178 | 178 | remote: -----> Installing SQLite3
|
179 | 179 | REGEX
|
180 | 180 | end
|
|
189 | 189 | expect(clean_output(app.output)).to include(<<~OUTPUT)
|
190 | 190 | remote: -----> Python app detected
|
191 | 191 | remote: -----> Installing python-#{LATEST_PYTHON_3_9}
|
192 |
| - remote: -----> Installing pip 9.0.2, setuptools 47.1.1 and wheel 0.34.2 |
193 |
| - remote: -----> Installing dependencies with Pipenv 2018.5.18… |
194 |
| - remote: Installing dependencies from Pipfile.lock (ef68d1)… |
| 192 | + remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2 |
| 193 | + remote: -----> Installing dependencies with Pipenv 2020.11.15 |
| 194 | + remote: Installing dependencies from Pipfile.lock (ef68d1)... |
195 | 195 | remote: -----> Installing SQLite3
|
196 | 196 | OUTPUT
|
197 | 197 | end
|
|
203 | 203 |
|
204 | 204 | it 'fails the build' do
|
205 | 205 | app.deploy do |app|
|
206 |
| - expect(clean_output(app.output)).to match(Regexp.new(<<~REGEX)) |
| 206 | + expect(clean_output(app.output)).to match(Regexp.new(<<~REGEX, Regexp::MULTILINE)) |
207 | 207 | remote: -----> Python app detected
|
208 | 208 | remote: cp: cannot stat '/tmp/build_.*/requirements.txt': No such file or directory
|
209 | 209 | remote: -----> Installing python-#{DEFAULT_PYTHON_VERSION}
|
210 |
| - remote: -----> Installing pip 9.0.2, setuptools 47.1.1 and wheel 0.34.2 |
211 |
| - remote: -----> Installing dependencies with Pipenv 2018.5.18… |
| 210 | + remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2 |
| 211 | + remote: -----> Installing dependencies with Pipenv 2020.11.15 |
212 | 212 | remote: Your Pipfile.lock \\(aad8b1\\) is out of date. Expected: \\(ef68d1\\).
|
213 |
| - remote: Aborting deploy. |
| 213 | + remote: \\[DeployException\\]: .* |
| 214 | + remote: ERROR:: Aborting deploy |
214 | 215 | REGEX
|
215 | 216 | end
|
216 | 217 | end
|
|
0 commit comments