Skip to content

Commit

Permalink
Add support for Python 3.10.6 (#1342)
Browse files Browse the repository at this point in the history
  • Loading branch information
edmorley committed Aug 2, 2022
1 parent 5f764ec commit 63941dd
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Python 3.10.6 is now available ([#1342](https://github.com/heroku/heroku-buildpack-python/pull/1342)).
- The default Python version for new apps is now 3.10.6 (previously 3.10.5) ([#1342](https://github.com/heroku/heroku-buildpack-python/pull/1342)).

## v213 (2022-06-14)

Expand Down
2 changes: 1 addition & 1 deletion bin/default_pythons
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# the env vars to subprocesses.
# shellcheck disable=2034

LATEST_310="python-3.10.5"
LATEST_310="python-3.10.6"
LATEST_39="python-3.9.13"
LATEST_38="python-3.8.13"
LATEST_37="python-3.7.13"
Expand Down
5 changes: 5 additions & 0 deletions builds/runtimes/python-3.10.6
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/pipenv_and_runtime_txt/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.10.5
python-3.10.6
2 changes: 1 addition & 1 deletion spec/fixtures/python_3.10/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.10.5
python-3.10.6
2 changes: 1 addition & 1 deletion spec/fixtures/runtime_txt_only/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.10.5
python-3.10.6
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

python-3.10.5
python-3.10.6

2 changes: 1 addition & 1 deletion spec/hatchet/python_version_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@
include_examples 'builds with the requested Python version', LATEST_PYTHON_3_9
end

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

include_examples 'builds with the requested Python version', LATEST_PYTHON_3_10
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
LATEST_PYTHON_3_7 = '3.7.13'
LATEST_PYTHON_3_8 = '3.8.13'
LATEST_PYTHON_3_9 = '3.9.13'
LATEST_PYTHON_3_10 = '3.10.5'
LATEST_PYTHON_3_10 = '3.10.6'
LATEST_PYPY_2_7 = '7.3.2'
LATEST_PYPY_3_6 = '7.3.2'
DEFAULT_PYTHON_VERSION = LATEST_PYTHON_3_10
Expand Down

0 comments on commit 63941dd

Please sign in to comment.