diff --git a/src/release.rs b/src/release.rs index b7c769a6..99d2b07c 100644 --- a/src/release.rs +++ b/src/release.rs @@ -105,12 +105,13 @@ pub static RELEASE_TRIPLES: Lazy> = 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: None, + python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()), conditional_suffixes: vec![ConditionalSuffixes { python_version_requirement: VersionSpecifier::from_str(">=3.13").unwrap(), suffixes: vec!["freethreaded+pgo"], @@ -122,7 +123,7 @@ pub static RELEASE_TRIPLES: Lazy> = Lazy:: TripleRelease { suffixes: vec!["pgo"], install_only_suffix: "pgo", - python_version_requirement: None, + python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()), conditional_suffixes: vec![ConditionalSuffixes { python_version_requirement: VersionSpecifier::from_str(">=3.13").unwrap(), suffixes: vec!["freethreaded+pgo"], @@ -137,7 +138,7 @@ pub static RELEASE_TRIPLES: Lazy> = Lazy:: TripleRelease { suffixes: vec!["pgo"], install_only_suffix: "pgo", - python_version_requirement: None, + python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()), conditional_suffixes: vec![ConditionalSuffixes { python_version_requirement: VersionSpecifier::from_str(">=3.13").unwrap(), suffixes: vec!["freethreaded+pgo"], @@ -149,7 +150,7 @@ pub static RELEASE_TRIPLES: Lazy> = Lazy:: TripleRelease { suffixes: vec!["pgo"], install_only_suffix: "pgo", - python_version_requirement: None, + python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()), conditional_suffixes: vec![ConditionalSuffixes { python_version_requirement: VersionSpecifier::from_str(">=3.13").unwrap(), suffixes: vec!["freethreaded+pgo"],