feat: add Python 3.13 beta 1 (#1815)

This commit is contained in:
Matthieu Darbois
2024-05-11 20:26:18 -04:00
committed by GitHub
parent c0217440e8
commit 44c4742477
11 changed files with 67 additions and 12 deletions
+12 -4
View File
@@ -86,10 +86,10 @@ def test(manylinux_image, tmp_path):
add_env["CIBW_SKIP"] = "pp* cp31*"
if manylinux_image in {"manylinux2010"}:
# We don't have a manylinux2010 image for PyPy 3.9+, CPython 3.11+
add_env["CIBW_SKIP"] = "pp39* pp31* cp311* cp312*"
add_env["CIBW_SKIP"] = "pp39* pp31* cp311* cp312* cp313*"
if manylinux_image in {"manylinux_2_24"}:
# We don't have a manylinux_2_24 image for PyPy 3.10+, CPython 3.12+
add_env["CIBW_SKIP"] = "pp31* cp312*"
add_env["CIBW_SKIP"] = "pp31* cp312* cp313*"
if manylinux_image == "manylinux_2_28" and platform.machine() == "x86_64":
# We don't have a manylinux_2_28 image for i686
add_env["CIBW_ARCHS"] = "x86_64"
@@ -116,12 +116,20 @@ def test(manylinux_image, tmp_path):
expected_wheels = [
w
for w in expected_wheels
if "-pp39" not in w and "-pp31" not in w and "-cp311" not in w and "-cp312" not in w
if "-pp39" not in w
and "-pp31" not in w
and "-cp311" not in w
and "-cp312" not in w
and "-cp313" not in w
]
if manylinux_image in {"manylinux_2_24"}:
# remove PyPy 3.10+ & CPython 3.11 and above
expected_wheels = [w for w in expected_wheels if "-pp31" not in w and "-cp312" not in w]
expected_wheels = [
w
for w in expected_wheels
if "-pp31" not in w and "-cp312" not in w and "-cp313" not in w
]
if manylinux_image == "manylinux_2_28" and platform.machine() == "x86_64":
# We don't have a manylinux_2_28 image for i686
+2
View File
@@ -171,6 +171,7 @@ def expected_wheels(
"cp310-cp310",
"cp311-cp311",
"cp312-cp312",
"cp313-cp313",
]
if machine_arch in ["x86_64", "AMD64", "x86", "aarch64"]:
@@ -189,6 +190,7 @@ def expected_wheels(
"cp310-cp310",
"cp311-cp311",
"cp312-cp312",
"cp313-cp313",
"pp38-pypy38_pp73",
"pp39-pypy39_pp73",
"pp310-pypy310_pp73",