uv/crates
Xavi Simpson 6e2fbbc30f
Add `--no-install-local` option to `uv sync`, `uv add` and `uv export` (#15328)
<!--
Thank you for contributing to uv! To help us out with reviewing, please
consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

<!-- What's the purpose of the change? What does it do, and why? -->

Closes #14866. Adds a `no-install-local` flag to the sync and export
commands that excludes locally defined packages from being installed.

This helps with if you're caching your virtual environment. You can
exclude local packages since they're more likely to change between
builds.

## Test Plan

snapshot test: `sync::no_install_local`
CI

## Notes
I made an `InstallOptions` struct to avoid a crate isolation issue I was
running into while implementing.

Thanks for maintaining this project!
2025-08-22 11:31:52 -05:00
..
uv Add `--no-install-local` option to `uv sync`, `uv add` and `uv export` (#15328) 2025-08-22 11:31:52 -05:00
uv-auth Make the use of `Self` consistent. (#15074) 2025-08-05 20:17:12 +01:00
uv-bench Move `--config-settings` structs into `uv-distribution-types` (#15278) 2025-08-14 15:07:47 +01:00
uv-bin-install Add an experimental `uv format` command (#15017) 2025-08-21 06:33:18 -05:00
uv-build Bump version to 0.8.13 (#15423) 2025-08-21 13:52:39 -05:00
uv-build-backend Fix uv_build wheel hashes (#15400) 2025-08-21 10:54:21 +02:00
uv-build-frontend Import `PackageName` from `uv-normalize` (#15439) 2025-08-21 23:15:40 +00:00
uv-cache Add an experimental `uv format` command (#15017) 2025-08-21 06:33:18 -05: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 Add `--no-install-local` option to `uv sync`, `uv add` and `uv export` (#15328) 2025-08-22 11:31:52 -05:00
uv-client Allow passing custom reqwest client to RegistryClient (#15281) 2025-08-14 12:00:09 -05:00
uv-configuration Add `--no-install-local` option to `uv sync`, `uv add` and `uv export` (#15328) 2025-08-22 11:31:52 -05:00
uv-console Use consistent workspace inheritance (#15031) 2025-08-02 22:03:51 +02:00
uv-dev Sync latest Python releases (#15363) 2025-08-18 21:49:00 +00:00
uv-dirs Use workspace dependencies for crate dev-dependencies (#14903) 2025-07-25 13:57:49 -05:00
uv-dispatch Install non-build-isolation packages in a second phase (#15306) 2025-08-15 22:00:55 +00:00
uv-distribution Import `PackageName` from `uv-normalize` (#15439) 2025-08-21 23:15:40 +00:00
uv-distribution-filename Make the use of `Self` consistent. (#15074) 2025-08-05 20:17:12 +01:00
uv-distribution-types Import `PackageName` from `uv-normalize` (#15439) 2025-08-21 23:15:40 +00:00
uv-extract Allow more trailing null bytes in zip files (#15452) 2025-08-22 14:50:07 +01:00
uv-fs Update Rust toolchain to 1.89 (#15157) 2025-08-08 13:01:52 +00:00
uv-git Update Rust toolchain to 1.89 (#15157) 2025-08-08 13:01:52 +00:00
uv-git-types Make the use of `Self` consistent. (#15074) 2025-08-05 20:17:12 +01:00
uv-globfilter additional use of Self, remove * and & where not needed (#15091) 2025-08-05 15:19:56 -05:00
uv-install-wheel Bump MSRV to 1.87 (#15441) 2025-08-22 10:21:24 +01:00
uv-installer Import `PackageName` from `uv-normalize` (#15439) 2025-08-21 23:15:40 +00:00
uv-keyring Add new `uv-keyring` crate that vendors the `keyring-rs` crate (#14725) 2025-08-15 15:57:56 +02:00
uv-macros Use consistent workspace inheritance (#15031) 2025-08-02 22:03:51 +02:00
uv-metadata Harden ZIP streaming to reject repeated entries and other malformed ZIP files (#15136) 2025-08-07 15:31:48 +01:00
uv-normalize Make the use of `Self` consistent. (#15074) 2025-08-05 20:17:12 +01:00
uv-once-map Make the use of `Self` consistent. (#15074) 2025-08-05 20:17:12 +01:00
uv-options-metadata Make the use of `Self` consistent. (#15074) 2025-08-05 20:17:12 +01:00
uv-pep440 Update Rust toolchain to 1.89 (#15157) 2025-08-08 13:01:52 +00:00
uv-pep508 Import `PackageName` from `uv-normalize` (#15439) 2025-08-21 23:15:40 +00:00
uv-performance-memory-allocator Update Rust crate mimalloc to v0.1.47 (#14207) 2025-06-23 12:07:09 +02:00
uv-platform Add an experimental `uv format` command (#15017) 2025-08-21 06:33:18 -05:00
uv-platform-tags additional use of Self, remove * and & where not needed (#15091) 2025-08-05 15:19:56 -05:00
uv-publish Respect `UV_HTTP_RETRIES` in `uv publish` (#15106) 2025-08-06 17:59:17 +02:00
uv-pypi-types Update Rust toolchain to 1.89 (#15157) 2025-08-08 13:01:52 +00:00
uv-python Stop leaking strings in Python downloads (#15418) 2025-08-21 17:54:39 +02:00
uv-redacted Make the use of `Self` consistent. (#15074) 2025-08-05 20:17:12 +01:00
uv-requirements Make the use of `Self` consistent. (#15074) 2025-08-05 20:17:12 +01:00
uv-requirements-txt additional use of Self, remove * and & where not needed (#15091) 2025-08-05 15:19:56 -05:00
uv-resolver Add `--no-install-local` option to `uv sync`, `uv add` and `uv export` (#15328) 2025-08-22 11:31:52 -05:00
uv-scripts Import `PackageName` from `uv-normalize` (#15439) 2025-08-21 23:15:40 +00:00
uv-settings Add file-to-CLI overrides for build isolation configuration (#15437) 2025-08-21 23:54:39 +01:00
uv-shell Add fallback parent process detection to `uv tool update-shell` (#15356) 2025-08-18 13:48:34 -05:00
uv-small-str Update schemars 1.0.0 (#13693) 2025-06-24 21:43:31 +02:00
uv-state Make the use of `Self` consistent. (#15074) 2025-08-05 20:17:12 +01:00
uv-static Add an environment variable for `UV_ISOLATED` (#15428) 2025-08-21 23:39:04 +01:00
uv-tool Import `PackageName` from `uv-normalize` (#15439) 2025-08-21 23:15:40 +00:00
uv-torch Avoid introducing unnecessary system dependency on CUDA (#15449) 2025-08-22 12:06:23 +01:00
uv-trampoline Update trampoline to ~1.87 nightly (#15052) 2025-08-06 12:45:04 +00:00
uv-trampoline-builder Use workspace dependencies for crate dev-dependencies (#14903) 2025-07-25 13:57:49 -05:00
uv-types Import `PackageName` from `uv-normalize` (#15439) 2025-08-21 23:15:40 +00:00
uv-version Bump version to 0.8.13 (#15423) 2025-08-21 13:52:39 -05:00
uv-virtualenv Make the use of `Self` consistent. (#15074) 2025-08-05 20:17:12 +01:00
uv-warnings Better warning chain styling (#14934) 2025-07-28 16:23:39 +00:00
uv-workspace Import `PackageName` from `uv-normalize` (#15439) 2025-08-21 23:15:40 +00:00
README.md Link to Dependency specifiers instead of PEP 508 (#8411) 2024-10-21 14:43:38 -04: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.