uv/crates
konsti f4f67ebde0
Rebase: Uninstall existing non-editable versions when installing editable requirements bug (#682)
Separate branch for rebasing #677 onto main because i don't trust the
rebase enough to force push.

Closes #677.

---

If you install `black` from PyPI, then `-e ../black`, we need to
uninstall the existing `black`. This sounds simple, but that in turn
requires that we _know_ `-e ../black` maps to the package `black`, so
that we can mark it for uninstallation in the install plan. This, in
turn, means that we need to build editable dependencies prior to the
install plan.

This is just a bunch of reorganization to fix that specific bug
(installing multiple versions of `black` if you run through the above
workflow): we now run through the list of editables upfront, mark those
that are already installed, build those that aren't, and then ensure
that `InstallPlan` correctly removes those that need to be removed, etc.

Closes #676.

Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
2023-12-18 09:28:14 +00:00
..
bench Use Clippy lint table over Cargo config (#490) 2023-11-22 15:10:27 +00:00
distribution-filename Impl Version debug as display (#606) 2023-12-11 16:38:14 +01:00
distribution-types Rebase: Uninstall existing non-editable versions when installing editable requirements bug (#682) 2023-12-18 09:28:14 +00:00
gourgeist Activate venv before source dist build (#567) 2023-12-12 15:46:37 +01:00
install-wheel-rs Support editable in pip-sync and pip-compile (#587) 2023-12-16 22:37:34 +00:00
pep440-rs Speed up version parsing for a 1.27±0.03 speedup in transformers-extras with conservative changes (#660) 2023-12-15 14:03:35 -05:00
pep508-rs Support editable in pip-sync and pip-compile (#587) 2023-12-16 22:37:34 +00:00
platform-host Error when ldd is not in path (#506) 2023-11-28 05:55:04 +00:00
platform-tags Use rustc-hash instead of fxhash crate (#594) 2023-12-08 20:27:49 +00:00
puffin-build Support editable in pip-sync and pip-compile (#587) 2023-12-16 22:37:34 +00:00
puffin-cache Switch to msgpack in the cached client (#662) 2023-12-16 21:01:35 +00:00
puffin-cli Rebase: Uninstall existing non-editable versions when installing editable requirements bug (#682) 2023-12-18 09:28:14 +00:00
puffin-client Rebase: Uninstall existing non-editable versions when installing editable requirements bug (#682) 2023-12-18 09:28:14 +00:00
puffin-dev Support editable in pip-sync and pip-compile (#587) 2023-12-16 22:37:34 +00:00
puffin-dispatch Rebase: Uninstall existing non-editable versions when installing editable requirements bug (#682) 2023-12-18 09:28:14 +00:00
puffin-distribution Support editable in pip-sync and pip-compile (#587) 2023-12-16 22:37:34 +00:00
puffin-extract Move source dist extraction into extract crate (#649) 2023-12-14 05:56:49 +00:00
puffin-fs Enable selective cache purging in puffin clean (#589) 2023-12-08 19:51:32 +00:00
puffin-git Restructure Git cache to include package name (#588) 2023-12-07 20:17:41 -05:00
puffin-installer Rebase: Uninstall existing non-editable versions when installing editable requirements bug (#682) 2023-12-18 09:28:14 +00:00
puffin-interpreter Allow identical VIRTUAL_ENV and CONDA_PREFIX env vars (#681) 2023-12-18 08:42:31 +00:00
puffin-normalize Add dedicated ID types to avoid opaque strings (#642) 2023-12-14 00:53:33 +00:00
puffin-resolver Add editable install support to pip-install (#675) 2023-12-18 09:52:32 +01:00
puffin-traits Support editable in pip-sync and pip-compile (#587) 2023-12-16 22:37:34 +00:00
puffin-warnings Make warnings user-facing (#628) 2023-12-12 21:24:38 -05:00
puffin-workspace Use Clippy lint table over Cargo config (#490) 2023-11-22 15:10:27 +00:00
pypi-types Add fixup for invalid double quotes (#663) 2023-12-15 18:11:22 +00:00
requirements-txt Add support for editable packages in pip-uninstall (#670) 2023-12-17 02:56:37 +00:00
README.md Move archive extraction into its own crate (#647) 2023-12-14 04:49:09 +00:00

Crates

bench

Functionality for benchmarking Puffin.

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.

gourgeist

A venv replacement to create virtual environments in Rust.

install-wheel-rs

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

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.

puffin-build

A PEP 517-compatible build frontend for Puffin.

puffin-cache

Functionality for caching Python packages and associated metadata.

puffin-cli

Command-line interface for the Puffin package manager.

puffin-client

Client for interacting with PyPI-compatible HTTP APIs.

puffin-dev

Development utilities for Puffin.

puffin-dispatch

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

puffin-distribution

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

puffin-extract

Utilities for extracting files from archives.

puffin-fs

Utilities for interacting with the filesystem.

puffin-git

Functionality for interacting with Git repositories.

puffin-installer

Functionality for installing Python packages into a virtual environment.

puffin-interpreter

Functionality for detecting and leveraging the current Python interpreter.

puffin-normalize

Normalize package and extra names as per Python specifications.

puffin-package

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

puffin-resolver

Functionality for resolving Python packages and their dependencies.

puffin-traits

Shared traits for Puffin, to avoid circular dependencies.

pypi-types

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

puffin-warnings

User-facing warnings for Puffin.

requirements-txt

Functionality for parsing requirements.txt files.