-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
WHL: upgrade cibuildwheel to 3.0.0 (OpenAstronomy/github-actions-workflows
v2.0.0)
#18159
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
base: main
Are you sure you want to change the base?
WHL: upgrade cibuildwheel to 3.0.0 (OpenAstronomy/github-actions-workflows
v2.0.0)
#18159
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 |
Looks like most builds are indeed broken, except for musllinux and sdist. Will look into it. |
I think the only reason musllinux is spared is that it just skips the test step. |
possibly relevant excerpt from the changelog:
I'll keep an eye out for this, it might reveal why our test command broke. |
9043f6b
to
fa83f0c
Compare
Following advice I found at numpy/numpy#29007, setting
at this point, I'd rather ping @henryiii in case I'm just missing something obvious. Any hint, Henry ? |
Let me check into why it's not working for numpy first, maybe that will explain this too. :) FYI, you don't need to run CI, |
d3a19a8
to
8f418f2
Compare
If this works (it basically works like 2.x, so it should), I'd recommend trying |
what do you mean by placeholder, is this context ? |
That's FYI, test-sources has to have at least one file, since we don't differentiate an empty environment variable from an unset one (and the TOML config follows suit). Though you can just copy something like a readme in (pyproject.toml is usually good). |
Thanks ! I don't think we use these so we should be good.
indeed, we don't have any such tests. Trying out with |
Do you need that top level |
da38b09
to
57592c1
Compare
NumPy 2.3.0 also bumps to the newer manylinux, so that should be fine. It looks like you don't use anything from 2_28 (at least on aarch64), so auditwheel is adding the previous tags too. I am not sure there are CentOS 7 era aarch64 OSs around to even catch if this is was making a mistake. :) The order of the auditwheel tags has been changed to better align with the standard, but sadly that was breaking validation on PyPI for a bit (pypa/gh-action-pypi-publish#365), I think it's sorted out now. |
awesome, then undrafting this now. Thank you for your continued support through this upgrade ! |
e6b2f58
to
ed9430a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|
||
.. _whatsnew-7.2-manylinux-upgrade: | ||
|
||
``manylinux`` upgrade |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We usually don't put such things in What's New but I will defer to @astropy/astropy-project-release-team
Thanks for your help in testing cibuildwheel 3.0! :) |
ed9430a
to
f2de754
Compare
d95713e
to
34abafd
Compare
trying to add nightly-only |
failures on windows are real, but likely non-issues for us. I'll report this over my next slot, and I'll probably split this PR in two parts. |
36d77c9
to
dc06ca5
Compare
|
If the only controversial part about this is the possibly-unwanted release note, I'm happy to drop it, but either way it should be trivial to fix after the fact. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm ok with this being mentioned as a change in the what's new, we are in effect dropping wheel support for some old Linux versions?
Yes, glibc 2.28 was released in 2018, so we are effectively dropping support for Linux versions released from 2014 to 2018 (which is still pretty conservative). Note that we currently still get |
Should I add this level of detail to the release note ? |
I didn't read all comments but numpy switched to manylinux_2_28 recently IIRC (https://github.com/mayeut/pep600_compliance).
|
hum, with #18374 merged yesterday, now all that's left in this PR is the release note. I'll force-update the branch to resolve merge conflicts, but if the release note isn't desired then we should close without merge. |
Actually, since #18374 was also backported, we our options are
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if this needs a What's New. Most users probably don't know/care what manylinux is. As long as their code works after upgrade, they are happy.
We can turn this into a change log under "other" and backport that but lemme ask @astropy/astropy-project-release-team if a non-bug change log is allowed in backport branch...
Sorry for the mess!
Description
cibuildwheel's next version is set for some breaking changes. Even though I don't think anything on the changelog affects us, I want to try the beta out, out of an excess of caution.
labeling with "Python 3.14" because this upgrade will be necessary to enable
cp314
wheels.xref: OpenAstronomy/github-actions-workflows#278
changelog: https://cibuildwheel.pypa.io/en/latest/changelog/#v300b1
ref #18187