diff --git a/CHANGELOG.md b/CHANGELOG.md index bd0cec22e..a2cf250bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ ## Unreleased - Added support for Python 3.12. ([#1490](https://github.com/heroku/heroku-buildpack-python/pull/1490)) +- Added support for Python 3.11.6. ([#1491](https://github.com/heroku/heroku-buildpack-python/pull/1491)) +- Changed the default Python version for new apps from 3.11.5 to 3.11.6. ([#1491](https://github.com/heroku/heroku-buildpack-python/pull/1491)) ## v235 (2023-08-25) diff --git a/README.md b/README.md index 6483aeda2..6ab2c9aee 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.5 +Current default Python Runtime: Python 3.11.6 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`. @@ -61,7 +61,7 @@ Specify a Python Runtime Supported runtime options include: - `python-3.12.0` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details) -- `python-3.11.5` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details) +- `python-3.11.6` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details) - `python-3.10.13` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details) - `python-3.9.18` on all [supported stacks](https://devcenter.heroku.com/articles/stack#stack-support-details) - `python-3.8.18` on Heroku-20 only diff --git a/bin/default_pythons b/bin/default_pythons index 6789ed39d..2a044bb52 100755 --- a/bin/default_pythons +++ b/bin/default_pythons @@ -6,7 +6,7 @@ # shellcheck disable=2034 LATEST_312="python-3.12.0" -LATEST_311="python-3.11.5" +LATEST_311="python-3.11.6" LATEST_310="python-3.10.13" LATEST_39="python-3.9.18" LATEST_38="python-3.8.18" diff --git a/spec/fixtures/python_3.11/runtime.txt b/spec/fixtures/python_3.11/runtime.txt index 3124d55e9..76b6e496e 100644 --- a/spec/fixtures/python_3.11/runtime.txt +++ b/spec/fixtures/python_3.11/runtime.txt @@ -1 +1 @@ -python-3.11.5 +python-3.11.6 diff --git a/spec/hatchet/python_version_spec.rb b/spec/hatchet/python_version_spec.rb index bce79d2da..6f8cde80e 100644 --- a/spec/hatchet/python_version_spec.rb +++ b/spec/hatchet/python_version_spec.rb @@ -175,7 +175,7 @@ include_examples 'builds with the requested Python version', LATEST_PYTHON_3_10 end - context 'when runtime.txt contains python-3.11.5' do + context 'when runtime.txt contains python-3.11.6' 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 3aeeb02bd..1bbcaaff3 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -10,7 +10,7 @@ LATEST_PYTHON_3_8 = '3.8.18' LATEST_PYTHON_3_9 = '3.9.18' LATEST_PYTHON_3_10 = '3.10.13' -LATEST_PYTHON_3_11 = '3.11.5' +LATEST_PYTHON_3_11 = '3.11.6' LATEST_PYTHON_3_12 = '3.12.0' DEFAULT_PYTHON_VERSION = LATEST_PYTHON_3_11