Fix the detection of an unhappy installation path in a venv under Windows#554
Merged
Fix the detection of an unhappy installation path in a venv under Windows#554
Conversation
1029be1 to
92b1a47
Compare
popescu-v
reviewed
Feb 17, 2026
popescu-v
reviewed
Feb 17, 2026
92b1a47 to
3606064
Compare
popescu-v
reviewed
Feb 18, 2026
popescu-v
requested changes
Feb 18, 2026
Collaborator
popescu-v
left a comment
There was a problem hiding this comment.
See the remaining open comment.
3606064 to
c088121
Compare
popescu-v
reviewed
Feb 24, 2026
popescu-v
reviewed
Feb 24, 2026
popescu-v
reviewed
Feb 24, 2026
popescu-v
reviewed
Feb 24, 2026
popescu-v
reviewed
Feb 24, 2026
popescu-v
reviewed
Feb 24, 2026
popescu-v
reviewed
Feb 24, 2026
popescu-v
reviewed
Feb 24, 2026
popescu-v
requested changes
Feb 24, 2026
Collaborator
popescu-v
left a comment
There was a problem hiding this comment.
A few remaining issues (see the comments).
c088121 to
dee6493
Compare
popescu-v
reviewed
Feb 26, 2026
popescu-v
reviewed
Feb 26, 2026
popescu-v
reviewed
Feb 26, 2026
dee6493 to
886058e
Compare
3ed7b8c to
f8fe43e
Compare
popescu-v
reviewed
Mar 2, 2026
f8fe43e to
df30e0c
Compare
popescu-v
reviewed
Mar 2, 2026
df30e0c to
1415375
Compare
popescu-v
approved these changes
Mar 3, 2026
Collaborator
popescu-v
left a comment
There was a problem hiding this comment.
LGTM. Change the sentence "This later sees case-insensitive paths." in the commit message to "The latter considers paths as case-insensitive." or another text along these lines.
- External tools like VSCode can modify for example the case of the path saved in `sys.executable` - As a general rule a pathlib.Path object is always built. Depending on the OS either a PosixPath or a WindowsPath instance is created. The latter considers paths as case-insensitive.
1415375 to
3135e17
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
External tools like VSCode can modify the case of the path saved in
sys.executableFixes #548
The case is indeed reproductible in saving the value of
sys.executableand altering its case.Implementing an automatic test would required extracting a function returning
sys.executableand mocking it during the test.Possible but but a bit overkill.
TODO Before Asking for a Review
main(ormain-v10)Unreleasedsection ofCHANGELOG.md(no date)index.html