-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix OS detection for Alpine Linux (#1545)
This PR fixes the OS detection for Alpine Linux such that the version of musl available is correctly determined. The issue boiled down to a regex that required 2 digits for each version component. But a valid musl version is 1.2.4, which only has a single digit for each component. It's unclear how this was working for musl before this change. My theory is that our other methods of OS detection were somehow working. The first commit in this PR cleans up our Linux detection logic and adds lots of tracing calls to make debugging issues like this easier in the future. To do so, one can run: $ RUST_LOG=trace uv pip install -v whatever The second commit has the actual fix. Fixes #1427
- Loading branch information
1 parent
b4ea489
commit 3aa7a6b
Showing
1 changed file
with
158 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters