Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-python
Commits
7b9e8217
Commit
7b9e8217
authored
Nov 12, 2018
by
Casey Faist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add warning detection and per-stack checks
parent
73d37cba
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
52 additions
and
3 deletions
+52
-3
requirements.txt
test/fixtures/python2_warn/requirements.txt
+1
-0
runtime.txt
test/fixtures/python2_warn/runtime.txt
+1
-0
requirements.txt
test/fixtures/python3_4_warn/requirements.txt
+1
-0
runtime.txt
test/fixtures/python3_4_warn/runtime.txt
+1
-0
requirements.txt
test/fixtures/python3_5_warn/requirements.txt
+1
-0
runtime.txt
test/fixtures/python3_5_warn/runtime.txt
+1
-0
requirements.txt
test/fixtures/python3_6_warn/requirements.txt
+1
-0
runtime.txt
test/fixtures/python3_6_warn/runtime.txt
+1
-0
run
test/run
+44
-3
No files found.
test/fixtures/python2_warn/requirements.txt
0 → 100644
View file @
7b9e8217
requests
\ No newline at end of file
test/fixtures/python2_warn/runtime.txt
0 → 100644
View file @
7b9e8217
python-2.7.14
test/fixtures/python3_4_warn/requirements.txt
0 → 100644
View file @
7b9e8217
flask
test/fixtures/python3_4_warn/runtime.txt
0 → 100644
View file @
7b9e8217
python-3.4.0
test/fixtures/python3_5_warn/requirements.txt
0 → 100644
View file @
7b9e8217
flask
test/fixtures/python3_5_warn/runtime.txt
0 → 100644
View file @
7b9e8217
python-3.5.3
test/fixtures/python3_6_warn/requirements.txt
0 → 100644
View file @
7b9e8217
requests
\ No newline at end of file
test/fixtures/python3_6_warn/runtime.txt
0 → 100644
View file @
7b9e8217
python-3.6.5
test/run
View file @
7b9e8217
...
...
@@ -87,19 +87,48 @@ testPylibmc() {
assertCapturedSuccess
}
testPython2_warn
()
{
compile
"python2_warn"
assertCaptured
"python-2.7.14"
assertCaptured
"security update!"
assertCapturedSuccess
}
testPython2
()
{
compile
"python2"
assertCaptured
"python-2.7.15"
assertCapturedSuccess
}
# This will succeed on Cedar-14 and fail on 16 and 18
# This fail
testPython3_4_warn
()
{
compile
"python3_4_warn"
if
[[
$STACK
=
"cedar-14"
]]
;
then
assertCaptured
"python-3.4.0"
assertCapturedSuccess
else
assertCapturedError
fi
}
# This fail
testPython3_4
()
{
compile
"python3_4"
assertCaptured
"python-3.4.9"
assertCapturedError
}
# This fail
testPython3_5_warn
()
{
compile
"python3_5_warn"
if
[[
$STACK
=
"cedar-14"
]]
;
then
assertCaptured
"python-3.5.3"
assertCapturedSuccess
else
assertCapturedError
fi
}
# This will fail
testPython3_5
()
{
compile
"python3_5"
...
...
@@ -107,6 +136,14 @@ testPython3_5() {
assertCapturedError
}
# This will warn
testPython3_6_warn
()
{
compile
"python3_6_warn"
assertCaptured
"python-3.6.5"
assertCaptured
"security update!"
assertCapturedSuccess
}
testPython3_6
()
{
compile
"python3_6"
assertCaptured
"python-3.6.6"
...
...
@@ -122,8 +159,12 @@ testPython3_6_7() {
testPython3_7
()
{
compile
"python3_7"
if
[[
$STACK
=
"cedar-14"
]]
;
then
assertCapturedError
else
assertCaptured
"python-3.7.0"
assertCapturedSuccess
fi
}
# This will fail
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment