mirror of https://github.com/astral-sh/uv
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:
parent
2c567a64b9
commit
07f346f723
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue