uv/scripts
Zanie Blue 37c25f2a9d
Use `keyring --mode creds` when `authenticate = "always"` (#12316)
Previously, we required a username to perform a fetch from the keyring
because the `keyring` CLI only supported fetching password for a given
service and username. Unfortunately, this is different from the keyring
Python API which supported fetching a username _and_ password for a
given service. We can't (easily) use the Python API because we don't
expect `keyring` to be installed in a specific environment during
network requests. This means that we did not have parity with `pip`.

Way back in https://github.com/jaraco/keyring/pull/678 we got a `--mode
creds` flag added to `keyring`'s CLI which supports parity with the
Python API. Since `keyring` is expensive to invoke and we cannot be
certain that users are on the latest version of keyring, we've not added
support for invoking keyring with this flag. However, now that we have a
mode that says authentication is _required_ for an index (#11896), we
might as well _try_ to invoke keyring with `--mode creds` when there is
no username. This will address use-cases where the username is
non-constant and move us closer to `pip` parity.
2025-03-19 16:30:32 -05:00
..
benchmark Upgrade to the latest Ruff version (#10433) 2025-01-09 10:47:25 -05:00
links Add test coverage for build tag prioritization (#9680) 2024-12-06 09:32:19 -05:00
packages Use `keyring --mode creds` when `authenticate = "always"` (#12316) 2025-03-19 16:30:32 -05:00
popular_packages Update top-pypi-packages filename (#11959) 2025-03-04 18:23:02 -05:00
publish Re-add 3 retries in `uv publish` (#12041) 2025-03-10 12:38:08 +01:00
requirements Add second apache airflow test case (#10463) 2025-01-10 15:42:03 +01:00
scenarios Filter wheels from lockfile based on architecture (#10584) 2025-01-14 14:39:21 +00:00
workspaces Use `uv sync` in workspace tests (#12181) 2025-03-15 20:52: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_registry.py Install and remove managed Python to and from the Windows Registry (PEP 514) (#10634) 2025-01-23 14:13:41 +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 additional version filter to mirror script. (#10055) 2024-12-20 12:50:59 -06:00
release.sh Remove the preview changelog (#6259) 2024-08-20 16:47:46 +00:00
reverse-changelog.py Reverse and format the archived changelogs (#12099) 2025-03-12 11:58:51 -05:00
sync_scenarios.sh Update packse to 0.3.42 for backtracking test (#10009) 2024-12-18 19:53:34 +00: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