Skip to content

Commit 8a26423

Browse files
authored
Fix wheel builds for i686 Linux (#13967)
In the 1.4.1 release the i686 linux wheel builds failed because the recent release of rustup 1.28.0 and 1.28.1 added a runtime dependency on libatomic to download and install the rust compiler. The i686 manylinux container we run the wheel builds in didn't contain this library so rustup errored and crashed the build. This commit fixes this issue by installing libatomic prior to running rustup. This fix was used in a throwaway branch to push out the 1.4.1 release on PyPI, but this fixes it for real for when we publish 1.4.2.
1 parent ab5640d commit 8a26423

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/wheels-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ jobs:
154154
- name: Build wheels
155155
uses: pypa/cibuildwheel@v2.21.3
156156
env:
157+
CIBW_BEFORE_ALL_LINUX: 'yum install -y wget libatomic && {package}/tools/install_rust.sh'
157158
CIBW_SKIP: 'pp* cp36-* cp37-* cp38-* *musllinux* *amd64 *x86_64'
158159
- uses: actions/upload-artifact@v4
159160
with:

0 commit comments

Comments
 (0)