mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-17 13:58:29 +00:00
![]() Currently, the entry for a package+version+source table is called `distribution`. That is incorrect, the `sdist` and `wheel` fields inside of that table are distributions, the table itself is for a package. We also align ourselves closer with PEP 751. I went through `lock.rs` and renamed all occurrences of "distribution" that actually referred to a "package". This change invalidates all existing lockfiles. Bikeshedding: Do we call it `package` or `packages`? See also https://github.com/python/peps/pull/3877 `package` is nice because it looks like a header: ```toml [[package]] name = "anyio" version = "4.3.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "idna" }, { name = "sniffio" }, ] sdist = { url = " |
||
---|---|---|
.. | ||
src/benchmark | ||
.python-version | ||
pyproject.toml | ||
README.md | ||
uv.lock |
benchmark
Benchmarking scripts for uv and other package management tools.
Getting Started
From the scripts/benchmark
directory:
uv run resolver \
--uv-pip \
--poetry \
--benchmark \
resolve-cold \
../requirements/trio.in