From 1d34fdcaa1f278c646f78f64cd69c0d37a79cc76 Mon Sep 17 00:00:00 2001 From: messense Date: Sun, 7 May 2023 17:54:36 +0800 Subject: [PATCH] Fix finding interpreters from bundled sysconfigs --- src/python_interpreter/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python_interpreter/mod.rs b/src/python_interpreter/mod.rs index 71ed59e20..7d335b4f5 100644 --- a/src/python_interpreter/mod.rs +++ b/src/python_interpreter/mod.rs @@ -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 {