Skip to content

Commit

Permalink
Add Python 3.14 to Windows release targets (#497)
Browse files Browse the repository at this point in the history
This reverts commit 3a8ea4a.
  • Loading branch information
zanieb authored Jan 14, 2025
1 parent 658bff8 commit 9023b79
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,12 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::
);

// Windows.
// TODO: Python 3.14 support on Windows
h.insert(
"i686-pc-windows-msvc",
TripleRelease {
suffixes: vec!["pgo"],
install_only_suffix: "pgo",
python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()),
python_version_requirement: None,
conditional_suffixes: vec![ConditionalSuffixes {
python_version_requirement: VersionSpecifier::from_str(">=3.13").unwrap(),
suffixes: vec!["freethreaded+pgo"],
Expand All @@ -123,7 +122,7 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::
TripleRelease {
suffixes: vec!["pgo"],
install_only_suffix: "pgo",
python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()),
python_version_requirement: None,
conditional_suffixes: vec![ConditionalSuffixes {
python_version_requirement: VersionSpecifier::from_str(">=3.13").unwrap(),
suffixes: vec!["freethreaded+pgo"],
Expand All @@ -138,7 +137,7 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::
TripleRelease {
suffixes: vec!["pgo"],
install_only_suffix: "pgo",
python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()),
python_version_requirement: None,
conditional_suffixes: vec![ConditionalSuffixes {
python_version_requirement: VersionSpecifier::from_str(">=3.13").unwrap(),
suffixes: vec!["freethreaded+pgo"],
Expand All @@ -150,7 +149,7 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::
TripleRelease {
suffixes: vec!["pgo"],
install_only_suffix: "pgo",
python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()),
python_version_requirement: None,
conditional_suffixes: vec![ConditionalSuffixes {
python_version_requirement: VersionSpecifier::from_str(">=3.13").unwrap(),
suffixes: vec!["freethreaded+pgo"],
Expand Down

0 comments on commit 9023b79

Please sign in to comment.