Accept `musllinux_1_0` as a valid platform tag (#13289)

## Summary

This seems to match `packaging`:


d0d5ad8687/src/packaging/_musllinux.py (L71C1-L72C62)

Closes https://github.com/astral-sh/uv/issues/13045.
This commit is contained in:
Charlie Marsh 2025-05-05 02:53:41 -04:00 committed by GitHub
parent 2c567a64b9
commit 07f346f723
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -466,8 +466,7 @@ fn compatible_tags(platform: &Platform) -> Result<Vec<PlatformTag>, PlatformErro
} }
(Os::Musllinux { major, minor }, _) => { (Os::Musllinux { major, minor }, _) => {
let mut platform_tags = vec![PlatformTag::Linux { arch }]; let mut platform_tags = vec![PlatformTag::Linux { arch }];
// musl 1.1 is the lowest supported version in musllinux platform_tags.extend((0..=*minor).map(|minor| PlatformTag::Musllinux {
platform_tags.extend((1..=*minor).map(|minor| PlatformTag::Musllinux {
major: *major, major: *major,
minor, minor,
arch, arch,