diff --git a/CHANGELOG.md b/CHANGELOG.md index e51f4d0..adf8a5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Changed the default Python version from 3.11 to 3.12. ([#152](https://github.com/heroku/buildpacks-python/pull/152)) - Updated wheel from 0.41.3 to 0.42.0. ([#150](https://github.com/heroku/buildpacks-python/pull/150)) ## [0.7.3] - 2023-11-06 diff --git a/src/python_version.rs b/src/python_version.rs index 884bae7..f5ac18f 100644 --- a/src/python_version.rs +++ b/src/python_version.rs @@ -8,8 +8,8 @@ use std::path::Path; /// The Python version that will be installed if the project does not specify an explicit version. pub(crate) const DEFAULT_PYTHON_VERSION: PythonVersion = PythonVersion { major: 3, - minor: 11, - patch: 6, + minor: 12, + patch: 0, }; /// Representation of a specific Python `X.Y.Z` version. diff --git a/tests/mod.rs b/tests/mod.rs index 25f1e46..7724b34 100644 --- a/tests/mod.rs +++ b/tests/mod.rs @@ -17,7 +17,7 @@ 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.6"; const LATEST_PYTHON_3_12: &str = "3.12.0"; -const DEFAULT_PYTHON_VERSION: &str = LATEST_PYTHON_3_11; +const DEFAULT_PYTHON_VERSION: &str = LATEST_PYTHON_3_12; const DEFAULT_BUILDER: &str = "heroku/builder:22";