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
{{ message }}
Repository navigation
Values in pyvenv.cfg do not reflect the real paths on case insensitive file systems #2684
Would this equally have been solved by calling os.path.normpath? I ask because the use of os.path.realpath (instead of recursively calling os.readlink) in #2686 is problematic and diverges from venv (and now uv venv).
Activity
ofek commentedon Jan 22, 2024
Saving the resolved paths like this issue wants would also fix this because
os.path.realpathreturns the path as saved on disk.gaborbernat commentedon Jan 22, 2024
PR welcome to address this is welcome 👍
ofek commentedon Jan 22, 2024
Can you please point to the general area of the code base that I should look at?
gaborbernat commentedon Jan 22, 2024
Either https://github.com/pypa/virtualenv/tree/main/src/virtualenv/create/via_global_ref/builtin or https://github.com/pypa/virtualenv/blob/main/src/virtualenv/discovery/py_info.py#L35
ofek commentedon Jan 22, 2024
I don't know why but upgrading from 3.11.1 to 3.11.7 fixed the issue.
pelson commentedon Jan 8, 2025
Would this equally have been solved by calling
os.path.normpath? I ask because the use ofos.path.realpath(instead of recursively callingos.readlink) in #2686 is problematic and diverges fromvenv(and nowuv venv).