From 7b63fa8831f719bae39665a94246fc9abbee87a0 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Mon, 7 Dec 2020 10:14:59 -0500 Subject: [PATCH] Bump cibuildwheel to latest version 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/retworkx#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 joerick/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 --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f517175cca17..4d82321dc606 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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 @@ -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 @@ -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