Skip to content

Commit 7a7b77b

Browse files
remove TODO in pyo3-build-config (PyO3#5102)
1 parent 48739ac commit 7a7b77b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pyo3-build-config/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,7 @@ pub fn print_expected_cfgs() {
221221

222222
// allow `Py_3_*` cfgs from the minimum supported version up to the
223223
// maximum minor version (+1 for development for the next)
224-
// FIXME: support cfg(Py_3_14) as well due to PyGILState_Ensure
225-
for i in impl_::MINIMUM_SUPPORTED_VERSION.minor..=std::cmp::max(14, impl_::ABI3_MAX_MINOR + 1) {
224+
for i in impl_::MINIMUM_SUPPORTED_VERSION.minor..=impl_::ABI3_MAX_MINOR + 1 {
226225
println!("cargo:rustc-check-cfg=cfg(Py_3_{i})");
227226
}
228227
}

0 commit comments

Comments
 (0)