uv/crates
Charlie Marsh 1aa8ff8268
Merge user and workspace settings (#3462)
## Summary

This PR follows Cargo's strategy for merging configuration, albeit in a
more limited way (we don't support as many configuration locations).
Specifically, we merge the user configuration with the workspace
configuration if both are present. The workspace configuration has
priority, such that we take values from the workspace configuration and
ignore those in the user configuration if both are specified for a given
setting -- with the exception of arrays and maps, which are
concatenated.

For now, if a user provides a configuration file with `--config-file`,
we _don't_ merge in the user settings.

See:
https://doc.rust-lang.org/cargo/reference/config.html#hierarchical-structure.

Closes #3420.
2024-05-08 14:49:43 -04:00
..
bench Add basic tool.uv.sources support (#3263) 2024-05-03 21:10:50 +00:00
cache-key Avoid panic for file url (#3306) 2024-04-29 16:39:16 +02:00
distribution-filename require serde and rkyv everywhere; remove optional serde and rkyv features (#3345) 2024-05-03 10:21:03 -04:00
distribution-types Improve JSON Schema and add export script (#3461) 2024-05-08 16:15:16 +00:00
install-wheel-rs Apply normcase to line from easy-install.pth (#3451) 2024-05-08 10:40:21 +02:00
once-map once-map: avoid hard-coding Arc (#3242) 2024-04-24 11:11:46 -04:00
pep440-rs Improve trailing version string error message (#3453) 2024-05-08 14:50:29 +02:00
pep508-rs Move PyO3 derive down (#3434) 2024-05-07 18:16:28 +00:00
platform-tags Update Rust to v1.78 (#3361) 2024-05-03 20:07:13 +00:00
pypi-types Use Metadata10 to parse PKG-INFO of legacy editable (#3450) 2024-05-08 10:58:18 +02:00
requirements-txt Always activate non-pep508-extensions (#3428) 2024-05-07 16:13:09 +00:00
uv Merge user and workspace settings (#3462) 2024-05-08 14:49:43 -04:00
uv-auth Update pre-commit dependencies (#3391) 2024-05-06 02:18:51 +00:00
uv-build Remove unnecessary uses of DashMap and Arc (#3413) 2024-05-06 22:30:43 -04:00
uv-cache Update Rust to v1.78 (#3361) 2024-05-03 20:07:13 +00:00
uv-client Upgrade async_http_range_reader to v0.8.0 (#3460) 2024-05-08 10:54:08 -04:00
uv-configuration Merge user and workspace settings (#3462) 2024-05-08 14:49:43 -04:00
uv-dev Add basic tool.uv.sources support (#3263) 2024-05-03 21:10:50 +00:00
uv-dispatch Remove unnecessary uses of DashMap and Arc (#3413) 2024-05-06 22:30:43 -04:00
uv-distribution Remove unnecessary uses of DashMap and Arc (#3413) 2024-05-06 22:30:43 -04:00
uv-extract Use into_par_iter instead of par_bridge (#3435) 2024-05-07 19:38:35 +00:00
uv-fs Rename --force to --allow-existing (#3416) 2024-05-07 17:11:31 +00:00
uv-git Add branch and tag variants to Git reference (#3374) 2024-05-04 21:13:11 +00:00
uv-installer List and uninstall legacy editables (#3415) 2024-05-07 03:51:50 +00:00
uv-interpreter Improve JSON Schema and add export script (#3461) 2024-05-08 16:15:16 +00:00
uv-normalize Improve JSON Schema and add export script (#3461) 2024-05-08 16:15:16 +00:00
uv-requirements Warn when missing minimal bounds when using tool.uv.sources (#3452) 2024-05-08 13:16:25 -04:00
uv-resolver Improve JSON Schema and add export script (#3461) 2024-05-08 16:15:16 +00:00
uv-trampoline Use c-string literals and update trampolines (#2590) 2024-03-21 15:36:00 +00:00
uv-types Add basic uv sync and uv lock commands (#3436) 2024-05-08 14:51:51 +00:00
uv-version Bump version to v0.1.41 (#3446) 2024-05-08 01:05:47 +00:00
uv-virtualenv Rename --force to --allow-existing (#3416) 2024-05-07 17:11:31 +00:00
uv-warnings
uv-workspace Merge user and workspace settings (#3462) 2024-05-08 14:49:43 -04:00
README.md Rename uv-traits and split into separate modules (#2674) 2024-03-26 15:39:43 -05:00

Crates

bench

Functionality for benchmarking uv.

cache-key

Generic functionality for caching paths, URLs, and other resources across platforms.

distribution-filename

Parse built distribution (wheel) and source distribution (sdist) filenames to extract structured metadata.

distribution-types

Abstractions for representing built distributions (wheels) and source distributions (sdists), and the sources from which they can be downloaded.

install-wheel-rs

Install built distributions (wheels) into a virtual environment.]

once-map

A waitmap-like concurrent hash map for executing tasks exactly once.

pep440-rs

Utilities for interacting with Python version numbers and specifiers.

pep508-rs

Utilities for interacting with PEP 508 dependency specifiers.

platform-host

Functionality for detecting the current platform (operating system, architecture, etc.).

platform-tags

Functionality for parsing and inferring Python platform tags as per PEP 425.

uv

Command-line interface for the uv package manager.

uv-build

A PEP 517-compatible build frontend for uv.

uv-cache

Functionality for caching Python packages and associated metadata.

uv-client

Client for interacting with PyPI-compatible HTTP APIs.

uv-dev

Development utilities for uv.

uv-dispatch

A centralized struct for resolving and building source distributions in isolated environments. Implements the traits defined in uv-types.

uv-distribution

Client for interacting with built distributions (wheels) and source distributions (sdists). Capable of fetching metadata, distribution contents, etc.

uv-extract

Utilities for extracting files from archives.

uv-fs

Utilities for interacting with the filesystem.

uv-git

Functionality for interacting with Git repositories.

uv-installer

Functionality for installing Python packages into a virtual environment.

uv-interpreter

Functionality for detecting and leveraging the current Python interpreter.

uv-normalize

Normalize package and extra names as per Python specifications.

uv-package

Types and functionality for working with Python packages, e.g., parsing wheel files.

uv-requirements

Utilities for reading package requirements from pyproject.toml and requirements.txt files.

uv-resolver

Functionality for resolving Python packages and their dependencies.

uv-types

Shared traits for uv, to avoid circular dependencies.

pypi-types

General-purpose type definitions for types used in PyPI-compatible APIs.

uv-virtualenv

A venv replacement to create virtual environments in Rust.

uv-warnings

User-facing warnings for uv.

requirements-txt

Functionality for parsing requirements.txt files.