feat: adding pypy-eol enable group (#2393)

This commit is contained in:
Henry Schreiner
2025-05-15 09:06:48 -04:00
committed by GitHub
parent cab1ff4076
commit c2cffa3d1e
7 changed files with 64 additions and 20 deletions
+4 -1
View File
@@ -32,6 +32,7 @@ class EnableGroup(StrEnum):
CPythonFreeThreading = "cpython-freethreading"
CPythonPrerelease = "cpython-prerelease"
PyPy = "pypy"
PyPyEoL = "pypy-eol"
CPythonExperimentalRiscV64 = "cpython-experimental-riscv64"
GraalPy = "graalpy"
@@ -87,7 +88,9 @@ class BuildSelector:
return False
if EnableGroup.CPythonPrerelease not in self.enable and fnmatch(build_id, "cp314*"):
return False
if EnableGroup.PyPy not in self.enable and fnmatch(build_id, "pp*"):
if EnableGroup.PyPy not in self.enable and fnmatch(build_id, "pp31*"):
return False
if EnableGroup.PyPyEoL not in self.enable and fnmatch(build_id, "pp3?-*"):
return False
if EnableGroup.CPythonExperimentalRiscV64 not in self.enable and fnmatch(
build_id, "*_riscv64"