uv/crates/uv-configuration/src
konsti 081f20c53e
Add support for `tool.uv` into distribution building (#3904)
With the change, we remove the special casing of workspace dependencies
and resolve `tool.uv` for all git and directory distributions. This
gives us support for non-editable workspace dependencies and path
dependencies in other workspaces. It removes a lot of special casing
around workspaces. These changes are the groundwork for supporting
`tool.uv` with dynamic metadata.

The basis for this change is moving `Requirement` from
`distribution-types` to `pypi-types` and the lowering logic from
`uv-requirements` to `uv-distribution`. This changes should be split out
in separate PRs.

I've included an example workspace `albatross-root-workspace2` where
`bird-feeder` depends on `a` from another workspace `ab`. There's a
bunch of failing tests and regressed error messages that still need
fixing. It does fix the audited package count for the workspace tests.
2024-05-31 02:42:03 +00:00
..
authentication.rs require serde and rkyv everywhere; remove optional serde and rkyv features (#3345) 2024-05-03 10:21:03 -04:00
build_options.rs Add JSON alias for `unsafe-any-match` (#3820) 2024-05-24 13:31:46 +00:00
concurrency.rs Add `UV_CONCURRENT_INSTALLS` variable in favor of `RAYON_NUM_THREADS` (#3646) 2024-05-17 23:12:37 -04:00
config_settings.rs Make anyhow a dev dependency in `uv-configuration` (#3814) 2024-05-24 02:49:31 +00:00
constraints.rs Add support for `tool.uv` into distribution building (#3904) 2024-05-31 02:42:03 +00:00
extras.rs Move extra specification into `uv-configuration` (#3897) 2024-05-29 04:49:57 +00:00
lib.rs Move extra specification into `uv-configuration` (#3897) 2024-05-29 04:49:57 +00:00
name_specifiers.rs Improve JSON Schema and add export script (#3461) 2024-05-08 16:15:16 +00:00
overrides.rs Add support for `tool.uv` into distribution building (#3904) 2024-05-31 02:42:03 +00:00
package_options.rs Use common routines for `pip install` and `pip sync` (#3737) 2024-05-22 12:15:17 -04:00
preview.rs Add preview mode and use for warning in `uv run` (#3192) 2024-04-22 15:41:15 -05:00
target_triple.rs pep508: un-export fields for MarkerEnvironment 2024-05-09 10:06:02 -04:00