Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
heroku-buildpack-python
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Evili del Rio
heroku-buildpack-python
Commits
39e4e857
Unverified
Commit
39e4e857
authored
Oct 21, 2019
by
Casey
Committed by
GitHub
Oct 21, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #886 from heroku/we-are-the-walrus
We Are The Walrus (Python 3.8 Support)
parents
6bf3a75d
0207d8af
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
35 additions
and
2 deletions
+35
-2
CHANGELOG.md
CHANGELOG.md
+1
-0
bin/compile
bin/compile
+1
-0
bin/default_pythons
bin/default_pythons
+3
-2
bin/steps/python
bin/steps/python
+7
-0
test/fixtures/python3_8/requirements.txt
test/fixtures/python3_8/requirements.txt
+1
-0
test/fixtures/python3_8/runtime.txt
test/fixtures/python3_8/runtime.txt
+1
-0
test/fixtures/python3_8_fail/requirements.txt
test/fixtures/python3_8_fail/requirements.txt
+1
-0
test/fixtures/python3_8_fail/runtime.txt
test/fixtures/python3_8_fail/runtime.txt
+1
-0
test/run-versions
test/run-versions
+19
-0
No files found.
CHANGELOG.md
View file @
39e4e857
...
...
@@ -2,6 +2,7 @@
# Master
-
Add support for Python 3.8 branch
-
Sqlite3 Update:
-
Add Tests
-
Test for Pysqlite
...
...
bin/compile
View file @
39e4e857
...
...
@@ -52,6 +52,7 @@ export VENDOR_URL
source
"
$BIN_DIR
/default_pythons"
# Supported Python Branches
PY38
=
"python-3.8"
PY37
=
"python-3.7"
PY36
=
"python-3.6"
PY35
=
"python-3.5"
...
...
bin/default_pythons
View file @
39e4e857
#!/usr/bin/env bash
DEFAULT_PYTHON_VERSION
=
"python-3.6.9"
LATEST_38
=
"python-3.8.0"
LATEST_37
=
"python-3.7.5"
LATEST_36
=
"python-3.6.9"
LATEST_37
=
"python-3.7.4"
LATEST_35
=
"python-3.5.7"
LATEST_34
=
"python-3.4.10"
LATEST_27
=
"python-2.7.16"
export
DEFAULT_PYTHON_VERSION LATEST_37 LATEST_36 LATEST_35 LATEST_34 LATEST_27
export
DEFAULT_PYTHON_VERSION LATEST_3
8 LATEST_3
7 LATEST_36 LATEST_35 LATEST_34 LATEST_27
bin/steps/python
View file @
39e4e857
...
...
@@ -11,6 +11,13 @@ SECURITY_UPDATE="Python has released a security update! Please consider upgradin
# check if runtime exists
if
curl
--output
/dev/null
--silent
--head
--fail
"
$VENDORED_PYTHON
"
;
then
if
[[
"
$PYTHON_VERSION
"
==
$PY38
*
]]
;
then
# do things to alert the user of security release available
if
[
"
$PYTHON_VERSION
"
!=
"
$LATEST_38
"
]
;
then
puts-warn
"
$SECURITY_UPDATE
"
"
$LATEST_38
"
echo
" Learn More: https://devcenter.heroku.com/articles/python-runtimes"
fi
fi
if
[[
"
$PYTHON_VERSION
"
==
$PY37
*
]]
;
then
# do things to alert the user of security release available
if
[
"
$PYTHON_VERSION
"
!=
"
$LATEST_37
"
]
;
then
...
...
test/fixtures/python3_8/requirements.txt
0 → 100644
View file @
39e4e857
requests
test/fixtures/python3_8/runtime.txt
0 → 100644
View file @
39e4e857
python-3.8.0
test/fixtures/python3_8_fail/requirements.txt
0 → 100644
View file @
39e4e857
flask
test/fixtures/python3_8_fail/runtime.txt
0 → 100644
View file @
39e4e857
python-3.8.99
test/run-versions
View file @
39e4e857
...
...
@@ -146,6 +146,25 @@ testPython3_7_fail() {
assertCapturedError
}
testPython3_8
()
{
updateVersion
"python3_8"
$LATEST_38
compile
"python3_8"
if
[[
$STACK
=
"cedar-14"
]]
;
then
assertCapturedError
else
assertNotCaptured
"security update"
assertCaptured
$LATEST_38
assertCaptured
"Installing SQLite3"
assertCapturedSuccess
fi
}
testPython3_8_fail
()
{
compile
"python3_8_fail"
assertCaptured
"Aborting"
assertCapturedError
}
pushd
$(
dirname
0
)
>
/dev/null
popd
>
/dev/null
...
...
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