From 89cffe7ff84b79bf6a64b94473468829a0363930 Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Tue, 7 Apr 2026 23:15:23 +0100 Subject: [PATCH] Add support for Python 3.14.4 and 3.13.13 Release announcement: https://blog.python.org/2026/04/python-3150a8-3144-31313/ Changelogs: https://docs.python.org/release/3.14.4/whatsnew/changelog.html#python-3-14-4-final https://docs.python.org/release/3.13.13/whatsnew/changelog.html#python-3-13-13-final Binary builds: https://github.com/heroku/heroku-buildpack-python/actions/runs/24106929682 https://github.com/heroku/heroku-buildpack-python/actions/runs/24106935699 GUS-W-20590503. GUS-W-20590550. --- CHANGELOG.md | 2 ++ src/python_version.rs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8befd14..4230d1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- The Python 3.14 version alias now resolves to Python 3.14.4. ([#548](https://github.com/heroku/buildpacks-python/pull/548)) +- The Python 3.13 version alias now resolves to Python 3.13.13. ([#548](https://github.com/heroku/buildpacks-python/pull/548)) - The forbidden env vars check now reports all forbidden env vars found rather than only the first. ([#542](https://github.com/heroku/buildpacks-python/pull/542)) - The forbidden env vars check now checks for known problematic Poetry env vars too. ([#542](https://github.com/heroku/buildpacks-python/pull/542)) diff --git a/src/python_version.rs b/src/python_version.rs index 1b41f2e..7d9a7e5 100644 --- a/src/python_version.rs +++ b/src/python_version.rs @@ -24,8 +24,8 @@ pub(crate) const NEXT_UNRELEASED_PYTHON_3_MINOR_VERSION: u16 = pub(crate) const LATEST_PYTHON_3_10: PythonVersion = PythonVersion::new(3, 10, 20); pub(crate) const LATEST_PYTHON_3_11: PythonVersion = PythonVersion::new(3, 11, 15); pub(crate) const LATEST_PYTHON_3_12: PythonVersion = PythonVersion::new(3, 12, 13); -pub(crate) const LATEST_PYTHON_3_13: PythonVersion = PythonVersion::new(3, 13, 12); -pub(crate) const LATEST_PYTHON_3_14: PythonVersion = PythonVersion::new(3, 14, 3); +pub(crate) const LATEST_PYTHON_3_13: PythonVersion = PythonVersion::new(3, 13, 13); +pub(crate) const LATEST_PYTHON_3_14: PythonVersion = PythonVersion::new(3, 14, 4); /// The Python version that was requested for a project. #[derive(Clone, Debug, PartialEq)]