feat: Python 3.15 build by default (#2944)

This commit is contained in:
Matthieu Darbois
2026-08-04 20:26:00 -04:00
committed by GitHub
parent 3568a1cb9e
commit 92e2145d80
6 changed files with 39 additions and 31 deletions
+12 -11
View File
@@ -278,20 +278,18 @@ def _expected_wheels(
# To be kept in sync with Python versions for Pyodide identifiers in cibuildwheel/selector.py.
if platform == "pyodide" and python_abi_tags is None:
python_abi_tags = ["cp313-cp313", "cp314-cp314"]
python_abi_tags = ["cp313-cp313", "cp314-cp314", "cp315-cp315"]
if EnableGroup.PyodideEoL in enable_groups:
python_abi_tags.insert(0, "cp312-cp312")
if EnableGroup.CPythonPrerelease in enable_groups:
python_abi_tags.append("cp315-cp315")
elif (platform == "android" and python_abi_tags is None) or (
platform == "ios" and python_abi_tags is None
):
elif platform in {"android", "ios"} and python_abi_tags is None:
python_abi_tags = [
"cp313-cp313",
"cp314-cp314",
"cp315-cp315",
]
if EnableGroup.CPythonPrerelease in enable_groups:
python_abi_tags += ["cp315-cp315"]
# python_abi_tags += ["cp316-cp316"]
... # Add cp316 here when available
elif python_abi_tags is None:
python_abi_tags = [
"cp39-cp39",
@@ -301,13 +299,16 @@ def _expected_wheels(
"cp313-cp313",
"cp314-cp314",
"cp314-cp314t",
"cp315-cp315",
"cp315-cp315t",
]
if EnableGroup.CPythonPrerelease in enable_groups:
python_abi_tags += [
"cp315-cp315",
"cp315-cp315t",
]
# python_abi_tags += [
# "cp316-cp316",
# "cp316-cp316t",
# ]
... # Add cp316 here when available
if EnableGroup.PyPyEoL in enable_groups:
python_abi_tags += [