Skip to content

Conversation

@neutrinoceros
Copy link
Contributor

With cibuildwheel 3.x, which you're already using, you don't need to explicitly skip pypy or graalpy: they're already unselected by default. There's also a simpler way to express the minimum Python version supported, that does not require setting up the full [project] table in pyproject.toml

@neutrinoceros neutrinoceros marked this pull request as ready for review February 10, 2026 19:21
@da-woods
Copy link
Contributor

project-requires-python definitely looks like an improvement.

For me I'd probably prefer to be explicit about PyPy/GraalPy - just because it's a deliberate decision on our part but cibuildwheel could change in future.

@neutrinoceros
Copy link
Contributor Author

updated

@scoder scoder added this to the 3.3 milestone Feb 11, 2026
@scoder scoder merged commit 2cb4fc3 into cython:master Feb 11, 2026
91 of 106 checks passed
@scoder
Copy link
Contributor

scoder commented Feb 11, 2026

Merci.

scoder added a commit that referenced this pull request Feb 11, 2026
@scoder
Copy link
Contributor

scoder commented Feb 11, 2026

Oh, looks like I somehow missed the fact that the build had failed. I think it's just due to a misnaming of the option.
Probably fixed in 0855989

@neutrinoceros neutrinoceros deleted the mnt/cleanup-cibw-conf branch February 11, 2026 21:07
@neutrinoceros
Copy link
Contributor Author

Whoops, I think I misread the docs. On the bright side, it looks like I also missed that cibuildwheel understands python_requires as a keyword argument to setuptools.setup, which is what should be done here.

@scoder
Copy link
Contributor

scoder commented Feb 12, 2026

cibuildwheel understands python_requires as a keyword argument to setuptools.setup, which is what should be done here.

We already pass that option. I'll try if that suffices.

@scoder
Copy link
Contributor

scoder commented Feb 12, 2026

We already pass that option. I'll try if that suffices.

It doesn't. Time to revert.

scoder added a commit that referenced this pull request Feb 12, 2026
@neutrinoceros
Copy link
Contributor Author

Sorry about this mishap. It looks like a bug in cibuildwheel and I might try fixing it there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants