From d77c63524620bb4005300acf8fedecc6a3c6776d Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Wed, 21 Oct 2026 20:29:09 +0100 Subject: [PATCH] Add support for Python 3.15.1, 3.14.9 and 3.13.17 Release announcement: https://blog.python.org/2026/10/python-3151-3149-31317/ Changelogs: https://docs.python.org/release/3.15.1/whatsnew/changelog.html#python-3-15-1-final https://docs.python.org/release/3.14.9/whatsnew/changelog.html#python-3-14-9-final https://docs.python.org/release/3.13.17/whatsnew/changelog.html#python-3-13-17-final Binary builds: https://github.com/heroku/heroku-buildpack-python/actions/runs/39661750901 https://github.com/heroku/heroku-buildpack-python/actions/runs/39661758784 https://github.com/heroku/heroku-buildpack-python/actions/runs/39661765349 GUS-W-24613087. GUS-W-24613090. GUS-W-24613094. --- CHANGELOG.md | 6 ++++++ src/python_version.rs | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 648404a..81789b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- The Python 3.15 version alias now resolves to Python 3.15.1. ([#643](https://github.com/heroku/buildpacks-python/pull/643)) +- The Python 3.14 version alias now resolves to Python 3.14.9. ([#643](https://github.com/heroku/buildpacks-python/pull/643)) +- The Python 3.13 version alias now resolves to Python 3.13.17. ([#643](https://github.com/heroku/buildpacks-python/pull/643)) + ## [6.9.1] - 2026-10-21 ### Changed diff --git a/src/python_version.rs b/src/python_version.rs index 96b6268..d5b60a4 100644 --- a/src/python_version.rs +++ b/src/python_version.rs @@ -24,9 +24,9 @@ pub(crate) const NEXT_UNRELEASED_PYTHON_3_MINOR_VERSION: u16 = pub(crate) const LATEST_PYTHON_3_10: PythonVersion = PythonVersion::new(3, 10, 22); pub(crate) const LATEST_PYTHON_3_11: PythonVersion = PythonVersion::new(3, 11, 17); pub(crate) const LATEST_PYTHON_3_12: PythonVersion = PythonVersion::new(3, 12, 15); -pub(crate) const LATEST_PYTHON_3_13: PythonVersion = PythonVersion::new(3, 13, 16); -pub(crate) const LATEST_PYTHON_3_14: PythonVersion = PythonVersion::new(3, 14, 8); -pub(crate) const LATEST_PYTHON_3_15: PythonVersion = PythonVersion::new(3, 15, 0); +pub(crate) const LATEST_PYTHON_3_13: PythonVersion = PythonVersion::new(3, 13, 17); +pub(crate) const LATEST_PYTHON_3_14: PythonVersion = PythonVersion::new(3, 14, 9); +pub(crate) const LATEST_PYTHON_3_15: PythonVersion = PythonVersion::new(3, 15, 1); /// The Python version that was requested for a project. #[derive(Clone, Debug, PartialEq)]