Skip to content

Commit

Permalink
Fix musl Linux release targets (#479)
Browse files Browse the repository at this point in the history
- **Revert "Update release targets for x86_64 musl (#477)"**
- **Drop 3.14 from expected musl Linux release targets**
  • Loading branch information
zanieb authored Jan 6, 2025
1 parent 3a8ea4a commit ddf4de0
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions src/release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,39 +281,40 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::
}],
},
);
// TODO: Python 3.14 support on musl
h.insert(
"x86_64-unknown-linux-musl",
TripleRelease {
suffixes: linux_suffixes_pgo.clone(),
install_only_suffix: "pgo+lto",
python_version_requirement: None,
suffixes: linux_suffixes_nopgo.clone(),
install_only_suffix: "lto",
python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()),
conditional_suffixes: vec![],
},
);
h.insert(
"x86_64_v2-unknown-linux-musl",
TripleRelease {
suffixes: linux_suffixes_pgo.clone(),
install_only_suffix: "pgo+lto",
python_version_requirement: Some(VersionSpecifier::from_str(">=3.9").unwrap()),
suffixes: linux_suffixes_nopgo.clone(),
install_only_suffix: "lto",
python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()),
conditional_suffixes: vec![],
},
);
h.insert(
"x86_64_v3-unknown-linux-musl",
TripleRelease {
suffixes: linux_suffixes_pgo.clone(),
install_only_suffix: "pgo+lto",
python_version_requirement: Some(VersionSpecifier::from_str(">=3.9").unwrap()),
suffixes: linux_suffixes_nopgo.clone(),
install_only_suffix: "lto",
python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()),
conditional_suffixes: vec![],
},
);
h.insert(
"x86_64_v4-unknown-linux-musl",
TripleRelease {
suffixes: linux_suffixes_pgo.clone(),
install_only_suffix: "pgo+lto",
python_version_requirement: Some(VersionSpecifier::from_str(">=3.9").unwrap()),
suffixes: linux_suffixes_nopgo.clone(),
install_only_suffix: "lto",
python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()),
conditional_suffixes: vec![],
},
);
Expand Down

0 comments on commit ddf4de0

Please sign in to comment.