Skip to content

Enable cibuildwheel 3.x#1022

Merged
kbattocchi merged 1 commit intomainfrom
kebatt/updateCibuildwheel
Jan 28, 2026
Merged

Enable cibuildwheel 3.x#1022
kbattocchi merged 1 commit intomainfrom
kebatt/updateCibuildwheel

Conversation

@kbattocchi
Copy link
Copy Markdown
Member

@kbattocchi kbattocchi commented Jan 28, 2026

Builds are currently failing because we can't produce Python 3.11 wheels for Linux; the root cause of this is that scipy 1.17 has switched to a new Linux image for its wheels, and because this is different than the (old) Linux image that we are using to create wheels we now try and fail to build from source instead.

One simple fix for this is to just use a more recent version of cibuildwheel, which will use an updated Linux image and therefore avoid this problem.

Signed-off-by: Keith Battocchi <kebatt@microsoft.com>
@kbattocchi kbattocchi force-pushed the kebatt/updateCibuildwheel branch from 76327fb to b98dfee Compare January 28, 2026 01:18
@kbattocchi kbattocchi requested review from Copilot and fverac January 28, 2026 01:51
@kbattocchi kbattocchi marked this pull request as ready for review January 28, 2026 01:51
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the package publishing workflow to use cibuildwheel 3.x instead of being constrained to 2.x. The change addresses a build failure when creating Python 3.11 wheels for Linux, caused by incompatibility between the old Linux image used in cibuildwheel 2.x and scipy 1.17's new Linux image requirements.

Changes:

  • Updated cibuildwheel version constraint from < 3 to < 4, enabling cibuildwheel 3.x
  • Bumped the runner Python version from 3.9 to 3.11 for the wheel building job

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kbattocchi kbattocchi merged commit bed5a75 into main Jan 28, 2026
201 of 205 checks passed
@kbattocchi kbattocchi deleted the kebatt/updateCibuildwheel branch January 28, 2026 15:50
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

Successfully merging this pull request may close these issues.

3 participants