uv/crates/uv-python
Tim Felgentreff 24a0268675
Add GraalPy support (#5141)
<!--
Thank you for contributing to uv! To help us out with reviewing, please
consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

Currently, `uv` refuses to install anything on GraalPy. This is
currently blocking GraalPy testing with cibuildwheel, since manylinux
includes both `uv` and `graalpy` (but doesn't test with `uv`), whereas
cibuildwheel defaults to `uv`. See e.g.
2750618295
where it gives
```
      + python -m build /project/sample_proj --wheel --outdir=/tmp/cibuildwheel/built_wheel --installer=uv
  * Creating isolated environment: venv+uv...
  * Using external uv from /usr/local/bin/uv
  * Installing packages in isolated environment:
    - setuptools >= 40.8.0
  > /usr/local/bin/uv pip install "setuptools >= 40.8.0"
  < error: Unknown implementation: `graalpy`
```

## Test Plan

I simply based the GraalPy support on PyPy and added some small tests.
I'm open to discussing how to test this. GraalPy is available for
manylinux images and with setup-python, so we should be able to add
tests against it to the CI. I locally confirmed by installing `uv` into
a GraalPy venv and then trying things like `uv pip install Pillow` and
testing those extensions.
2024-07-18 19:28:28 -05:00
..
python Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00
src Add GraalPy support (#5141) 2024-07-18 19:28:28 -05:00
Cargo.toml Search for all python3.x in PATH (#5148) 2024-07-18 17:00:01 +02:00
download-metadata.json Update standalone Pythons to include 3.12.4 (#5042) 2024-07-14 01:51:47 +00:00
fetch-download-metadata.py Use install_only python archive (#4843) 2024-07-06 21:43:55 -05:00
template-download-metadata.py Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00