Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adopt limited API for wheels #2010

Open
minrk opened this issue Aug 4, 2024 · 0 comments
Open

adopt limited API for wheels #2010

minrk opened this issue Aug 4, 2024 · 0 comments

Comments

@minrk
Copy link
Member

minrk commented Aug 4, 2024

When Cython 3.1 is out, we can try using the limited API, which would let us publish many fewer wheels (108 for pyzmq 26.1).

My thought is to perhaps go with some version of SPEC0 for 'full' support:

  • only build one limited API wheel for lowest supported Python with lowest supported glibc (currently 3.7, manylinux 2010, I think)
  • don't build any wheels for other Pythons not supported by SPEC0 - this would mean no more wheels needed for CPython 3.8-3.10
  • possibly build a 3.12 limited wheel for performance reasons (ref)

This would reduce the CPython builds from 8 supported CPythons times ~12 targets to just 5 (2x 3.13).

If there are no downsides to limited wheels after 3.12, we could stop building wheels for each minor version altogether (hopefully free-threading will have a limited API again in 3.14).

If we went with just limited API wheels, we'd only have to build for ~3 CPythons (3.7, 3.12, 3.13t).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant