mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-03 21:23:54 +00:00
<!-- 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 <!-- What's the purpose of the change? What does it do, and why? --> The new ARM runners report a permission error: ``` Run uvx twine check wheelhouse/* error: failed to open file `/home/runneradmin/.config/uv/uv.toml`: Permission denied (os error 13) ``` In this PR, a PermissionsError is treated like not finding the file. I reworked the structure just a bit to avoid calling `err.kind()` multiple times. ## Test Plan <!-- How was it tested? --> Added a UNIX only test where I set the permissions of the folder containing the file and try to find it. --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||