feat: use py limited ABI#185
Conversation
|
Also, if you want to support PyPy, you'd need to disable this based on PyPy vs. CPython, and add |
|
Thanks! I already have these changes in my branch, just missing the line in Re: PyPy, based on #176 (comment) I determined that the speedups were actually slower on PyPy, so I'm leaving it to install from the sdist for now. #184 I couldn't find a nice way to build a universal wheel alongside platform wheels. |
|
No problem, just meant to be an proof of concept / illustration. :) |
|
You can remove setup-python from the workflow, it's not needed (completely ignored, technically) for the cibuildwheel action. |
Checklist:
CHANGES.rstsummarizing the change and linking to the issue... versionchanged::entries in any relevant code docs.pre-commithooks and fix any issues.pytestandtox, no tests failed.Quick base for a Limited API build; this creates both a correctly named wheel, with correctly named insides seen with
unzip -l, when I runpipx run --spec build pyproject-build. I've reworked the wheel building just a bit to make it easier to at test with a later version of Python (probably you want to run tox but load the wheel each time, perhaps? Or just load on 3.9 and verify it passes PyTest. This part depends on the project specifics).If you can clean up the setup.py, go ahead, don't want to get in the way of that. :)