Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Python 3.10.11 and 3.11.3 #22

Merged
merged 1 commit into from
Apr 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- The default Python version is now 3.11.3 (previously 3.11.2).

## [0.1.0] - 2023-03-06

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: 11,
patch: 2,
patch: 3,
};

/// Representation of a specific Python `X.Y.Z` version.
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/python_3.10/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.10.10
python-3.10.11
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.2
python-3.11.3
4 changes: 2 additions & 2 deletions tests/integration/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ mod salesforce_functions;
const LATEST_PYTHON_3_7: &str = "3.7.16";
const LATEST_PYTHON_3_8: &str = "3.8.16";
const LATEST_PYTHON_3_9: &str = "3.9.16";
const LATEST_PYTHON_3_10: &str = "3.10.10";
const LATEST_PYTHON_3_11: &str = "3.11.2";
const LATEST_PYTHON_3_10: &str = "3.10.11";
const LATEST_PYTHON_3_11: &str = "3.11.3";
const DEFAULT_PYTHON_VERSION: &str = LATEST_PYTHON_3_11;

const DEFAULT_BUILDER: &str = "heroku/builder:22";
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/pip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ fn cache_discarded_on_multiple_changes() {
[Installing Python and packaging tools]
Discarding cache since:
- the stack has changed from heroku-20 to heroku-22
- the Python version has changed from 3.10.10 to 3.11.2
- the Python version has changed from {LATEST_PYTHON_3_10} to {LATEST_PYTHON_3_11}
Installing Python {LATEST_PYTHON_3_11}
Installing pip {pip_version}, setuptools {setuptools_version} and wheel {wheel_version}

Expand Down