-
Notifications
You must be signed in to change notification settings - Fork 18
ENH: Test wheels #71
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: master
Are you sure you want to change the base?
ENH: Test wheels #71
Conversation
larsoner
left a comment
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.
Green here 👍
| # TODO: once numpy 1 support is dropped, enable these jobs; set to only run on | ||
| # tagged releases, and only if the test.yml workflow is successful |
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've implemented the "only run on tags" part, assuming you tag with vX.Y.Z.
For the "only if test.yml is successful"... that part is harder. I would suggest to only cut a tagged release after checking that all CIs are green instead. Releases are infrequent enough this usually isn't too onerous an additional release step...
.github/workflows/cibuildwheel.yml
Outdated
| with: | ||
| python-version: ${{ matrix.python }} | ||
| # Choose versions from 2022 (somewhat arbitrarily) | ||
| - run: python -m pip install numpy==1.23 scipy=1.8 nibabel pillow xxhash --only-binary="numpy,scipy,nibabel,pillow,xxhash" |
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 tried to pick "sufficiently old" versions here that still had binary wheels available
.github/workflows/cibuildwheel.yml
Outdated
| # include: | ||
| # - os: ubuntu-latest | ||
| # arch: aarch64 | ||
| os: [ubuntu-latest, ubuntu-24.04-arm, macos-15, macos-15-intel, windows-latest] # windows-11-arm |
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.
Based on timings from https://github.com/freesurfer/surfa/actions/runs/20828992017/job/59837983745?pr=71, the slowest of all was macos-15 (i.e., Intel macOS) so I don't see any harm in adding ubuntu-24.04-arm (which was itself a touch faster than ubuntu-latest) and windows-latest to the matrix here
Implements the ideas from #66 (comment)
Happy to iterate, or close if this stuff isn't needed. But I am curious to make sure it all works myself as well!