uv/scripts/packages
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
..
anyio_local Require tests to opt-in to managed Python installation (#10912) 2025-01-23 15:24:40 -06:00
black_editable Editable installs for `uv tool` (#5454) 2024-07-26 16:30:15 -04:00
built-by-uv A minimal build backend for uv: uv_build (#11446) 2025-03-06 13:27:20 -06:00
dependent_locals Consider installed packages during resolution (#2596) 2024-03-28 13:49:17 -05:00
deptry_reproducer Set absolute URLs prior to uploading to PyPI (#5038) 2024-07-13 17:29:21 +00:00
hatchling_dynamic Avoid `prepare_metadata_for_build_wheel` calls for Hatch packages with dynamic dependencies (#2645) 2024-03-25 22:26:51 +00:00
hatchling_editable Rename `scripts/editable-installs` to `scripts/packages` (#2644) 2024-03-25 03:56:00 +00:00
keyring_test_plugin Use `keyring --mode creds` when `authenticate = "always"` (#12316) 2025-03-19 16:30:32 -05:00
poetry_editable Move maturin test coverage into CI (#3714) 2024-05-21 19:17:48 +00:00
root_editable Rename `scripts/editable-installs` to `scripts/packages` (#2644) 2024-03-25 03:56:00 +00:00
setup_cfg_editable Rename `scripts/editable-installs` to `scripts/packages` (#2644) 2024-03-25 03:56:00 +00:00
setup_py_editable Rename `scripts/editable-installs` to `scripts/packages` (#2644) 2024-03-25 03:56:00 +00:00
setuptools_editable Rename `scripts/editable-installs` to `scripts/packages` (#2644) 2024-03-25 03:56:00 +00:00
README.md Use prettier to format the documentation (#5708) 2024-08-02 08:58:31 -05:00

README.md

packages

A collection of packages used to test editable installs and bespoke behaviors in packaging setups and definitions.