astral-uv:charlie/legacy-setup-py

Last commit made on 2024-06-12
Get this branch:
git clone -b charlie/legacy-setup-py https://git.launchpad.net/astral-uv

Branch merges

Branch information

Name:
charlie/legacy-setup-py
Repository:
lp:astral-uv

Recent commits

841dc44... by Charlie Marsh <email address hidden>

Remove --legacy-setup-py command-line argument

22795f8... by Charlie Marsh <email address hidden>

Flatten ORs and ANDs in marker construction (#4260)

## Summary

If we're ORing an OR, we should just append rather than nesting in
another OR.

In my branch, this let us simplify:

```
python_version < '3.10' or python_version > '3.12' or (python_version < '3.8' or python_version > '3.12')
```

To:

```
python_version < '3.10' or python_version > '3.12
```

44041bc... by Charlie Marsh <email address hidden>

Bump version to v0.2.11 (#4258)

1f2ad8f... by Charlie Marsh <email address hidden>

Re-add `aarch64-unknown-linux-gnu` binary to release assets (#4254)

This PR re-adds the `aarch64-unknown-linux-gnu` binary, which will also
add the `manylinux_2_28` wheel for `aarch64` (in addition to the now
dual-tagged `musllinux_1_1` and `manylinux_2_217` wheel for `aarch64`).
We can consider dropping that _wheel_, but in my assessment removing a
release asset should now be treated as a breaking change -- so removing
it in a patch release was incorrect.

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

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

Add changelog for preview changes (#4251)

I tweaked rooster to allow sections to be overridden from the CLI so we
can generate a separate preview changelog

See https://github.com/zanieb/rooster/pull/43 for the rooster changes
needed

I tested `./scripts/release.sh` as well.

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

Represent build tag as `u64` (#4253)

## Summary

The build tags in this case are like, e.g., `202206090410`. That's
larger than a `u32`, so we're rejecting the wheel. In theory build tags
could be even larger, but we already use `u64` for version segment so I
think it's fine to keep that constraint here.

I'm going to look into surfacing these errors separately.

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

## Test Plan

`cargo run pip install monailabel`

6dae192... by Charlie Marsh <email address hidden>

Make missing `METADATA` file a recoverable error (#4247)

## Summary

I don't have a great way to test it, but this makes the error described
in https://github.com/astral-sh/uv/issues/4246 an incompatibility rather
than a fatal error.

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

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

Improve output when an older toolchain version is already installed (#4248)

e.g.

```
❯ uv toolchain install
Found installed toolchain 'cpython-3.9.19-macos-aarch64-none'
A toolchain is already installed. Use `uv toolchain install <request>` to install a specific toolchain
```

instead of

```
❯ uv toolchain install
Using latest Python version
Found installed toolchain 'cpython-3.9.19-macos-aarch64-none'
Already installed at /Users/zb/Library/Application Support/uv/toolchains/cpython-3.9.19-macos-aarch64-none
```

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

Warn when 'requires-python' does not include a lower bound (#4234)

## Summary

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

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

Allow direct URLs for dev dependencies (#4233)

## Summary

Ensures that they're included in the lookahead resolver.

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