astral-uv:zb/compare-pip

Last commit made on 2024-01-10
Get this branch:
git clone -b zb/compare-pip https://git.launchpad.net/astral-uv

Branch merges

Branch information

Name:
zb/compare-pip
Repository:
lp:astral-uv

Recent commits

2c471cf... by Zanie <email address hidden>

Fix installation of packages in Poetry which requires "==*" to not auto-pin

8fbb96d... by Zanie <email address hidden>

Show the command

fb28738... by Zanie <email address hidden>

Add poetry/rip comparisons

8d1e582... by Zanie <email address hidden>

WIP: Messy puffin/pip error message comparisons

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

Add support for `prepare_metadata_for_build_wheel` (#842)

## Summary

This PR adds support for `prepare_metadata_for_build_wheel`, which
allows us to determine source distribution metadata without building the
source distribution. This represents an optimization for the resolver,
as we can skip the expensive build phase for build backends that support
it.

For reference, `prepare_metadata_for_build_wheel` seems to be supported
by:

- `hatchling` (as of
[1.0.9](https://hatch.pypa.io/latest/history/hatchling/#hatchling-v1.9.0)).
- `flit`
- `setuptools`

In fact, it seems to work for every backend _except_ those using legacy
`setup.py`.

Closes #599.

858d558... by konstin

Use `Dist` in `VersionMap` (#851)

Refactoring split out from find links support: Find links files can be
represented as `Dist`, but not really as `File`, they don't have url nor
hashes.

`DistRequiresPython` is somewhat odd as an in between type.

1203f8f... by konstin

Gourgeist updates (#862)

* Use caching again
* Make clap feature only required for the cli/bin optional

e67b785... by bojanserafimov <email address hidden>

Use zlib-ng for faster decompression (#859)

34d548d... by Zanie Blue <email address hidden>

Improve error messages when there are no versions of a singleton range (#855)

33982ef... by Charlie Marsh <email address hidden>

Remove a TOCTOU read in build (#860)

We should just read and handle the not-found case, rather than checking
if the file doesn't exist first.