uv/.python-versions
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

14 lines
230 B
Text

3.14.0
3.13.2
3.12.9
3.11.11
3.10.16
3.9.21
3.8.20
# The following are required for packse scenarios
3.9.20
3.9.12
# The following is needed for `==3.13` request tests
3.13.0
# A pre-release version required for testing
3.14.0rc2