-
Notifications
You must be signed in to change notification settings - Fork 294
Closed
Labels
Description
Description
Found while testing 3.0.0b1 on pybase64 https://github.com/mayeut/pybase64/actions/runs/15225239809/job/42826448795
Adding graalpy to enable in pyproject.toml had no effect on the build because it's filtered by requires_python:
cibuildwheel/cibuildwheel/selector.py
Lines 75 to 84 in 327f5c3
| def __call__(self, build_id: str) -> bool: | |
| # Filter build selectors by python_requires if set | |
| if self.requires_python is not None: | |
| py_ver_str = build_id.split("-")[0] | |
| py_ver_str = py_ver_str.removesuffix("t") | |
| major = int(py_ver_str[2]) | |
| minor = int(py_ver_str[3:]) | |
| version = Version(f"{major}.{minor}.99") | |
| if not self.requires_python.contains(version): | |
| return False |
The requires_python filter expects build identifier to be in the form f{impl}{pyver}t? but for GraalPy, the version used is not the one of Python & it's being filtered out.
Build log
https://github.com/mayeut/pybase64/actions/runs/15225239809/job/42826448795