From 7464a2ba4fd3c529e737e0e4771091c0909be560 Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Thu, 1 Oct 2026 11:11:38 +0100 Subject: [PATCH] Add support for Python 3.14.8, 3.13.16, 3.12.15, 3.11.17 and 3.10.22 Release announcement: https://blog.python.org/2026/10/python-31022-31117/ Changelogs: https://docs.python.org/release/3.14.8/whatsnew/changelog.html#python-3-14-8-final https://docs.python.org/release/3.13.16/whatsnew/changelog.html#python-3-13-16-final https://docs.python.org/release/3.12.15/whatsnew/changelog.html#python-3-12-15-final https://docs.python.org/release/3.11.17/whatsnew/changelog.html#python-3-11-17-final https://docs.python.org/release/3.10.22/whatsnew/changelog.html#python-3-10-22-final Binary builds: https://github.com/heroku/heroku-buildpack-python/actions/runs/36847306898 https://github.com/heroku/heroku-buildpack-python/actions/runs/36847311495 https://github.com/heroku/heroku-buildpack-python/actions/runs/36847316297 https://github.com/heroku/heroku-buildpack-python/actions/runs/36847320674 https://github.com/heroku/heroku-buildpack-python/actions/runs/36847325440 GUS-W-20590596. GUS-W-20590517. GUS-W-24371669. GUS-W-24371672. GUS-W-24371675. --- CHANGELOG.md | 5 +++++ lib/python_version.sh | 10 +++++----- spec/spec_helper.rb | 10 +++++----- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1b3b3113..82dfeac2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## [Unreleased] +- The Python 3.14 version alias now resolves to Python 3.14.8. ([#2145](https://github.com/heroku/heroku-buildpack-python/pull/2145)) +- The Python 3.13 version alias now resolves to Python 3.13.16. ([#2145](https://github.com/heroku/heroku-buildpack-python/pull/2145)) +- The Python 3.12 version alias now resolves to Python 3.12.15. ([#2145](https://github.com/heroku/heroku-buildpack-python/pull/2145)) +- The Python 3.11 version alias now resolves to Python 3.11.17. ([#2145](https://github.com/heroku/heroku-buildpack-python/pull/2145)) +- The Python 3.10 version alias now resolves to Python 3.10.22. ([#2145](https://github.com/heroku/heroku-buildpack-python/pull/2145)) ## [v352] - 2026-09-03 diff --git a/lib/python_version.sh b/lib/python_version.sh index d1e56dbba..d73c34adb 100644 --- a/lib/python_version.sh +++ b/lib/python_version.sh @@ -4,11 +4,11 @@ # however, it helps Shellcheck realise the options under which these functions will run. set -euo pipefail -LATEST_PYTHON_3_10="3.10.21" -LATEST_PYTHON_3_11="3.11.16" -LATEST_PYTHON_3_12="3.12.14" -LATEST_PYTHON_3_13="3.13.15" -LATEST_PYTHON_3_14="3.14.7" +LATEST_PYTHON_3_10="3.10.22" +LATEST_PYTHON_3_11="3.11.17" +LATEST_PYTHON_3_12="3.12.15" +LATEST_PYTHON_3_13="3.13.16" +LATEST_PYTHON_3_14="3.14.8" OLDEST_SUPPORTED_PYTHON_3_MINOR_VERSION=10 NEWEST_SUPPORTED_PYTHON_3_MINOR_VERSION=14 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9016f6e91..59385397d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -12,11 +12,11 @@ FIXTURE_DIR = Pathname.new(__FILE__).parent.join('fixtures') -LATEST_PYTHON_3_10 = '3.10.21' -LATEST_PYTHON_3_11 = '3.11.16' -LATEST_PYTHON_3_12 = '3.12.14' -LATEST_PYTHON_3_13 = '3.13.15' -LATEST_PYTHON_3_14 = '3.14.7' +LATEST_PYTHON_3_10 = '3.10.22' +LATEST_PYTHON_3_11 = '3.11.17' +LATEST_PYTHON_3_12 = '3.12.15' +LATEST_PYTHON_3_13 = '3.13.16' +LATEST_PYTHON_3_14 = '3.14.8' DEFAULT_PYTHON_FULL_VERSION = LATEST_PYTHON_3_14 DEFAULT_PYTHON_MAJOR_VERSION = DEFAULT_PYTHON_FULL_VERSION.gsub(/\.\d+$/, '')