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 1d34fdc
Showing 1 changed file with 1 addition and 1 deletion.
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 1d34fdc

Please sign in to comment.