Skip to content

Commit 532212e

Browse files
Attempting to limit auditwheel to version when it allowed non x86_64-v1 wheels
1 parent d6ca746 commit 532212e

1 file changed

Lines changed: 20 additions & 16 deletions

File tree

.github/workflows/pip.yml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,11 @@ jobs:
138138
- name: Build and install manylinux for python 3.9
139139
run: |
140140
docker run --rm -v $(pwd):/io quay.io/pypa/manylinux_2_34_x86_64 \
141-
/bin/bash -c \
142-
"yum install -y boost-devel hdf5-devel libzip-devel bzip2-devel ninja-build openssl-devel xz-devel && \
143-
/opt/python/cp39-cp39/bin/pip wheel /io/ -w /io/dist && \
144-
auditwheel repair /io/dist/*.whl -w /io/dist/"
141+
/bin/bash -c \
142+
"yum install -y boost-devel hdf5-devel libzip-devel bzip2-devel ninja-build openssl-devel xz-devel && \
143+
/opt/python/cp39-cp39/bin/pip install --force-reinstall auditwheel==6.1.0 && \
144+
/opt/python/cp39-cp39/bin/pip wheel /io/ -w /io/dist && \
145+
auditwheel repair /io/dist/*.whl -w /io/dist/"
145146
echo "keeping only the manylinux wheels, remove those with -linux_x86_64.whl in the name"
146147
sudo rm -rf dist/*-linux_x86_64.whl
147148
pip install dist/*.whl
@@ -150,10 +151,11 @@ jobs:
150151
- name: Build and install manylinux for python 3.10
151152
run: |
152153
docker run --rm -v $(pwd):/io quay.io/pypa/manylinux_2_34_x86_64 \
153-
/bin/bash -c \
154-
"yum install -y boost-devel hdf5-devel libzip-devel bzip2-devel ninja-build openssl-devel xz-devel && \
155-
/opt/python/cp310-cp310/bin/pip wheel /io/ -w /io/dist && \
156-
auditwheel repair /io/dist/*.whl -w /io/dist/"
154+
/bin/bash -c \
155+
"yum install -y boost-devel hdf5-devel libzip-devel bzip2-devel ninja-build openssl-devel xz-devel && \
156+
/opt/python/cp310-cp310/bin/pip install --force-reinstall auditwheel==6.1.0 && \
157+
/opt/python/cp310-cp310/bin/pip wheel /io/ -w /io/dist && \
158+
auditwheel repair /io/dist/*.whl -w /io/dist/"
157159
echo "keeping only the manylinux wheels, remove those with -linux_x86_64.whl in the name"
158160
sudo rm -rf dist/*-linux_x86_64.whl
159161
pip install dist/*.whl
@@ -162,10 +164,11 @@ jobs:
162164
- name: Build and install manylinux for python 3.11
163165
run: |
164166
docker run --rm -v $(pwd):/io quay.io/pypa/manylinux_2_34_x86_64 \
165-
/bin/bash -c \
166-
"yum install -y boost-devel hdf5-devel libzip-devel bzip2-devel ninja-build openssl-devel xz-devel && \
167-
/opt/python/cp311-cp311/bin/pip wheel /io/ -w /io/dist && \
168-
auditwheel repair /io/dist/*.whl -w /io/dist/"
167+
/bin/bash -c \
168+
"yum install -y boost-devel hdf5-devel libzip-devel bzip2-devel ninja-build openssl-devel xz-devel && \
169+
/opt/python/cp311-cp311/bin/pip install --force-reinstall auditwheel==6.1.0 && \
170+
/opt/python/cp311-cp311/bin/pip wheel /io/ -w /io/dist && \
171+
auditwheel repair /io/dist/*.whl -w /io/dist/"
169172
echo "keeping only the manylinux wheels, remove those with -linux_x86_64.whl in the name"
170173
sudo rm -rf dist/*-linux_x86_64.whl
171174
pip install dist/*.whl
@@ -174,10 +177,11 @@ jobs:
174177
- name: Build and install manylinux for python 3.12
175178
run: |
176179
docker run --rm -v $(pwd):/io quay.io/pypa/manylinux_2_34_x86_64 \
177-
/bin/bash -c \
178-
"yum install -y boost-devel hdf5-devel libzip-devel bzip2-devel ninja-build openssl-devel xz-devel && \
179-
/opt/python/cp312-cp312/bin/pip wheel /io/ -w /io/dist && \
180-
auditwheel repair /io/dist/*.whl -w /io/dist/"
180+
/bin/bash -c \
181+
"yum install -y boost-devel hdf5-devel libzip-devel bzip2-devel ninja-build openssl-devel xz-devel && \
182+
/opt/python/cp312-cp312/bin/pip install --force-reinstall auditwheel==6.1.0 && \
183+
/opt/python/cp312-cp312/bin/pip wheel /io/ -w /io/dist && \
184+
auditwheel repair /io/dist/*.whl -w /io/dist/"
181185
echo "keeping only the manylinux wheels, remove those with -linux_x86_64.whl in the name"
182186
sudo rm -rf dist/*-linux_x86_64.whl
183187
pip install dist/*.whl

0 commit comments

Comments
 (0)