uv/scripts
Eric Mark Martin c49c7bdf97 Implement PEP 440-compliant local version semantics (#8797)
Implement a full working version of local version semantics. The (AFAIA)
major move towards this was implemented in #2430. This added support
such that the version specifier `torch==2.1.0+cpu` would install
`torch@2.1.0+cpu` and consider `torch@2.1.0+cpu` a valid way to satisfy
the requirement `torch==2.1.0` in further dependency resolution.

In this feature, we more fully support local version semantics. Namely,
we now allow `torch==2.1.0` to install `torch@2.1.0+cpu` regardless of
whether `torch@2.1.0` (no local tag) actually exists.

We do this by adding an internal-only `Max` value to local versions that
compare greater to all other local versions. Then we can translate
`torch==2.1.0` into bounds: greater than 2.1.0 with no local tag and
less than 2.1.0 with the `Max` local tag.

Depends on https://github.com/astral-sh/packse/pull/227.
2024-11-07 14:29:54 -06:00
..
benchmark Update BENCHMARKS.md (#6258) 2024-08-20 16:42:57 +00:00
links Add test case for wheel installation with different path (#4396) 2024-06-19 09:39:55 -05:00
packages Add build backend scaffolding (#7662) 2024-09-24 19:23:17 +02:00
popular_packages Use sets rather than vectors for lockfile requirements (#6107) 2024-08-15 13:00:35 +00:00
publish Fix indentation level in test publish script (#8785) 2024-11-03 22:42:00 +01:00
requirements Add bad backtracking test cases for (#8171) 2024-10-14 20:54:08 +00:00
scenarios Implement PEP 440-compliant local version semantics (#8797) 2024-11-07 14:29:54 -06:00
workspaces Skip files when detecting workspace members (#5735) 2024-08-02 19:44:43 +00:00
check_cache_compat.py Set absolute URLs prior to uploading to PyPI (#5038) 2024-07-13 17:29:21 +00:00
check_embedded_python.py Set absolute URLs prior to uploading to PyPI (#5038) 2024-07-13 17:29:21 +00:00
check_system_python.py Allow explicitly requesting an system interpreter version in check_system_python (#7306) 2024-09-11 19:41:42 +00:00
release.sh Remove the preview changelog (#6259) 2024-08-20 16:47:46 +00:00
sync_scenarios.sh Add shellcheck CI (#7888) 2024-10-08 13:58:00 -05:00
transform_readme.py Fix benchmark image in documentation (#5102) 2024-07-16 13:54:06 +00:00
update_schemastore.py Update SchemaStore script (#5024) 2024-07-12 17:49:38 -04:00
uv-run-remote-script-test.py Pin rich==13.7.1 for --exclude-newer in tests (#7713) 2024-09-26 11:54:50 -04:00