mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Add manylinux2014 aliases for --python-platform
(#10217)
Some checks are pending
CI / Determine changes (push) Waiting to run
CI / check windows trampoline | i686 (push) Blocked by required conditions
CI / lint (push) Waiting to run
CI / cargo clippy | ubuntu (push) Blocked by required conditions
CI / cargo clippy | windows (push) Blocked by required conditions
CI / cargo dev generate-all (push) Blocked by required conditions
CI / cargo shear (push) Waiting to run
CI / check windows trampoline | x86_64 (push) Blocked by required conditions
CI / cargo test | ubuntu (push) Blocked by required conditions
CI / cargo test | macos (push) Blocked by required conditions
CI / cargo test | windows (push) Blocked by required conditions
CI / check windows trampoline | aarch64 (push) Blocked by required conditions
CI / test windows trampoline | i686 (push) Blocked by required conditions
CI / test windows trampoline | x86_64 (push) Blocked by required conditions
CI / typos (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / build binary | linux (push) Blocked by required conditions
CI / build binary | macos aarch64 (push) Blocked by required conditions
CI / build binary | macos x86_64 (push) Blocked by required conditions
CI / build binary | windows (push) Blocked by required conditions
CI / cargo build (msrv) (push) Blocked by required conditions
CI / build binary | freebsd (push) Blocked by required conditions
CI / ecosystem test | prefecthq/prefect (push) Blocked by required conditions
CI / ecosystem test | pallets/flask (push) Blocked by required conditions
CI / integration test | conda on ubuntu (push) Blocked by required conditions
CI / integration test | free-threaded on linux (push) Blocked by required conditions
CI / integration test | free-threaded on windows (push) Blocked by required conditions
CI / integration test | pypy on ubuntu (push) Blocked by required conditions
CI / integration test | pypy on windows (push) Blocked by required conditions
CI / integration test | graalpy on ubuntu (push) Blocked by required conditions
CI / integration test | graalpy on windows (push) Blocked by required conditions
CI / integration test | github actions (push) Blocked by required conditions
CI / integration test | determine publish changes (push) Blocked by required conditions
CI / check system | alpine (push) Blocked by required conditions
CI / integration test | uv publish (push) Blocked by required conditions
CI / check cache | ubuntu (push) Blocked by required conditions
CI / check cache | macos aarch64 (push) Blocked by required conditions
CI / check system | python on debian (push) Blocked by required conditions
CI / check system | python on fedora (push) Blocked by required conditions
CI / check system | python3.13 (push) Blocked by required conditions
CI / check system | conda3.8 on macos (push) Blocked by required conditions
CI / check system | conda3.11 on windows (push) Blocked by required conditions
CI / check system | conda3.8 on windows (push) Blocked by required conditions
CI / check system | amazonlinux (push) Blocked by required conditions
CI / check system | embedded python3.10 on windows (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
CI / check system | python on ubuntu (push) Blocked by required conditions
CI / check system | python on opensuse (push) Blocked by required conditions
CI / check system | python on rocky linux 8 (push) Blocked by required conditions
CI / check system | python on rocky linux 9 (push) Blocked by required conditions
CI / check system | pypy on ubuntu (push) Blocked by required conditions
CI / check system | pyston (push) Blocked by required conditions
CI / check system | python on macos aarch64 (push) Blocked by required conditions
CI / check system | homebrew python on macos aarch64 (push) Blocked by required conditions
CI / check system | python on macos x86_64 (push) Blocked by required conditions
CI / check system | python3.10 on windows (push) Blocked by required conditions
CI / check system | python3.10 on windows x86 (push) Blocked by required conditions
CI / check system | python3.13 on windows (push) Blocked by required conditions
CI / check system | python3.12 via chocolatey (push) Blocked by required conditions
CI / check system | python3.9 via pyenv (push) Blocked by required conditions
CI / check system | conda3.11 on linux (push) Blocked by required conditions
CI / check system | conda3.8 on linux (push) Blocked by required conditions
CI / check system | conda3.11 on macos (push) Blocked by required conditions
Some checks are pending
CI / Determine changes (push) Waiting to run
CI / check windows trampoline | i686 (push) Blocked by required conditions
CI / lint (push) Waiting to run
CI / cargo clippy | ubuntu (push) Blocked by required conditions
CI / cargo clippy | windows (push) Blocked by required conditions
CI / cargo dev generate-all (push) Blocked by required conditions
CI / cargo shear (push) Waiting to run
CI / check windows trampoline | x86_64 (push) Blocked by required conditions
CI / cargo test | ubuntu (push) Blocked by required conditions
CI / cargo test | macos (push) Blocked by required conditions
CI / cargo test | windows (push) Blocked by required conditions
CI / check windows trampoline | aarch64 (push) Blocked by required conditions
CI / test windows trampoline | i686 (push) Blocked by required conditions
CI / test windows trampoline | x86_64 (push) Blocked by required conditions
CI / typos (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / build binary | linux (push) Blocked by required conditions
CI / build binary | macos aarch64 (push) Blocked by required conditions
CI / build binary | macos x86_64 (push) Blocked by required conditions
CI / build binary | windows (push) Blocked by required conditions
CI / cargo build (msrv) (push) Blocked by required conditions
CI / build binary | freebsd (push) Blocked by required conditions
CI / ecosystem test | prefecthq/prefect (push) Blocked by required conditions
CI / ecosystem test | pallets/flask (push) Blocked by required conditions
CI / integration test | conda on ubuntu (push) Blocked by required conditions
CI / integration test | free-threaded on linux (push) Blocked by required conditions
CI / integration test | free-threaded on windows (push) Blocked by required conditions
CI / integration test | pypy on ubuntu (push) Blocked by required conditions
CI / integration test | pypy on windows (push) Blocked by required conditions
CI / integration test | graalpy on ubuntu (push) Blocked by required conditions
CI / integration test | graalpy on windows (push) Blocked by required conditions
CI / integration test | github actions (push) Blocked by required conditions
CI / integration test | determine publish changes (push) Blocked by required conditions
CI / check system | alpine (push) Blocked by required conditions
CI / integration test | uv publish (push) Blocked by required conditions
CI / check cache | ubuntu (push) Blocked by required conditions
CI / check cache | macos aarch64 (push) Blocked by required conditions
CI / check system | python on debian (push) Blocked by required conditions
CI / check system | python on fedora (push) Blocked by required conditions
CI / check system | python3.13 (push) Blocked by required conditions
CI / check system | conda3.8 on macos (push) Blocked by required conditions
CI / check system | conda3.11 on windows (push) Blocked by required conditions
CI / check system | conda3.8 on windows (push) Blocked by required conditions
CI / check system | amazonlinux (push) Blocked by required conditions
CI / check system | embedded python3.10 on windows (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
CI / check system | python on ubuntu (push) Blocked by required conditions
CI / check system | python on opensuse (push) Blocked by required conditions
CI / check system | python on rocky linux 8 (push) Blocked by required conditions
CI / check system | python on rocky linux 9 (push) Blocked by required conditions
CI / check system | pypy on ubuntu (push) Blocked by required conditions
CI / check system | pyston (push) Blocked by required conditions
CI / check system | python on macos aarch64 (push) Blocked by required conditions
CI / check system | homebrew python on macos aarch64 (push) Blocked by required conditions
CI / check system | python on macos x86_64 (push) Blocked by required conditions
CI / check system | python3.10 on windows (push) Blocked by required conditions
CI / check system | python3.10 on windows x86 (push) Blocked by required conditions
CI / check system | python3.13 on windows (push) Blocked by required conditions
CI / check system | python3.12 via chocolatey (push) Blocked by required conditions
CI / check system | python3.9 via pyenv (push) Blocked by required conditions
CI / check system | conda3.11 on linux (push) Blocked by required conditions
CI / check system | conda3.8 on linux (push) Blocked by required conditions
CI / check system | conda3.11 on macos (push) Blocked by required conditions
## Summary Closes https://github.com/astral-sh/uv/issues/10210.
This commit is contained in:
parent
b316d780bf
commit
4b5a89dbff
3 changed files with 68 additions and 0 deletions
|
@ -68,6 +68,11 @@ pub enum TargetTriple {
|
|||
#[cfg_attr(feature = "schemars", schemars(rename = "x86_64-unknown-linux-musl"))]
|
||||
X8664UnknownLinuxMusl,
|
||||
|
||||
/// An `x86_64` target for the `manylinux2014` platform. Equivalent to `x86_64-manylinux_2_17`.
|
||||
#[cfg_attr(feature = "clap", value(name = "x86_64-manylinux2014"))]
|
||||
#[cfg_attr(feature = "schemars", schemars(rename = "x86_64-manylinux2014"))]
|
||||
X8664Manylinux2014,
|
||||
|
||||
/// An `x86_64` target for the `manylinux_2_17` platform.
|
||||
#[cfg_attr(feature = "clap", value(name = "x86_64-manylinux_2_17"))]
|
||||
#[cfg_attr(feature = "schemars", schemars(rename = "x86_64-manylinux_2_17"))]
|
||||
|
@ -128,6 +133,11 @@ pub enum TargetTriple {
|
|||
#[cfg_attr(feature = "schemars", schemars(rename = "x86_64-manylinux_2_40"))]
|
||||
X8664Manylinux240,
|
||||
|
||||
/// An ARM64 target for the `manylinux2014` platform. Equivalent to `aarch64-manylinux_2_17`.
|
||||
#[cfg_attr(feature = "clap", value(name = "aarch64-manylinux2014"))]
|
||||
#[cfg_attr(feature = "schemars", schemars(rename = "aarch64-manylinux2014"))]
|
||||
Aarch64Manylinux2014,
|
||||
|
||||
/// An ARM64 target for the `manylinux_2_17` platform.
|
||||
#[cfg_attr(feature = "clap", value(name = "aarch64-manylinux_2_17"))]
|
||||
#[cfg_attr(feature = "schemars", schemars(rename = "aarch64-manylinux_2_17"))]
|
||||
|
@ -229,6 +239,13 @@ impl TargetTriple {
|
|||
Self::X8664UnknownLinuxMusl => {
|
||||
Platform::new(Os::Musllinux { major: 1, minor: 2 }, Arch::X86_64)
|
||||
}
|
||||
Self::X8664Manylinux2014 => Platform::new(
|
||||
Os::Manylinux {
|
||||
major: 2,
|
||||
minor: 17,
|
||||
},
|
||||
Arch::X86_64,
|
||||
),
|
||||
Self::X8664Manylinux217 => Platform::new(
|
||||
Os::Manylinux {
|
||||
major: 2,
|
||||
|
@ -313,6 +330,13 @@ impl TargetTriple {
|
|||
},
|
||||
Arch::X86_64,
|
||||
),
|
||||
Self::Aarch64Manylinux2014 => Platform::new(
|
||||
Os::Manylinux {
|
||||
major: 2,
|
||||
minor: 17,
|
||||
},
|
||||
Arch::Aarch64,
|
||||
),
|
||||
Self::Aarch64Manylinux217 => Platform::new(
|
||||
Os::Manylinux {
|
||||
major: 2,
|
||||
|
@ -411,6 +435,7 @@ impl TargetTriple {
|
|||
Self::Aarch64UnknownLinuxGnu => "aarch64",
|
||||
Self::Aarch64UnknownLinuxMusl => "aarch64",
|
||||
Self::X8664UnknownLinuxMusl => "x86_64",
|
||||
Self::X8664Manylinux2014 => "x86_64",
|
||||
Self::X8664Manylinux217 => "x86_64",
|
||||
Self::X8664Manylinux228 => "x86_64",
|
||||
Self::X8664Manylinux231 => "x86_64",
|
||||
|
@ -423,6 +448,7 @@ impl TargetTriple {
|
|||
Self::X8664Manylinux238 => "x86_64",
|
||||
Self::X8664Manylinux239 => "x86_64",
|
||||
Self::X8664Manylinux240 => "x86_64",
|
||||
Self::Aarch64Manylinux2014 => "aarch64",
|
||||
Self::Aarch64Manylinux217 => "aarch64",
|
||||
Self::Aarch64Manylinux228 => "aarch64",
|
||||
Self::Aarch64Manylinux231 => "aarch64",
|
||||
|
@ -449,6 +475,7 @@ impl TargetTriple {
|
|||
Self::Aarch64UnknownLinuxGnu => "Linux",
|
||||
Self::Aarch64UnknownLinuxMusl => "Linux",
|
||||
Self::X8664UnknownLinuxMusl => "Linux",
|
||||
Self::X8664Manylinux2014 => "Linux",
|
||||
Self::X8664Manylinux217 => "Linux",
|
||||
Self::X8664Manylinux228 => "Linux",
|
||||
Self::X8664Manylinux231 => "Linux",
|
||||
|
@ -461,6 +488,7 @@ impl TargetTriple {
|
|||
Self::X8664Manylinux238 => "Linux",
|
||||
Self::X8664Manylinux239 => "Linux",
|
||||
Self::X8664Manylinux240 => "Linux",
|
||||
Self::Aarch64Manylinux2014 => "Linux",
|
||||
Self::Aarch64Manylinux217 => "Linux",
|
||||
Self::Aarch64Manylinux228 => "Linux",
|
||||
Self::Aarch64Manylinux231 => "Linux",
|
||||
|
@ -487,6 +515,7 @@ impl TargetTriple {
|
|||
Self::Aarch64UnknownLinuxGnu => "",
|
||||
Self::Aarch64UnknownLinuxMusl => "",
|
||||
Self::X8664UnknownLinuxMusl => "",
|
||||
Self::X8664Manylinux2014 => "",
|
||||
Self::X8664Manylinux217 => "",
|
||||
Self::X8664Manylinux228 => "",
|
||||
Self::X8664Manylinux231 => "",
|
||||
|
@ -499,6 +528,7 @@ impl TargetTriple {
|
|||
Self::X8664Manylinux238 => "",
|
||||
Self::X8664Manylinux239 => "",
|
||||
Self::X8664Manylinux240 => "",
|
||||
Self::Aarch64Manylinux2014 => "",
|
||||
Self::Aarch64Manylinux217 => "",
|
||||
Self::Aarch64Manylinux228 => "",
|
||||
Self::Aarch64Manylinux231 => "",
|
||||
|
@ -525,6 +555,7 @@ impl TargetTriple {
|
|||
Self::Aarch64UnknownLinuxGnu => "",
|
||||
Self::Aarch64UnknownLinuxMusl => "",
|
||||
Self::X8664UnknownLinuxMusl => "",
|
||||
Self::X8664Manylinux2014 => "",
|
||||
Self::X8664Manylinux217 => "",
|
||||
Self::X8664Manylinux228 => "",
|
||||
Self::X8664Manylinux231 => "",
|
||||
|
@ -537,6 +568,7 @@ impl TargetTriple {
|
|||
Self::X8664Manylinux238 => "",
|
||||
Self::X8664Manylinux239 => "",
|
||||
Self::X8664Manylinux240 => "",
|
||||
Self::Aarch64Manylinux2014 => "",
|
||||
Self::Aarch64Manylinux217 => "",
|
||||
Self::Aarch64Manylinux228 => "",
|
||||
Self::Aarch64Manylinux231 => "",
|
||||
|
@ -563,6 +595,7 @@ impl TargetTriple {
|
|||
Self::Aarch64UnknownLinuxGnu => "posix",
|
||||
Self::Aarch64UnknownLinuxMusl => "posix",
|
||||
Self::X8664UnknownLinuxMusl => "posix",
|
||||
Self::X8664Manylinux2014 => "posix",
|
||||
Self::X8664Manylinux217 => "posix",
|
||||
Self::X8664Manylinux228 => "posix",
|
||||
Self::X8664Manylinux231 => "posix",
|
||||
|
@ -575,6 +608,7 @@ impl TargetTriple {
|
|||
Self::X8664Manylinux238 => "posix",
|
||||
Self::X8664Manylinux239 => "posix",
|
||||
Self::X8664Manylinux240 => "posix",
|
||||
Self::Aarch64Manylinux2014 => "posix",
|
||||
Self::Aarch64Manylinux217 => "posix",
|
||||
Self::Aarch64Manylinux228 => "posix",
|
||||
Self::Aarch64Manylinux231 => "posix",
|
||||
|
@ -601,6 +635,7 @@ impl TargetTriple {
|
|||
Self::Aarch64UnknownLinuxGnu => "linux",
|
||||
Self::Aarch64UnknownLinuxMusl => "linux",
|
||||
Self::X8664UnknownLinuxMusl => "linux",
|
||||
Self::X8664Manylinux2014 => "linux",
|
||||
Self::X8664Manylinux217 => "linux",
|
||||
Self::X8664Manylinux228 => "linux",
|
||||
Self::X8664Manylinux231 => "linux",
|
||||
|
@ -613,6 +648,7 @@ impl TargetTriple {
|
|||
Self::X8664Manylinux238 => "linux",
|
||||
Self::X8664Manylinux239 => "linux",
|
||||
Self::X8664Manylinux240 => "linux",
|
||||
Self::Aarch64Manylinux2014 => "linux",
|
||||
Self::Aarch64Manylinux217 => "linux",
|
||||
Self::Aarch64Manylinux228 => "linux",
|
||||
Self::Aarch64Manylinux231 => "linux",
|
||||
|
@ -639,6 +675,7 @@ impl TargetTriple {
|
|||
Self::Aarch64UnknownLinuxGnu => true,
|
||||
Self::Aarch64UnknownLinuxMusl => true,
|
||||
Self::X8664UnknownLinuxMusl => true,
|
||||
Self::X8664Manylinux2014 => true,
|
||||
Self::X8664Manylinux217 => true,
|
||||
Self::X8664Manylinux228 => true,
|
||||
Self::X8664Manylinux231 => true,
|
||||
|
@ -651,6 +688,7 @@ impl TargetTriple {
|
|||
Self::X8664Manylinux238 => true,
|
||||
Self::X8664Manylinux239 => true,
|
||||
Self::X8664Manylinux240 => true,
|
||||
Self::Aarch64Manylinux2014 => true,
|
||||
Self::Aarch64Manylinux217 => true,
|
||||
Self::Aarch64Manylinux228 => true,
|
||||
Self::Aarch64Manylinux231 => true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue