-
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.2
head repository: astral-sh/uv
compare: 0.4.3
- 11 commits
- 58 files changed
- 4 contributors
Commits on Sep 1, 2024
-
fix: replace std::fs::canonicalize with Simplified::simple_canonicali…
…z… (#6776) ## Summary This PR addresses an issue on Windows where `std::fs::canonicalize` can fail or panic when resolving paths on mapped network drives. By replacing it with `Simplified::simple_canonicalize`, we aim to improve the robustness and cross-platform compatibility of path resolution. ### Changes * Updated `CANONICAL_CWD` in `path.rs` to use `Simplified::simple_canonicalize` instead of `std::fs::canonicalize`. ### Why * `std::fs::canonicalize` has known issues with resolving paths on mapped network drives on Windows, which can lead to panics or incorrect path resolution. * `Simplified::simple_canonicalize` internally uses `dunce::canonicalize`, which handles these cases more gracefully, ensuring better stability and reliability. ## Test Plan Since `simple_canonicalize` has already been tested in a prior PR, this change is expected to work without introducing any new issues. No additional tests are necessary beyond ensuring existing tests pass, which will confirm the correctness of the change.
Configuration menu - View commit details
-
Copy full SHA for ae3f35c - Browse repository at this point
Copy the full SHA ae3f35cView commit details -
Remove canonicalize calls (#6919)
## Summary A few of these should use `absolute` instead of `canonicalize`; and apparently we no longer need to strip the `CANONICAL_CWD` to get tests passing.
Configuration menu - View commit details
-
Copy full SHA for 7e6df8f - Browse repository at this point
Copy the full SHA 7e6df8fView commit details
Commits on Sep 2, 2024
-
Avoid panic with missing temporary directory (#6929)
Forward an error for missing temp directories: ``` $ env TMPDIR=.tmp uv-debug pip install httpx error: No such file or directory (os error 2) at path "/home/konsti/projects/uv/.tmp/.tmpgIBhhh" ``` Fixes #6878
Configuration menu - View commit details
-
Copy full SHA for 9edf2d8 - Browse repository at this point
Copy the full SHA 9edf2d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9319319 - Browse repository at this point
Copy the full SHA 9319319View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea0a0db - Browse repository at this point
Copy the full SHA ea0a0dbView commit details -
Add source distribution support to
uv-buildcrate (#6896)## Summary Just exposes the correct PEP 517 hooks.
Configuration menu - View commit details
-
Copy full SHA for 42a4d80 - Browse repository at this point
Copy the full SHA 42a4d80View commit details -
Avoid updating incorrect dependencies for sorted
uv add(#6939)## Summary The indexes stored in the edits is wrong now that we add dependencies out-of-order. Closes #6933.
Configuration menu - View commit details
-
Copy full SHA for cbe2827 - Browse repository at this point
Copy the full SHA cbe2827View commit details -
Use lower-bound semantics for all Python compatibility comparisons (#…
…6882) ## Summary Right now, we have slightly different `requires-python` semantics for `-p 3.11` vs. `-p 3.11 --universal`, and slightly different (wrong) semantics for how we compare against the _installed_ Python version (which doesn't ignore upper bounds, but should). This PR rips it all out and replaces it with consistent semantics across `uv lock`, `uv pip compile -p 3.11`, and `uv pip compile -p 3.11 --universal`. We now always ignore upper bounds. Closes #6859. Closes #5045.
Configuration menu - View commit details
-
Copy full SHA for 8eef1a2 - Browse repository at this point
Copy the full SHA 8eef1a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6897001 - Browse repository at this point
Copy the full SHA 6897001View commit details -
Allow
uv sync --packagewithout copying memberpyproject.toml(#6943) ## Summary Closes #6935.
Configuration menu - View commit details
-
Copy full SHA for f9c0458 - Browse repository at this point
Copy the full SHA f9c0458View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47f4ca2 - Browse repository at this point
Copy the full SHA 47f4ca2View 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.2...0.4.3