From 14f2726da3ed9ad0bb60103b77e2d847cc98aec9 Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Fri, 5 Dec 2025 21:11:01 +0000 Subject: [PATCH] Add support for Python 3.14.2 and 3.13.11 Changelogs: https://docs.python.org/release/3.14.2/whatsnew/changelog.html#python-3-14-2-final https://docs.python.org/release/3.13.11/whatsnew/changelog.html#python-3-13-11-final Binary builds: https://github.com/heroku/heroku-buildpack-python/actions/runs/19975436334 https://github.com/heroku/heroku-buildpack-python/actions/runs/19975433926 GUS-W-20450673. GUS-W-20450675. --- CHANGELOG.md | 2 ++ src/python_version.rs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1265f67..da15b33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Updated the default Python version from 3.13 to 3.14. ([#478](https://github.com/heroku/buildpacks-python/pull/478)) +- The Python 3.14 version alias now resolves to Python 3.14.2. ([#479](https://github.com/heroku/buildpacks-python/pull/479)) +- The Python 3.13 version alias now resolves to Python 3.13.11. ([#479](https://github.com/heroku/buildpacks-python/pull/479)) ## [2.8.1] - 2025-12-02 diff --git a/src/python_version.rs b/src/python_version.rs index 48c95f9..c9ccac5 100644 --- a/src/python_version.rs +++ b/src/python_version.rs @@ -25,8 +25,8 @@ pub(crate) const LATEST_PYTHON_3_9: PythonVersion = PythonVersion::new(3, 9, 25) pub(crate) const LATEST_PYTHON_3_10: PythonVersion = PythonVersion::new(3, 10, 19); pub(crate) const LATEST_PYTHON_3_11: PythonVersion = PythonVersion::new(3, 11, 14); pub(crate) const LATEST_PYTHON_3_12: PythonVersion = PythonVersion::new(3, 12, 12); -pub(crate) const LATEST_PYTHON_3_13: PythonVersion = PythonVersion::new(3, 13, 10); -pub(crate) const LATEST_PYTHON_3_14: PythonVersion = PythonVersion::new(3, 14, 1); +pub(crate) const LATEST_PYTHON_3_13: PythonVersion = PythonVersion::new(3, 13, 11); +pub(crate) const LATEST_PYTHON_3_14: PythonVersion = PythonVersion::new(3, 14, 2); /// The Python version that was requested for a project. #[derive(Clone, Debug, PartialEq)]