astral-uv:charlie/in-flight

Last commit made on 2024-05-07
Get this branch:
git clone -b charlie/in-flight https://git.launchpad.net/astral-uv

Branch merges

Branch information

Name:
charlie/in-flight
Repository:
lp:astral-uv

Recent commits

b20e95f... by Charlie Marsh <email address hidden>

Remove additional in-flight map

e8b423d... by Charlie Marsh <email address hidden>

Use top-level `--isolated` for `uv run` (#3431)

## Summary

We already have a global `--isolated`, which means "ignore any on-disk
configuration". I think we should reuse this for the "ignore the
workspace" setting in `uv run`, rather than `--no-workspace`.

I've also merged the existing `--isolated` and `--no-workspace`
behaviors in `uv run` into a single flag. We may not need separate flags
for this, since the current intent seems to be "ignore the workspace
environment"? Though we could always re-add later.

Closes https://github.com/astral-sh/uv/issues/3421.

7fe9f0a... by Charlie Marsh <email address hidden>

Bump version to v0.1.40 (#3433)

f8a7813... by Charlie Marsh <email address hidden>

Rename `--force` to `--allow-existing` (#3416)

## Summary

We've found `--force` to be a confusing name here. (Not breaking as this
hasn't shipped in a release.)

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)

24f38d7... by konstin

Preserve given for `tool.uv.sources` paths (#3412)

We now correctly emit relative paths in `uv pip compile` with
`tool.uv.sources` path inputs.

`tool.uv.sources` is mainly intended to be used with the uv lock file
over requirements.txt, but it's good to have basic `uv pip` support
working.

Fixes #3366