uv/crates
Tim de Jager fc0f637406
Make the BuildDispatch interpreter method async (#14956)
This is a bit of a weird request, but in [pixi](https://pixi.sh) we are
making use of this function to lazily instantiate a conda environment.
Well, in actuality we are using a shim to the `BuildDispatch` to
actually to only create a conda prefix, if some package needs to be
built during the resolution phase. Otherwise we can resolve everything
without an enviroment containing a python intepreter.

We are using a method now - that uses the runtime to run async code
inside this function, as `interpreter` is the first method called on a
`BuildContext` when running a source build - using
`tokio::Handle::block_on`.
However was causing a deadlock in very specific situations, me and
@baszalmstra + @wolfv have investigated this thoroughly, but have not
been able to find the root cause. It would hang in a part of the uv code
that hits the index, but that is **after** all of our initialization
*and the blocking call* was completed.
Changing this to be fully async fixes the problem, this requires this
method to be async though.

We get that this is not necessarily required, and we might find a
workaround, but I wanted to try it this way first.

Thanks!
2025-07-31 06:42:27 -05:00
..
uv Support installing additional executables in uv tool install (#14014) 2025-07-30 14:50:24 -05:00
uv-auth Use workspace dependencies for crate dev-dependencies (#14903) 2025-07-25 13:57:49 -05:00
uv-bench Add extra-build-dependencies (#14735) 2025-07-30 09:53:07 -05:00
uv-build Bump version to 0.8.4 (#14980) 2025-07-30 16:24:20 +00:00
uv-build-backend Fix incorrect file permissions in wheel packages (#14930) 2025-07-28 15:56:08 +02:00
uv-build-frontend Add extra-build-dependencies (#14735) 2025-07-30 09:53:07 -05:00
uv-cache Cache Python downloads by default in python install tests (#14326) 2025-07-28 17:33:57 +00:00
uv-cache-info Follow links when cache-key is a glob (#13438) 2025-07-14 11:35:34 -04:00
uv-cache-key Add DisplaySafeUrl newtype to prevent leaking of credentials by default (#13560) 2025-05-27 00:05:30 +02:00
uv-cli Support installing additional executables in uv tool install (#14014) 2025-07-30 14:50:24 -05:00
uv-client Use workspace dependencies for crate dev-dependencies (#14903) 2025-07-25 13:57:49 -05:00
uv-configuration Add extra-build-dependencies (#14735) 2025-07-30 09:53:07 -05:00
uv-console Fix rendering of uv venv --clear hint in bash (#14691) 2025-07-17 17:20:21 -05:00
uv-dev Split preview mode into separate feature flags (#14823) 2025-07-25 11:01:57 -05:00
uv-dirs Use workspace dependencies for crate dev-dependencies (#14903) 2025-07-25 13:57:49 -05:00
uv-dispatch Make the BuildDispatch interpreter method async (#14956) 2025-07-31 06:42:27 -05:00
uv-distribution Make the BuildDispatch interpreter method async (#14956) 2025-07-31 06:42:27 -05:00
uv-distribution-filename Use workspace dependencies for crate dev-dependencies (#14903) 2025-07-25 13:57:49 -05:00
uv-distribution-types Remove resolved TODO in allowed_indexes (#14912) 2025-07-26 04:04:28 +00:00
uv-extract Disallow writing symlinks outside the source distribution target directory (#12259) 2025-07-22 09:20:09 -04:00
uv-fs Copy entry points and Jupyter data directories into ephemeral environments (#14790) 2025-07-22 12:11:05 +00:00
uv-git Skip GitHub fast path when rate-limited (#13033) 2025-06-24 12:11:41 -07:00
uv-git-types make GitOid strict about parsing exactly 40 hex characters 2025-06-09 23:50:36 +00:00
uv-globfilter Use workspace dependencies for crate dev-dependencies (#14903) 2025-07-25 13:57:49 -05:00
uv-install-wheel Use workspace dependencies for crate dev-dependencies (#14903) 2025-07-25 13:57:49 -05:00
uv-installer Run cargo update (#14899) 2025-07-25 15:19:38 -05:00
uv-macros Bump MSRV to 1.85 and Edition 2024 (#13516) 2025-05-18 19:38:43 -04:00
uv-metadata
uv-normalize Move dependency group normalization into specification (#14757) 2025-07-20 14:13:27 -04:00
uv-once-map
uv-options-metadata Implement PartialEq for OptionSet (#14765) 2025-07-20 18:17:07 -04:00
uv-pep440 Add extra-build-dependencies (#14735) 2025-07-30 09:53:07 -05:00
uv-pep508 Implement CacheKey for all Pep508Url variants (#14978) 2025-07-30 10:44:06 -05:00
uv-performance-memory-allocator Update Rust crate mimalloc to v0.1.47 (#14207) 2025-06-23 12:07:09 +02:00
uv-platform Split platform detection code into a dedicated uv-platform crate (#14918) 2025-07-28 14:12:04 -05:00
uv-platform-tags Extend wheel filtering to Android tags (#14977) 2025-07-30 15:26:44 +00:00
uv-publish Use workspace dependencies for crate dev-dependencies (#14903) 2025-07-25 13:57:49 -05:00
uv-pypi-types Implement CacheKey for all Pep508Url variants (#14978) 2025-07-30 10:44:06 -05:00
uv-python Split platform detection code into a dedicated uv-platform crate (#14918) 2025-07-28 14:12:04 -05:00
uv-redacted Avoid writing redacted credentials to tool receipt (#14855) 2025-07-23 16:01:10 -04:00
uv-requirements Support extras and dependency_groups markers on uv pip install and uv pip sync (#14755) 2025-07-21 12:48:47 +00:00
uv-requirements-txt Use workspace dependencies for crate dev-dependencies (#14903) 2025-07-25 13:57:49 -05:00
uv-resolver Extend wheel filtering to Android tags (#14977) 2025-07-30 15:26:44 +00:00
uv-scripts Add extra-build-dependencies (#14735) 2025-07-30 09:53:07 -05:00
uv-settings Add extra-build-dependencies (#14735) 2025-07-30 09:53:07 -05:00
uv-shell Bump MSRV to 1.85 and Edition 2024 (#13516) 2025-05-18 19:38:43 -04:00
uv-small-str Update schemars 1.0.0 (#13693) 2025-06-24 21:43:31 +02:00
uv-state Bump MSRV to 1.85 and Edition 2024 (#13516) 2025-05-18 19:38:43 -04:00
uv-static Add UV_ prefix to installer environment variables (#14964) 2025-07-30 01:24:59 +00:00
uv-tool Support installing additional executables in uv tool install (#14014) 2025-07-30 14:50:24 -05:00
uv-torch Add auto-detection for Intel GPUs (#14386) 2025-07-09 13:31:08 +00:00
uv-trampoline Support transparent Python patch version upgrades (#13954) 2025-06-20 16:17:13 +02:00
uv-trampoline-builder Use workspace dependencies for crate dev-dependencies (#14903) 2025-07-25 13:57:49 -05:00
uv-types Make the BuildDispatch interpreter method async (#14956) 2025-07-31 06:42:27 -05:00
uv-version Bump version to 0.8.4 (#14980) 2025-07-30 16:24:20 +00:00
uv-virtualenv Split preview mode into separate feature flags (#14823) 2025-07-25 11:01:57 -05:00
uv-warnings Better warning chain styling (#14934) 2025-07-28 16:23:39 +00:00
uv-workspace Add extra-build-dependencies (#14735) 2025-07-30 09:53:07 -05:00
README.md

Crates

uv-bench

Functionality for benchmarking uv.

uv-cache-key

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

uv-distribution-filename

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

uv-distribution-types

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

uv-install-wheel-rs

Install built distributions (wheels) into a virtual environment.

uv-once-map

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

uv-pep440-rs

Utilities for interacting with Python version numbers and specifiers.

uv-pep508-rs

Utilities for parsing and evaluating dependency specifiers, previously known as PEP 508.

uv-platform-tags

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

uv-cli

Command-line interface for the uv package manager.

uv-build-frontend

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-requirements

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

uv-resolver

Functionality for resolving Python packages and their dependencies.

uv-shell

Utilities for detecting and manipulating shell environments.

uv-types

Shared traits for uv, to avoid circular dependencies.

uv-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.

uv-workspace

Workspace abstractions for uv.

uv-requirements-txt

Functionality for parsing requirements.txt files.