mirror of
https://github.com/astral-sh/uv.git
synced 2025-12-10 20:09:45 +00:00
Previously if you wanted to run e.g. PyPy via `uvx`, you had to spell it like `uvx -p pypy python`. Now we reuse some of the `PythonRequest::parse` machinery to handle the executable, so all of the following examples work: - `uvx python3.8` - `uvx 'python>3.7,<3.9'` - `uvx --from python3.8 python` (or e.g. `bash`) - `uvx pypy38` - `uvx graalpy@38` The `python` (and on Windows only, `pythonw`) special cases are retained, which normally aren't allowed values of `-p`/`--python`. Closes https://github.com/astral-sh/uv/issues/13536. --------- Co-authored-by: Zanie Blue <contact@zanie.dev> Co-authored-by: konsti <konstin@mailbox.org> |
||
|---|---|---|
| .. | ||
| python | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.toml | ||
| download-metadata.json | ||
| fetch-download-metadata.py | ||