uv/crates/uv-python
David Peter 0d174b79e2
Ignore pre-release versions in uv init --script (#15747)
## Summary

Ignore managed pre-release versions of Python for purposes of creating a
`requires-python` constraint when running `uv init --script`. This makes
the behavior consistent with `uv init` for normal projects.

## Test Plan

Added a regression test that makes sure that the constraint is
`requires-python = ">=3.13"`, even though a pre-release version of 3.14
is installed.
2025-09-10 14:35:29 -05:00
..
python Include all site packages directories in ephemeral environment overlays (#15121) 2025-08-08 13:49:21 -05:00
src Ignore pre-release versions in uv init --script (#15747) 2025-09-10 14:35:29 -05:00
.gitignore minify and filter embed managed pythons json on compile time (#12967) 2025-04-30 15:51:03 -04:00
build.rs Only rebuild download JSON on change (#13261) 2025-05-02 07:49:34 -05:00
Cargo.toml Use the windows crate facade consistently (#15737) 2025-09-09 15:07:14 +00:00
download-metadata.json Sync latest Python releases (#15631) 2025-09-02 18:43:17 +00:00
fetch-download-metadata.py Allow pinning managed Python versions to specific build versions (#15314) 2025-08-25 16:25:05 -05:00