You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: tolerate pyenv patch version mismatch in CI test (Fixes#371) (#372)
The CI test `verify_validity_of_discovered_envs` fails when pyenv's
directory name version (e.g. `3.12.13`) doesn't match the binary's
`sys.version` (e.g. `3.12.12`) during CPython version transitions.
**Changes:**
- For Pyenv environments, tolerate patch-level version mismatches in
both `verify_validity_of_interpreter_info` and `compare_environments`,
asserting major.minor still matches
- Use `splitn(3, '.')` for robust major.minor extraction (handles
dev/alpha versions)
- Log a `warn!()` diagnostic when a patch mismatch is detected
- All other environment types retain the strict full-version assertion
Fixes#371
0 commit comments