uv/scripts
konsti 321101d340
Publish: Support --index <name> (#9694)
When publishing, we currently ask the user to set `--publish-url` to the
upload URL and `--check-url` to the simple index URL, or the equivalent
configuration keys. But that's redundant with the `[[tool.uv.index]]`
declaration. Instead, we extend `[[tool.uv.index]]` with a `publish-url`
entry and allow passing `uv publish --index <name>`.

`uv publish --index <name>` requires the `pyproject.toml` to be present
when publishing, unlike using `--publish-url ... --check-url ...` which
can be used e.g. in CI without a checkout step. `--index` also always
uses the check URL feature to aid upload consistency.

The documentation tries to explain both approaches together, which
overlap for the check URL feature.

Fixes #8864

---------

Co-authored-by: Zanie Blue <contact@zanie.dev>
2024-12-10 22:17:47 +01:00
..
benchmark Update BENCHMARKS.md (#6258) 2024-08-20 16:42:57 +00:00
links Add test coverage for build tag prioritization (#9680) 2024-12-06 09:32:19 -05:00
packages Build backend: Add integration test for scripts (#9635) 2024-12-04 10:57:08 +00:00
popular_packages Use sets rather than vectors for lockfile requirements (#6107) 2024-08-15 13:00:35 +00:00
publish Publish: Support --index <name> (#9694) 2024-12-10 22:17:47 +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
create-python-mirror.py add helper script to download the needed files to mirror for UV_PYTHON_INSTALL_MIRROR (#8548) 2024-12-04 01:41:19 +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