Skip to content

Commit

Permalink
Add support for Python 3.11.8 and 3.12.2 (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
edmorley authored Feb 7, 2024
1 parent a702ccd commit 2fde32d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Updated the default Python version from 3.12.1 to 3.12.2. ([#167](https://github.com/heroku/buildpacks-python/pull/167))

## [0.8.1] - 2024-01-11

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/python_version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::path::Path;
pub(crate) const DEFAULT_PYTHON_VERSION: PythonVersion = PythonVersion {
major: 3,
minor: 12,
patch: 1,
patch: 2,
};

/// Representation of a specific Python `X.Y.Z` version.
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/python_3.11/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.11.7
python-3.11.8
2 changes: 1 addition & 1 deletion tests/fixtures/python_3.12/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.12.1
python-3.12.2
4 changes: 2 additions & 2 deletions tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const LATEST_PYTHON_3_7: &str = "3.7.17";
const LATEST_PYTHON_3_8: &str = "3.8.18";
const LATEST_PYTHON_3_9: &str = "3.9.18";
const LATEST_PYTHON_3_10: &str = "3.10.13";
const LATEST_PYTHON_3_11: &str = "3.11.7";
const LATEST_PYTHON_3_12: &str = "3.12.1";
const LATEST_PYTHON_3_11: &str = "3.11.8";
const LATEST_PYTHON_3_12: &str = "3.12.2";
const DEFAULT_PYTHON_VERSION: &str = LATEST_PYTHON_3_12;

const DEFAULT_BUILDER: &str = "heroku/builder:22";
Expand Down

0 comments on commit 2fde32d

Please sign in to comment.