diff --git a/CHANGELOG.md b/CHANGELOG.md index 59cf01c7c..2c000cb13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +- Python 3.10.11 and 3.11.3 are now available ([#1433](https://github.com/heroku/heroku-buildpack-python/pull/1433)). +- The default Python version for new apps is now 3.11.3 (previously 3.11.2) ([#1433](https://github.com/heroku/heroku-buildpack-python/pull/1433)). ## v229 (2023-03-10) diff --git a/README.md b/README.md index 7074f808b..827731db0 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ A `requirements.txt` must be present at the root of your application's repositor To specify your python version, you also need a `runtime.txt` file - unless you are using the default Python runtime version. -Current default Python Runtime: Python 3.11.2 +Current default Python Runtime: Python 3.11.3 Alternatively, you can provide a `setup.py` file, or a `Pipfile`. Using `pipenv` will generate `runtime.txt` at build time if one of the field `python_version` or `python_full_version` is specified in the `requires` section of your `Pipfile`. @@ -60,8 +60,8 @@ Specify a Python Runtime Supported runtime options include: -- `python-3.11.2` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details) -- `python-3.10.10` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details) +- `python-3.11.3` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details) +- `python-3.10.11` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details) - `python-3.9.16` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details) - `python-3.8.16` on Heroku-18 and Heroku-20 only - `python-3.7.16` on Heroku-18 and Heroku-20 only diff --git a/bin/default_pythons b/bin/default_pythons index ec0ef4820..49c74e5ee 100755 --- a/bin/default_pythons +++ b/bin/default_pythons @@ -5,8 +5,8 @@ # the env vars to subprocesses. # shellcheck disable=2034 -LATEST_311="python-3.11.2" -LATEST_310="python-3.10.10" +LATEST_311="python-3.11.3" +LATEST_310="python-3.10.11" LATEST_39="python-3.9.16" LATEST_38="python-3.8.16" LATEST_37="python-3.7.16" diff --git a/spec/fixtures/pipenv_and_runtime_txt/runtime.txt b/spec/fixtures/pipenv_and_runtime_txt/runtime.txt index 97691386f..c2d5a35eb 100644 --- a/spec/fixtures/pipenv_and_runtime_txt/runtime.txt +++ b/spec/fixtures/pipenv_and_runtime_txt/runtime.txt @@ -1 +1 @@ -python-3.10.10 +python-3.10.11 diff --git a/spec/fixtures/python_3.10/runtime.txt b/spec/fixtures/python_3.10/runtime.txt index 97691386f..c2d5a35eb 100644 --- a/spec/fixtures/python_3.10/runtime.txt +++ b/spec/fixtures/python_3.10/runtime.txt @@ -1 +1 @@ -python-3.10.10 +python-3.10.11 diff --git a/spec/fixtures/python_3.11/runtime.txt b/spec/fixtures/python_3.11/runtime.txt index 04d03e383..afe12ad1b 100644 --- a/spec/fixtures/python_3.11/runtime.txt +++ b/spec/fixtures/python_3.11/runtime.txt @@ -1 +1 @@ -python-3.11.2 +python-3.11.3 diff --git a/spec/fixtures/runtime_txt_only/runtime.txt b/spec/fixtures/runtime_txt_only/runtime.txt index 97691386f..c2d5a35eb 100644 --- a/spec/fixtures/runtime_txt_only/runtime.txt +++ b/spec/fixtures/runtime_txt_only/runtime.txt @@ -1 +1 @@ -python-3.10.10 +python-3.10.11 diff --git a/spec/fixtures/runtime_txt_with_stray_whitespace/runtime.txt b/spec/fixtures/runtime_txt_with_stray_whitespace/runtime.txt index da45af655..43ee2eca8 100644 --- a/spec/fixtures/runtime_txt_with_stray_whitespace/runtime.txt +++ b/spec/fixtures/runtime_txt_with_stray_whitespace/runtime.txt @@ -1,3 +1,3 @@ - python-3.10.10 + python-3.10.11 \ No newline at end of file diff --git a/spec/hatchet/python_version_spec.rb b/spec/hatchet/python_version_spec.rb index 6b4bf64bd..424ff5ef9 100644 --- a/spec/hatchet/python_version_spec.rb +++ b/spec/hatchet/python_version_spec.rb @@ -267,13 +267,13 @@ include_examples 'builds with the requested Python version', LATEST_PYTHON_3_9 end - context 'when runtime.txt contains python-3.10.10' do + context 'when runtime.txt contains python-3.10.11' do let(:app) { Hatchet::Runner.new('spec/fixtures/python_3.10') } include_examples 'builds with the requested Python version', LATEST_PYTHON_3_10 end - context 'when runtime.txt contains python-3.11.2' do + context 'when runtime.txt contains python-3.11.3' do let(:app) { Hatchet::Runner.new('spec/fixtures/python_3.11') } include_examples 'builds with the requested Python version', LATEST_PYTHON_3_11 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index f34d94f65..f7425afda 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -9,8 +9,8 @@ LATEST_PYTHON_3_7 = '3.7.16' LATEST_PYTHON_3_8 = '3.8.16' LATEST_PYTHON_3_9 = '3.9.16' -LATEST_PYTHON_3_10 = '3.10.10' -LATEST_PYTHON_3_11 = '3.11.2' +LATEST_PYTHON_3_10 = '3.10.11' +LATEST_PYTHON_3_11 = '3.11.3' DEFAULT_PYTHON_VERSION = LATEST_PYTHON_3_11 PIP_VERSION = '23.0.1'