Skip to content

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Changed
1111

12+
- The Python 3.13 version alias now resolves to Python 3.13.4. ([#374](https://github.com/heroku/buildpacks-python/pull/374))
13+
- The Python 3.12 version alias now resolves to Python 3.12.11. ([#374](https://github.com/heroku/buildpacks-python/pull/374))
14+
- The Python 3.11 version alias now resolves to Python 3.11.13. ([#374](https://github.com/heroku/buildpacks-python/pull/374))
15+
- The Python 3.10 version alias now resolves to Python 3.10.18. ([#374](https://github.com/heroku/buildpacks-python/pull/374))
16+
- The Python 3.9 version alias now resolves to Python 3.9.23. ([#374](https://github.com/heroku/buildpacks-python/pull/374))
1217
- Updated uv from 0.7.6 to 0.7.10. ([#375](https://github.com/heroku/buildpacks-python/pull/375))
1318

1419
## [2.1.0] - 2025-05-20

src/python_version.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ pub(crate) const NEWEST_SUPPORTED_PYTHON_3_MINOR_VERSION: u16 = 13;
2121
pub(crate) const NEXT_UNRELEASED_PYTHON_3_MINOR_VERSION: u16 =
2222
NEWEST_SUPPORTED_PYTHON_3_MINOR_VERSION + 1;
2323

24-
pub(crate) const LATEST_PYTHON_3_9: PythonVersion = PythonVersion::new(3, 9, 22);
25-
pub(crate) const LATEST_PYTHON_3_10: PythonVersion = PythonVersion::new(3, 10, 17);
26-
pub(crate) const LATEST_PYTHON_3_11: PythonVersion = PythonVersion::new(3, 11, 12);
27-
pub(crate) const LATEST_PYTHON_3_12: PythonVersion = PythonVersion::new(3, 12, 10);
28-
pub(crate) const LATEST_PYTHON_3_13: PythonVersion = PythonVersion::new(3, 13, 3);
24+
pub(crate) const LATEST_PYTHON_3_9: PythonVersion = PythonVersion::new(3, 9, 23);
25+
pub(crate) const LATEST_PYTHON_3_10: PythonVersion = PythonVersion::new(3, 10, 18);
26+
pub(crate) const LATEST_PYTHON_3_11: PythonVersion = PythonVersion::new(3, 11, 13);
27+
pub(crate) const LATEST_PYTHON_3_12: PythonVersion = PythonVersion::new(3, 12, 11);
28+
pub(crate) const LATEST_PYTHON_3_13: PythonVersion = PythonVersion::new(3, 13, 4);
2929

3030
/// The Python version that was requested for a project.
3131
#[derive(Clone, Debug, PartialEq)]

tests/uv_test.rs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ fn uv_basic_install_and_cache_reuse() {
6060
'/layers/heroku_python/venv/lib/python3.13/site-packages'\\]
6161
6262
uv {UV_VERSION}
63-
Using Python 3.13.3 environment at: /layers/heroku_python/venv
63+
Using Python {DEFAULT_PYTHON_FULL_VERSION} environment at: /layers/heroku_python/venv
6464
Package Version
6565
----------------- -------
6666
typing-extensions 4.13.2
@@ -175,7 +175,9 @@ fn uv_cache_previous_buildpack_version() {
175175
Using Python version {DEFAULT_PYTHON_VERSION} specified in .python-version
176176
177177
\\[Installing Python\\]
178-
Using cached Python 3.13.3
178+
Discarding cached Python 3.13.3 since:
179+
- The Python version has changed from 3.13.3 to {DEFAULT_PYTHON_FULL_VERSION}
180+
Installing Python {DEFAULT_PYTHON_FULL_VERSION}
179181
180182
\\[Installing uv\\]
181183
Discarding cached uv 0.7.3
@@ -215,12 +217,7 @@ fn uv_editable_git_compiled() {
215217
Creating virtual environment
216218
Running 'uv sync --locked --no-default-groups'
217219
Resolved 2 packages in .+ms
218-
Building uv-editable-git-compiled @ file:///workspace
219-
Updating https://github.com/pypa/wheel.git \\(0.44.0\\)
220-
Built uv-editable-git-compiled @ file:///workspace
221-
Updated https://github.com/pypa/wheel.git \\(7bb46d7727e6e89fe56b3c78297b3af2672bbbe2\\)
222-
Building extension-dist @ git\\+https://github.com/pypa/wheel.git@7bb46d7727e6e89fe56b3c78297b3af2672bbbe2#subdirectory=tests/testdata/extension.dist
223-
Built extension-dist @ git\\+https://github.com/pypa/wheel.git@7bb46d7727e6e89fe56b3c78297b3af2672bbbe2#subdirectory=tests/testdata/extension.dist
220+
(?s:.)+
224221
Prepared 2 packages in .+s
225222
Installed 2 packages in .+s
226223
Bytecode compiled 0 files in .+s

0 commit comments

Comments
 (0)