astral-uv:konsti/pubgrub-less-invasive-dep-constraints-iterator

Last commit made on 2024-06-03
Get this branch:
git clone -b konsti/pubgrub-less-invasive-dep-constraints-iterator https://git.launchpad.net/astral-uv

Branch merges

Branch information

Name:
konsti/pubgrub-less-invasive-dep-constraints-iterator
Repository:
lp:astral-uv

Recent commits

160f4e3... by konstin

Less invasive dep constraint iterator

29ea5d5... by Charlie Marsh <email address hidden>

Fix reference to `--python-version` patch behavior (#3989)

## Summary

We changed this at some point but didn't update the documentation.

8c3a8bf... by konstin

Update pubgrub to d4795a31be17669aba11eb741b4a9086acc3eb11 (#3988)

I trimmed down the diff of our pubgrub fork with upstream and
[d4795a31be17669aba11eb741b4a9086acc3eb11](https://github.com/astral-sh/pubgrub/commit/d4795a31be17669aba11eb741b4a9086acc3eb11)
(diff:
https://github.com/pubgrub-rs/pubgrub/compare/dev...astral-sh:pubgrub:perma-35)
is the result.

650638f... by Charlie Marsh <email address hidden>

Remove unstable uv lock from pip interface (#3970)

## Summary

I think we can start using `uv lock` and `uv sync` to test this instead.

fbf562d... by Andrew Gallant <email address hidden>

uv {lock,sync}: propagate index URLs to registry client (#3986)

Otherwise the `uv lock` command wasn't respecting the index URL option.

This is a follow-up to #3984, and I believe should now allow #3970 to be
merged.

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

Extract index arguments into their own Clap group (#3985)

## Summary

Just removes a lot of repeated documentation. We can expand this
strategy in the future.

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

Add index URL parameters to Project CLI (#3984)

## Summary

For now, this exists to facilitate testing. We may remove it in the
future in favor of other APIs.

1b1600c... by Tim de Jager <email address hidden>

feat: add back the use of extra env vars to the build dispatch (#3981)

Seems like a recent Pull removed this, couldn't directly find out which.
I'm adding it back as we rely on this API, and I do not see another way
of accessing this, or am I mistaken?

Thanks!

5c77693... by Di-Is <email address hidden>

Add override namespace to pyproject.toml/uv.toml (#3839)

<!--
Thank you for contributing to uv! To help us out with reviewing, please
consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

See #3834 .

This PR adds a new namespace, `override-dependencies`, to
pyproject.toml/uv.toml.
This namespace assumes that the dependencies you want to override are
written in the form of `requirements.txt`.

a example of pyproject.toml
```toml
[project]
name = "example"
version = "0.0.0"
dependencies = [
  "flask==3.0.0"
]

[tool.uv]
override-dependencies = [
  "werkzeug==2.3.0"
]
```

This will improve usability by allowing you to override dependencies
without having to specify the --override option when running `uv pip
compile/install`.

## Test Plan

added test to `crates/uv/tests/pip_compile.rs`.

---------

Co-authored-by: konstin <email address hidden>

1b769b0... by T-256 <email address hidden>

Windows: Statically linked C runtime (#3966)