-
Notifications
You must be signed in to change notification settings - Fork 605
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
Add PyPy finder #5337
Add PyPy finder #5337
Conversation
Awesome! |
90f5f39
to
0eba332
Compare
- `<implementation><version-specifier>` e.g. `cpython>=3.12,<3.13` | ||
- `<implementation>-<version>-<os>-<arch>-<libc>` e.g. `cpython-3.12.3-macos-aarch64-none` | ||
|
||
At this time, only CPython downloads are supported. However, PyPy support is planned. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would note something like "uv supports managed CPython and PyPy versions"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should note this elsewhere... like in the installs section?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added uv bundles a list of downloadable CPython and PyPy distributions for macOS, Linux, and Windows.
in Installing a Python version
section, what do you think?
# Conflicts: # crates/uv-python/fetch-download-metadata.py # docs/preview/toolchains.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Nice work.
## Summary After #5337, `fetch-download-metadata.py` fetches not just from `python-build-standalone`, so updates the workflow to `sync-python-releases.yml`. Also includes `crates/uv-python/download-metadata.json` in `add-paths`. --------- Co-authored-by: Zanie Blue <[email protected]>
Summary
This PR adds PyPy finder and adds PyPy to uv managed Python versions.
Test Plan
$ cargo run -- python install