Skip to content

cibuildwheel updates#1073

Merged
peterbarker merged 3 commits intoArduPilot:masterfrom
robertlong13:pr/cibuildwheel-updates
Jul 2, 2025
Merged

cibuildwheel updates#1073
peterbarker merged 3 commits intoArduPilot:masterfrom
robertlong13:pr/cibuildwheel-updates

Conversation

@robertlong13
Copy link
Contributor

@robertlong13 robertlong13 commented Jul 2, 2025

This PR contains two fixes:

Remove "lxml" from pyproject.toml

This is necessary to fix a recent build failure. lxml just released a new version 6.0.0, which does not have a wheel for cp38-manylinux_aarch64, where the previous version did. The thing is, there's really no reason for us to need to pip install lxml into the isolated build environment; it's a runtime dependency only. pyproject.toml does not need this in there.

This also lets me build the windows-arm wheels now (surely few, if any, care about that yet).

I'm pretty sure it doesn't need "future" in there either, but I didn't bother removing that as it isn't hurting anything like the lxml thing is.

Update cibuildwheel to 3.0.0

Split out from #1072

I went through the change log and it looks like the only change that impacts us was that they dropped 32-bit linux from the "auto" group. I have changed that to "auto64 auto32". They mentioned that they are considering doing the same to windows in the future, so I added that to the windows line too to cover us when that happens.

I have tested the build on my fork, using workflow-dispatch to make sure all archs/versions build

This file is for build depenencies only. lxml is only needed at runtime.
Removing this dependency makes our build CI simpler and more reliable.
"auto" on linux no longer includes 32-bit builds, and they are
considering doing the same for Windows in the future. Added 32-bit
builds explicitly for both
@peterbarker peterbarker merged commit 35afde1 into ArduPilot:master Jul 2, 2025
20 checks passed
@peterbarker
Copy link
Contributor

Thanks!

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.

2 participants