astral-uv:konsti/box-dist

Last commit made on 2024-05-08
Get this branch:
git clone -b konsti/box-dist https://git.launchpad.net/astral-uv

Branch merges

Branch information

Name:
konsti/box-dist
Repository:
lp:astral-uv

Recent commits

b8dfd49... by konstin

.

f590e8d... by konstin

Box Dist to reduce its size

7928955... by konstin

Use the term path instead of local file consistently

Rename `ParsedLocalFileUrl` to `ParsedPathUrl`.

b6832d2... by konstin

Store parsed url fields in Dist variants

18ac8e9... by konstin

Add parsed url to pubgrub

f8901e9... by konstin

Always activate non-pep508-extensions (#3428)

Avoid compilation errors when running partial tests due to that feature
being missing.

3830e90... by Alex Waygood <email address hidden>

Tell renovate not to try to update GitHub runners (#3427)

388dba4... by Ahmed Ilyas <email address hidden>

add compat arg --user error message to pip install (#3424)

Resolves [#3419](https://github.com/astral-sh/uv/issues/3419)

## Summary

Add compatargs to pip install command and hint the user to create a venv
for --user arg.

## Test Plan

Tested it locally.

```bash
cargo run pip install --user flask
   Compiling uv v0.1.39 (/home/ahmedilyas/uv/crates/uv)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.96s
     Running `target/debug/uv pip install --user flask`
error: pip install's `--user` is unsupported (use a virtual environment instead).
```

55f6e4e... by konstin

Make `Requirement` generic over url type (#3253)

This change allows switching out the url type for requirements. The
original idea was to allow different types for different requirement
origins, so that core metadata reads can ban non-pep 508 requirements
while we only allow them for requirements.txt. This didn't work out
because we expect `&Requirement`s from all sources to match.

I also tried to split `pep508_rs` into a PEP 508 compliant crate and
into our extensions, but they are to tightly coupled.

I think this change is an improvement still as it reduces the hardcoded
dependence on `VerbatimUrl`.

8e86cd0... by Zanie Blue <email address hidden>

Add hint to use a venv to `pip sync --user` (#3418)