Skip to content

Commit

Permalink
Bump cibuildwheel to latest version
Browse files Browse the repository at this point in the history
The linux wheels we publish to PyPI at release time are based on the
manylinux1 [1] and manylinux2010 [2] packaging specifications. To build
these wheels we use the manylinux2010 docker image [3] which is based on
centos 6. Centos 6 recently went end of life and the yum repositories
for it were deleted and an archive url for the yum repositories were
added. However, until the latest manylinux2010 docker image, the images
were configured to use the old url from when the distro was still
supported by upstream. This causes issues when trying to setup a build
[4] because yum will error early during the initial job setup. To fix
this we need to ensure we're using the latest version of the manylinux
2010 docker image, we can either do this manually (as was done in
Qiskit/rustworkx#212 and Qiskit/qiskit-aer#1066) or just update the
cibuildwheel version we're using to the latest release 1.7.1 which
bumped the pinned manylinux2010 docker image used to one with updated
yum urls (see pypa/cibuildwheel#472). This commit bumps the
cibuildwheel version to the latest release so that when it is time to
release terra 0.17.0 the jobs will work as expected.

[1] https://www.python.org/dev/peps/pep-0513/
[2] https://www.python.org/dev/peps/pep-0571/
[3] https://github.com/pypa/manylinux
[4] pypa/manylinux#836
  • Loading branch information
mtreinish committed Dec 7, 2020
1 parent 5d82781 commit 7b63fa8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ stages:
- bash: |
set -e
python -m pip install --upgrade pip
pip install cibuildwheel==1.6.3
pip install cibuildwheel==1.7.1
pip install -U twine
cibuildwheel --output-dir wheelhouse .
- task: PublishBuildArtifacts@1
Expand Down Expand Up @@ -80,7 +80,7 @@ stages:
- bash: |
set -e
python -m pip install --upgrade pip
pip install cibuildwheel==1.6.3
pip install cibuildwheel==1.7.1
pip install -U twine
cibuildwheel --output-dir wheelhouse .
- task: PublishBuildArtifacts@1
Expand Down Expand Up @@ -112,7 +112,7 @@ stages:
- bash: |
set -e
python -m pip install --upgrade pip
pip install cibuildwheel==1.6.3
pip install cibuildwheel==1.7.1
pip install -U twine
cibuildwheel --output-dir wheelhouse
- task: PublishBuildArtifacts@1
Expand Down

0 comments on commit 7b63fa8

Please sign in to comment.