Skip to content

Commit

Permalink
Fix finding interpreters from bundled sysconfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed May 7, 2023
1 parent 0072046 commit 4cca6b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

* Fix finding interpreters from bundled sysconfigs in [#1598](https://github.com/PyO3/maturin/pull/1598)

## [0.15.0] - 2023-05-07

* **Breaking Change**: Build with `--no-default-features` by default when bootstrapping from sdist in [#1333](https://github.com/PyO3/maturin/pull/1333)
Expand Down
2 changes: 1 addition & 1 deletion src/python_interpreter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ impl PythonInterpreter {
.filter_map(|config| match requires_python {
Some(requires_python) => {
if requires_python
.contains(&Version::from_release(vec![config.major, config.major]))
.contains(&Version::from_release(vec![config.major, config.minor]))
{
Some(Self::from_config(config))
} else {
Expand Down

0 comments on commit 4cca6b9

Please sign in to comment.