Move PyPy 3.10 to pypy-eol (#2521)

* Move PyPy 3.10 to pypy-eol

* Refactor PyPy selection
This commit is contained in:
Hugo van Kemenade
2025-09-08 15:57:14 +01:00
committed by GitHub
parent dac57ccc94
commit 3f076ba487
3 changed files with 7 additions and 6 deletions
+4 -2
View File
@@ -89,9 +89,11 @@ class BuildSelector:
return False
if EnableGroup.CPythonPrerelease not in self.enable and fnmatch(build_id, "cp315*"):
return False
if EnableGroup.PyPy not in self.enable and fnmatch(build_id, "pp31*"):
is_pypy_eol = fnmatch(build_id, "pp3?-*") or fnmatch(build_id, "pp310-*")
is_pypy = fnmatch(build_id, "pp*") and not is_pypy_eol
if EnableGroup.PyPy not in self.enable and is_pypy:
return False
if EnableGroup.PyPyEoL not in self.enable and fnmatch(build_id, "pp3?-*"):
if EnableGroup.PyPyEoL not in self.enable and is_pypy_eol:
return False
if EnableGroup.GraalPy not in self.enable and fnmatch(build_id, "gp*"):
return False