Add Python 3.14 preview (#2390)

* feat: add CPython 3.14 beta 1

* fix tests
This commit is contained in:
Matthieu Darbois
2025-05-12 12:54:02 -04:00
committed by GitHub
parent 54a4dccd62
commit 5622cc6988
21 changed files with 142 additions and 51 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ def test(tmp_path, request):
"CIBW_TEST_COMMAND": "pytest ./test",
"CIBW_ARCHS": archs,
# TODO remove me once proper support is added
"CIBW_MANYLINUX_RISCV64_IMAGE": "ghcr.io/mayeut/manylinux_2_31:2025.03.02-1",
"CIBW_MANYLINUX_RISCV64_IMAGE": "ghcr.io/mayeut/manylinux_2_35:2025.05.11-1",
"CIBW_SKIP": "*-musllinux_riscv64",
},
)
+7 -4
View File
@@ -228,7 +228,7 @@ def _expected_wheels(
"armv7l": ["manylinux_2_17", "manylinux2014", "manylinux_2_31"],
"i686": ["manylinux_2_5", "manylinux1", "manylinux_2_17", "manylinux2014"],
"x86_64": ["manylinux_2_5", "manylinux1", "manylinux_2_28"],
"riscv64": ["manylinux_2_31"],
"riscv64": ["manylinux_2_31", "manylinux_2_35"],
}.get(machine_arch, ["manylinux_2_17", "manylinux2014", "manylinux_2_28"])
if musllinux_versions is None:
@@ -247,9 +247,12 @@ def _expected_wheels(
]
if EnableGroup.CPythonFreeThreading in enable_groups:
python_abi_tags += [
"cp313-cp313t",
]
python_abi_tags.append("cp313-cp313t")
if EnableGroup.CPythonPrerelease in enable_groups:
python_abi_tags.append("cp314-cp314")
if EnableGroup.CPythonFreeThreading in enable_groups:
python_abi_tags.append("cp314-cp314t")
if EnableGroup.PyPy in enable_groups:
python_abi_tags += [