astral-uv:zb/debug-net

Last commit made on 2024-04-04
Get this branch:
git clone -b zb/debug-net https://git.launchpad.net/astral-uv

Branch merges

Branch information

Name:
zb/debug-net
Repository:
lp:astral-uv

Recent commits

c127308... by Zanie Blue <email address hidden>

Add URL to metadata retrieval trace

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

Deduplicate editables during install commands (#2820)

## Summary

Closes #2819.

661787b... by Charlie Marsh <email address hidden>

Document that uv is safe to run concurrently (#2818)

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

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

Respect Git tags and branches that look like short commits (#2795)

## Summary

If we're given a Git reference like `20240222`, we currently treat it as
a short commit hash. However... it _could_ be a branch or a tag. This PR
improves the Git reference logic to ensure that ambiguous references
like `20240222` are handled appropriately, by attempting to extract it
as a branch, then a tag, then a short commit hash.

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

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

Upgrade `rs-async-zip` to support data descriptors (#2809)

## Summary

Upgrading `rs-async-zip` enables us to support data descriptors in
streaming. This both greatly improves performance for indexes that use
data descriptors _and_ ensures that we support them in a few other
places (e.g., zipped source distributions created in Finder).

Closes #2808.

34341bd... by Charlie Marsh <email address hidden>

Allow package lookups across multiple indexes via explicit opt-in (#2815)

## Summary

This partially revives https://github.com/astral-sh/uv/pull/2135 (with
some modifications) to enable users to opt-in to looking for packages
across multiple indexes.

The behavior is such that, in version selection, we take _any_
compatible version from a "higher-priority" index over the compatible
versions of a "lower-priority" index, even if that means we might accept
an "older" version.

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

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

Allow no-op `--no-compile` flag on CLI (#2816)

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

8eaaf65... by Charlie Marsh <email address hidden>

Avoid unused extras check in `pip install` for source trees (#2811)

## Summary

This was an oversight in the `-r pyproject.toml` refactor. We can't
enforce unused extras if we have a source tree. We made the correct
changes to `pip compile`, but not `pip install`. This PR just mirrors
those changes to `pip install`, and adds a few tests.

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

691ed09... by konstin

Fix windows lock race: Lock exclusive after all try lock errors (#2800)

We don't know what kind of error the OS gives us on `try_lock_exclusive`
with an already locked file, so we assume all those errors are an
already locked file and call `lock_exclusive`.

For example the windows error:

```
Os {
    code: 33,
    kind: Uncategorized,
    message: "The process cannot access the file because another process has locked a portion of the file.",
}
```

Fixes #2767

6915bc9... by Alex Waygood <email address hidden>

fix typos (#2804)