uv/crates
konsti 11cb0059c1
Remove incompatible wheels from uv.lock (#4799)
Remove wheels from the lockfile that don't match the required python
version. For example, we remove
`charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl` when we have
`requires-python = ">=3.12"`.

Our snapshots barely show changes since we avoid the large binaries for
which matters. Here are 3 real world `uv.lock` before/after comparisons
to show the large difference:
*
[warehouse](https://gist.github.com/konstin/9a1ed6a32b410e250fcf4c6ea8c536a5)
(5677 -> 4214)
*
[transformers](https://gist.github.com/konstin/5636281b5226f64aa44ce3244d5230cd)
(6484 -> 5816)
*
[github-wikidata-bot](https://gist.github.com/konstin/ebbd7b9474523aaa61d9a8945bc02071)
(793 -> 454)

We only remove wheels we are certain don't match the python version and
still keep those with unknown tags. We could remove even more wheels by
also considering other markers, e.g. removing linux wheels for a
windows-only dep, but we would trade complex, easy-to-get-wrong logic
for diminishing returns.
2024-07-04 14:03:54 -04:00
..
bench Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00
cache-key Cache tool environments in uv tool run (#4784) 2024-07-03 19:25:39 -04:00
distribution-filename Remove incompatible wheels from uv.lock (#4799) 2024-07-04 14:03:54 -04:00
distribution-types Make .egg-info filename parsing spec compliant (#4533) 2024-06-25 23:49:43 +00:00
install-wheel-rs Respect data scripts in uv tool install (#4693) 2024-07-01 12:22:37 -04:00
once-map Simplify OnceMap::wait_blocking (#4704) 2024-07-01 15:17:37 -04:00
pep440-rs Fix misleading description contains docstring (#4783) 2024-07-03 14:28:40 -04:00
pep508-rs Disable Clippy's too-many-arguments rule (#4663) 2024-06-30 19:30:38 +00:00
platform-tags fix: add missing ppc64le alias for powerpc64le (#3963) 2024-06-02 13:15:24 -04:00
pypi-types Respect tool upgrades in uv tool install (#4736) 2024-07-02 16:46:31 -04:00
requirements-txt Replace map_or(false, ..) uses with is_some_and and is_ok_and (#4703) 2024-07-01 19:28:42 +00:00
uv Remove incompatible wheels from uv.lock (#4799) 2024-07-04 14:03:54 -04:00
uv-auth Enable workspace lint configuration in remaining crates (#4329) 2024-06-18 03:02:28 +00:00
uv-build Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00
uv-cache Cache tool environments in uv tool run (#4784) 2024-07-03 19:25:39 -04:00
uv-cli Box clap args some more for uv init (#4796) 2024-07-04 13:22:24 -04:00
uv-client Enable Registry Client Builder to be created from Base Client Builder (#4729) 2024-07-04 15:53:05 +00:00
uv-configuration Flatten requirements eagerly in get_dependencies (#4430) 2024-06-25 21:13:47 +00:00
uv-dev Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00
uv-dispatch Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00
uv-distribution Show when we retried requests (#4725) 2024-07-02 19:04:11 +02:00
uv-extract Fix nightly cfg checker warnings (#3932) 2024-05-31 09:35:52 +00:00
uv-fs Replace map_or(false, ..) uses with is_some_and and is_ok_and (#4703) 2024-07-01 19:28:42 +00:00
uv-git Fix implementation of GitDatabase::contains (#4698) 2024-07-01 13:01:29 -04:00
uv-installer Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00
uv-macros Enable workspace lint configuration in remaining crates (#4329) 2024-06-18 03:02:28 +00:00
uv-normalize Enable workspace lint configuration in remaining crates (#4329) 2024-06-18 03:02:28 +00:00
uv-python Check hash of downloaded python toolchain (#4806) 2024-07-04 17:49:12 +00:00
uv-requirements Support unnamed requirements in uv tool install (#4716) 2024-07-01 21:37:14 -04:00
uv-resolver Remove incompatible wheels from uv.lock (#4799) 2024-07-04 14:03:54 -04:00
uv-scripts Add PEP 723 support to uv run (#4656) 2024-07-01 08:20:24 -04:00
uv-settings Add --exclude-newer to installer arguments (#4785) 2024-07-03 18:05:05 +00:00
uv-state Cache tool environments in uv tool run (#4784) 2024-07-03 19:25:39 -04:00
uv-tool feat: add tool version to list command (#4674) 2024-07-03 18:24:37 +00:00
uv-trampoline Support x86 windows (#3873) 2024-05-28 16:07:39 +00:00
uv-types Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00
uv-version Bump version to 0.2.21 (#4757) 2024-07-03 04:27:00 +00:00
uv-virtualenv Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00
uv-warnings Fix a bug where no warning is output when parsing of workspace settings fails. (#4014) 2024-06-04 09:21:19 -04:00
README.md Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -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-python

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.