Add CPython 3.15.0a6 (#17987)

Update available python versions to include CPython 3.15.0a6
Update scripts used to sync pbs releases to account for recent changes
in the repo and to support running on macOS.
This commit is contained in:
Jonathan J. Helmus
2026-02-12 11:23:41 -06:00
committed by GitHub
parent 4905112498
commit 6663f8899d
6 changed files with 2041 additions and 783 deletions
+3 -3
View File
@@ -71,8 +71,8 @@ def main() -> None:
latest_versions[minor] = prerelease_versions[minor]
# Update the constants in common/mod.rs
mod_path = ROOT / "crates" / "uv" / "tests" / "it" / "common" / "mod.rs"
content = mod_path.read_text()
lib_path = ROOT / "crates" / "uv-test" / "src" / "lib.rs"
content = lib_path.read_text()
# Extract old values first
old_versions: dict[str, str] = {}
@@ -90,7 +90,7 @@ def main() -> None:
new_value = f'pub const {const_name}: &str = "{latest_versions[minor]}";'
content = re.sub(old_pattern, new_value, content)
mod_path.write_text(content)
lib_path.write_text(content)
updates = []
for minor in ["3.15", "3.14", "3.13", "3.12", "3.11", "3.10"]: