Skip to content

Commit 63a32d3

Browse files
authored
1 parent d4dc6c8 commit 63a32d3

6 files changed

Lines changed: 8 additions & 12 deletions

File tree

CHANGELOG.md

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

1010
### Changed
1111

12+
- Updated the default Python version from 3.12.4 to 3.12.5. ([#244](https://github.com/heroku/buildpacks-python/pull/244))
1213
- Updated pip from 24.1.2 to 24.2. ([#236](https://github.com/heroku/buildpacks-python/pull/236))
1314

1415
## [0.14.0] - 2024-08-07

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ To install a different version, add a `runtime.txt` file to your app’s root di
4343

4444
```term
4545
$ cat runtime.txt
46-
python-3.12.4
46+
python-3.12.5
4747
```
4848

4949
In the future this buildpack will also support specifying the Python version via a `.python-version` file (see [#6](https://github.com/heroku/buildpacks-python/issues/6)).

src/python_version.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use std::path::Path;
99
pub(crate) const DEFAULT_PYTHON_VERSION: PythonVersion = PythonVersion {
1010
major: 3,
1111
minor: 12,
12-
patch: 4,
12+
patch: 5,
1313
};
1414

1515
/// Representation of a specific Python `X.Y.Z` version.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
python-3.12.4
1+
python-3.12.5

tests/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const LATEST_PYTHON_3_8: &str = "3.8.19";
1818
const LATEST_PYTHON_3_9: &str = "3.9.19";
1919
const LATEST_PYTHON_3_10: &str = "3.10.14";
2020
const LATEST_PYTHON_3_11: &str = "3.11.9";
21-
const LATEST_PYTHON_3_12: &str = "3.12.4";
21+
const LATEST_PYTHON_3_12: &str = "3.12.5";
2222
const DEFAULT_PYTHON_VERSION: &str = LATEST_PYTHON_3_12;
2323

2424
const DEFAULT_BUILDER: &str = "heroku/builder:24";

tests/pip_test.rs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,11 @@ fn pip_basic_install_and_cache_reuse() {
102102
#[test]
103103
#[ignore = "integration test"]
104104
fn pip_cache_invalidation_with_compatible_metadata() {
105-
// TODO: Re-enable this test the next time the default-Python/pip versions change, at which point
106-
// there will be a historic buildpack version with compatible metadata that triggers invalidation.
107-
#![allow(unreachable_code)]
108-
return;
109-
110105
let config = default_build_config("tests/fixtures/pip_basic");
111106

112107
TestRunner::default().build(
113108
config.clone().buildpacks([BuildpackReference::Other(
114-
"docker://docker.io/heroku/buildpack-python:TODO".to_string(),
109+
"docker://docker.io/heroku/buildpack-python:0.14.0".to_string(),
115110
)]),
116111
|context| {
117112
context.rebuild(config, |rebuild_context| {
@@ -125,8 +120,8 @@ fn pip_cache_invalidation_with_compatible_metadata() {
125120
126121
[Installing Python and pip]
127122
Discarding cache since:
128-
- The Python version has changed from 3.12.3 to {DEFAULT_PYTHON_VERSION}
129-
- The pip version has changed from 24.0 to {PIP_VERSION}
123+
- The Python version has changed from 3.12.4 to {DEFAULT_PYTHON_VERSION}
124+
- The pip version has changed from 24.1.2 to {PIP_VERSION}
130125
Installing Python {DEFAULT_PYTHON_VERSION}
131126
Installing pip {PIP_VERSION}
132127

0 commit comments

Comments
 (0)