Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.7.14, 3.8.14 and 3.9.14 #1362

Merged
merged 3 commits into from
Sep 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
## Unreleased


## v218 (2022-09-07)

- Python 3.7.14, 3.8.14 and 3.9.14 are now available ([#1362](https://github.com/heroku/heroku-buildpack-python/pull/1362)).

## v217 (2022-09-06)

- Python 3.10.7 is now available ([#1361](https://github.com/heroku/heroku-buildpack-python/pull/1361)).
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ Specify a Python Runtime
Supported runtime options include:

- `python-3.10.7` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details)
- `python-3.9.13` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details)
- `python-3.8.13` on Heroku-18 and Heroku-20 only
- `python-3.7.13` on Heroku-18 and Heroku-20 only
- `python-3.9.14` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details)
- `python-3.8.14` on Heroku-18 and Heroku-20 only
- `python-3.7.14` on Heroku-18 and Heroku-20 only
6 changes: 3 additions & 3 deletions bin/default_pythons
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
# shellcheck disable=2034

LATEST_310="python-3.10.7"
LATEST_39="python-3.9.13"
LATEST_38="python-3.8.13"
LATEST_37="python-3.7.13"
LATEST_39="python-3.9.14"
LATEST_38="python-3.8.14"
LATEST_37="python-3.7.14"
LATEST_36="python-3.6.15"
LATEST_35="python-3.5.10"
LATEST_34="python-3.4.10"
Expand Down
5 changes: 5 additions & 0 deletions builds/runtimes/python-3.7.14
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/python

# shellcheck source-path=SCRIPTDIR
source "$(dirname "${0}")/python"
5 changes: 5 additions & 0 deletions builds/runtimes/python-3.8.14
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/python

# shellcheck source-path=SCRIPTDIR
source "$(dirname "${0}")/python"
5 changes: 5 additions & 0 deletions builds/runtimes/python-3.9.14
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/python

# shellcheck source-path=SCRIPTDIR
source "$(dirname "${0}")/python"
2 changes: 1 addition & 1 deletion spec/fixtures/ci_nose/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.9.13
python-3.9.14
2 changes: 1 addition & 1 deletion spec/fixtures/python_3.7/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.7.13
python-3.7.14
2 changes: 1 addition & 1 deletion spec/fixtures/python_3.8/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.8.13
python-3.8.14
2 changes: 1 addition & 1 deletion spec/fixtures/python_3.9/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.9.13
python-3.9.14
2 changes: 2 additions & 0 deletions spec/fixtures/requirements_git/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This relies upon the VCS binaries from the stack image.
git+https://github.com/certifi/python-certifi
3 changes: 0 additions & 3 deletions spec/fixtures/requirements_vcs/requirements.txt

This file was deleted.

4 changes: 2 additions & 2 deletions spec/hatchet/pip_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
include_examples 'installs successfully using pip'
end

context 'when requirements.txt contains Git/Mercurial requirements URLs' do
let(:app) { Hatchet::Runner.new('spec/fixtures/requirements_vcs') }
context 'when requirements.txt contains Git requirements URLs' do
let(:app) { Hatchet::Runner.new('spec/fixtures/requirements_git') }

include_examples 'installs successfully using pip'
end
Expand Down
6 changes: 3 additions & 3 deletions spec/hatchet/python_version_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
end
end

context 'when runtime.txt contains python-3.7.13' do
context 'when runtime.txt contains python-3.7.14' do
let(:allow_failure) { false }
let(:app) { Hatchet::Runner.new('spec/fixtures/python_3.7', allow_failure: allow_failure) }

Expand All @@ -248,7 +248,7 @@
end
end

context 'when runtime.txt contains python-3.8.13' do
context 'when runtime.txt contains python-3.8.14' do
let(:allow_failure) { false }
let(:app) { Hatchet::Runner.new('spec/fixtures/python_3.8', allow_failure: allow_failure) }

Expand All @@ -264,7 +264,7 @@
end
end

context 'when runtime.txt contains python-3.9.13' do
context 'when runtime.txt contains python-3.9.14' do
let(:app) { Hatchet::Runner.new('spec/fixtures/python_3.9') }

include_examples 'builds with the requested Python version', LATEST_PYTHON_3_9
Expand Down
6 changes: 3 additions & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
LATEST_PYTHON_3_4 = '3.4.10'
LATEST_PYTHON_3_5 = '3.5.10'
LATEST_PYTHON_3_6 = '3.6.15'
LATEST_PYTHON_3_7 = '3.7.13'
LATEST_PYTHON_3_8 = '3.8.13'
LATEST_PYTHON_3_9 = '3.9.13'
LATEST_PYTHON_3_7 = '3.7.14'
LATEST_PYTHON_3_8 = '3.8.14'
LATEST_PYTHON_3_9 = '3.9.14'
LATEST_PYTHON_3_10 = '3.10.7'
LATEST_PYPY_2_7 = '7.3.2'
LATEST_PYPY_3_6 = '7.3.2'
Expand Down