Repository navigation
WHL: build and distribute stable-ABI-compliant wheels - #18420
Conversation
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
|
👋 Thank you for your draft pull request! Do you know that you can use |
|
Do we still need |
|
Yes. The current stable abi doesn't work on 3.13t or 3.14t (which is one of the reasons why we wanted to make it optional), and we can't yet move this job to 3.14t because none of our deps have wheels on PyPI yet. |
|
I don't think change log is needed but release manager can always overrule. Thanks! |
|
Surprisingly, this works as I expect on macOS and windows (all archs), but not on Linux: all jobs produced 3 wheels each (one for each Python version), never tagging the ABI as |
|
never mind I just remembered I saw something similar once; I think it has to do with os-specific ways envs are isolated, and can easily be worked-around in cibuildwheel (once you know what to look for). Let me give this another shot. |
|
Now the env var is correctly passed to the build env on all platforms, however, building currently fails on Linux. It looks to me like the env var isn't having all desired effects, in particular, it seems like the |
9a403db to
3d1e740
Compare
|
Actually I may have been misreading the logs, I think they were showing genuine compile-time issues (that do not necessarily show up as fatal errors on all compilers, hence why we didn't see them before ?). Any way, I'll try something new and take the compilers seriously for now. |
513901f to
6ad8348
Compare
|
I'm getting there. Letting CI run 100% one last (🤞🏻) time. |
6ad8348 to
4806e07
Compare
|
Alright, this is now ready for review. |
…ng a `PyObject*` type
4806e07 to
bc5b9e9
Compare
|
Don't think there's any reason not to merge, might as well start exercise this for the dev wheels. We can easily disable the limited API wheels again if needed. |
|
Thank you for your hard work on this! |
|
Yes thank you for the epic effort on this! |
|
Just to close the loop on this - it all works fine! See dev wheels here: https://anaconda.org/astropy/astropy/files?type=pypi&version=7.2.dev288%2Bgd02ffa90d6 The wheel building now takes 1h45 instead of 2h15 roughly, so saves 30 minutes on every wheel build job. The reason it hasn't shaved off more is because we still run the test suite on all versions, but I think that's probably sensible for now. |
|
That's actually the recommendation from Python's docs:
|
Description
Close #18163
Close #18336