-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Comparing changes
Open a pull request
base repository: astral-sh/uv
base: 0.4.6
head repository: astral-sh/uv
compare: 0.4.7
- 18 commits
- 56 files changed
- 7 contributors
Commits on Sep 6, 2024
-
Take intersection of constraint and requirements hashes (#7108)
## Summary Small follow-up to #7093.
Configuration menu - View commit details
-
Copy full SHA for c494f69 - Browse repository at this point
Copy the full SHA c494f69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d57b6e - Browse repository at this point
Copy the full SHA 3d57b6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0f9016 - Browse repository at this point
Copy the full SHA d0f9016View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ae005b - Browse repository at this point
Copy the full SHA 6ae005bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1422e18 - Browse repository at this point
Copy the full SHA 1422e18View commit details -
Prune unused source distributions from the cache (#7112)
## Summary This has bothered me for a while and should be fairly impactful for users. It requires a weird implementation, since the distribution-building crate depends on the cache, and so the prune operation can't live in the cache, since it needs to access internals of the distribution-building crate. Closes #7096.
Configuration menu - View commit details
-
Copy full SHA for 93fe3e8 - Browse repository at this point
Copy the full SHA 93fe3e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72b73a5 - Browse repository at this point
Copy the full SHA 72b73a5View commit details -
Put CLI changes in "Enhancements" section (#7104)
These overlap too much, I think
Configuration menu - View commit details
-
Copy full SHA for 8bcae5f - Browse repository at this point
Copy the full SHA 8bcae5fView commit details -
chore: Fix typo in docs (#7122)
Remove duplicate `the`. --------- Co-authored-by: Zanie Blue <contact@zanie.dev>
Configuration menu - View commit details
-
Copy full SHA for 346147d - Browse repository at this point
Copy the full SHA 346147dView commit details -
(doc) Fix wrong examples for locking (#7120)
## Summary The examples for compile with optional dependencies use `uv pip install` instead of `uv pip compile` (probably a copy-paste error) ## Test Plan N/A This is a minor doc issue. The result is directly rendered.
Configuration menu - View commit details
-
Copy full SHA for 1b6638f - Browse repository at this point
Copy the full SHA 1b6638fView commit details -
pep508: add graph debug representation for
MarkerTreeThis PR revives #6129, but is less bold: * It doesn't rename anything. (I think the rename is probably right though.) * It doesn't change the _default_ `Debug` impl. Instead, it offers this as a new `MarkerTree::debug_graph` method. I found this pretty useful for debugging since it gives a display format that is more faithful to the internal representation of a `MarkerTree`. So I think it's worth having around. But making it available in `Debug` is perhaps a bridge too far since it isn't as familiar as the typical PEP 508 representation and isn't as succinct. I did consider printing this when using `{:#?}` (i.e., the "alternate" debug representation), but too many things use that (like `insta` I think) to make it practical. Closes #6129
Configuration menu - View commit details
-
Copy full SHA for 22c0be6 - Browse repository at this point
Copy the full SHA 22c0be6View commit details -
chore: Remove dep on derivative (#7133)
(This is part of #5711) ## Summary @BurntSushi and I spotted that the `derivative` crate is only used for one enum in the entire codebase — however, it's a proc macro, and we pay for the cost of (re)compiling it in many different contexts. This replaces it with a private `Inner` core which uses the regular std derive macros — inlining and optimizations should make this equivalent to the other implementation, and not too hard to maintain hopefully (versus a manual impl of `PartialEq` and `Hash` which have to be kept in sync.) ## Test Plan Trust CI?
Configuration menu - View commit details
-
Copy full SHA for 5e1b9b1 - Browse repository at this point
Copy the full SHA 5e1b9b1View commit details -
Write trailing newline to
.python-versionfiles (#7140)## Summary Closes #7135.
Configuration menu - View commit details
-
Copy full SHA for 8a0e1fd - Browse repository at this point
Copy the full SHA 8a0e1fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eff8aa - Browse repository at this point
Copy the full SHA 8eff8aaView commit details -
Fix typo
aaarch64->aarch64(#7141)copy pasted `--python-platform aaarch64-unknown-linux-gnu` [from the docs](https://docs.astral.sh/uv/reference/cli/#uv-pip-compile) and got > error: invalid value 'aaarch64-unknown-linux-gnu' for '--python-platform <PYTHON_PLATFORM>' > [possible values: windows, linux, macos, x86_64-pc-windows-msvc, i686-pc-windows-msvc, x86_64-unknown-linux-gnu, aarch64-apple-darwin, x86_64-apple-darwin, aarch64-unknown-linux-gnu, aarch64-unknown-linux-musl, x86_64-unknown-linux-musl, x86_64-manylinux_2_17, x86_64-manylinux_2_28, x86_64-manylinux_2_31, aarch64-manylinux_2_17, aarch64-manylinux_2_28, aarch64-manylinux_2_31] > > tip: a similar value exists: 'aarch64-unknown-linux-gnu'
Configuration menu - View commit details
-
Copy full SHA for e96eb94 - Browse repository at this point
Copy the full SHA e96eb94View commit details
Commits on Sep 7, 2024
-
Skip metadata fetch for
--no-depsandpip sync(#7127)## Summary I think a better tradeoff here is to skip fetching metadata, even though we can't validate the extras. It will help with situations like #5073 (comment) in which, otherwise, we have to download the wheels twice.
Configuration menu - View commit details
-
Copy full SHA for 7d49fbc - Browse repository at this point
Copy the full SHA 7d49fbcView commit details -
Avoid removing entries during
read_dir(#7151)I think this is the source of the test flakiness.
Configuration menu - View commit details
-
Copy full SHA for 6179b65 - Browse repository at this point
Copy the full SHA 6179b65View commit details -
Configuration menu - View commit details
-
Copy full SHA for a178051 - Browse repository at this point
Copy the full SHA a178051View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.4.6...0.4.7