fix: Import fs_is_case_sensitive absolutely in py_info.py#2960
Merged
gaborbernat merged 1 commit intopypa:mainfrom Aug 18, 2025
Merged
fix: Import fs_is_case_sensitive absolutely in py_info.py#2960gaborbernat merged 1 commit intopypa:mainfrom
gaborbernat merged 1 commit intopypa:mainfrom
Conversation
The relative import of .info does not work when py_info is invoked as a script: ```python ModuleNotFoundError No module named 'virtualenv.discovery.info' at .venv/lib/python3.9/site-packages/virtualenv/discovery/py_info.py:663 in _possible_base ``` Indeed, it used to be imported absolutely. Fixes pypa#2955 * Update changelog entry for 2944.bugfix.rst to use getattr. * Update changelog entry for 2774.feature.rst for Windows python3.exe. * Add new changelog entry for 2955.bugfix.rst regarding absolute import. * Fix absolute import of fs_is_case_sensitive in py_info.py. Signed-off-by: Emre Şafak <[email protected]>
gaborbernat
approved these changes
Aug 18, 2025
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.
The relative import of .info does not work when py_info is invoked as a script:
Indeed, it used to be imported absolutely.
Fixes #2955
tox -e fix)docs/changelogfolder