Create a newtype `struct PubGrubRange(pubgrub::range::Range<Version>)` to avoid overriding the `Display` implementation on `Range` in pubgrub itself, reducing our diff with upstream. Used methods taking an `&Self` or returning `Self` were overridden, the rest of the methods succeeds through deref.
The alternative would be moving range formatting into the error formatter, but this would make pubgrub's api strange, deviating from rust's `Display` standard.
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.
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?
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"
]
This will improve usability by allowing you to override dependencies
without having to specify the --override option when running `uv pip
compile/install`.