-
Notifications
You must be signed in to change notification settings - Fork 879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PEP 514 support #1521
Labels
Comments
Note virtualenv already does this via https://github.com/pypa/virtualenv/blob/main/src/virtualenv/discovery/windows/pep514.py 👍 |
|
This was referenced Feb 17, 2024
Merged
zanieb
added a commit
that referenced
this issue
Feb 18, 2024
Similar idea to #1356 Attempting to reproduce #1521 (comment)
konstin
added a commit
that referenced
this issue
Aug 28, 2024
Our current strategy of parsing the output of `py --list-paths` to get the installed python versions on windows is brittle (#6524, missing `py`, etc.) and it's slow (10ms last time i measured). Instead, we should behave spec-compliant and read the python versions from the registry following PEP 514. We're using the official rust-for-windows crates for accessing the registry. Fixes #1521 Fixes #6524
konstin
added a commit
that referenced
this issue
Aug 28, 2024
Our current strategy of parsing the output of `py --list-paths` to get the installed python versions on windows is brittle (#6524, missing `py`, etc.) and it's slow (10ms last time i measured). Instead, we should behave spec-compliant and read the python versions from the registry following PEP 514. We're using the official rust-for-windows crates for accessing the registry. Fixes #1521 Fixes #6524
konstin
added a commit
that referenced
this issue
Aug 28, 2024
Our current strategy of parsing the output of `py --list-paths` to get the installed python versions on windows is brittle (#6524, missing `py`, etc.) and it's slow (10ms last time i measured). Instead, we should behave spec-compliant and read the python versions from the registry following PEP 514. We're using the official rust-for-windows crates for accessing the registry. Fixes #1521 Fixes #6524
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
https://peps.python.org/pep-0514/
We use
py
to find Python installations on Windows today but we want to switch to registry look-ups per PEP 514The text was updated successfully, but these errors were encountered: