Qiskit / qiskit

Qiskit is an open-source SDK for working with quantum computers at the level of extended quantum circuits, operators, and primitives.
https://www.ibm.com/quantum/qiskit
Apache License 2.0
5.28k stars 2.37k forks source link

Update `cibuildwheel` to unblock 0.46.3 release #13159

Closed ElePT closed 2 months ago

ElePT commented 2 months ago

Summary

An attempt to fix https://github.com/Qiskit/qiskit/actions/runs/10884382139/job/30199542822

Details and comments

qiskit-bot commented 2 months ago

One or more of the following people are relevant to this code:

eliarbel commented 2 months ago

I'm not sure this will work...

Running cibuildwheel version 2.16.5 (the one CI used for 0.46.3) locally, I get this:

Error response from daemon: pull access denied for manylinux2014-latest, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

So it seems there is no image named manylinux2014-latest.

Per cibuildwheel release notes, updating it to version 2.19.2 and restoring the image name to manylinux2014, the build was successful.

So I wonder, should we instead update cibuildwheel version for Linux in .github/workflows/wheels.yaml in the stable/0.46 branch?

@mtreinish @jakelishman

ElePT commented 2 months ago

I applied your suggestion in ada6eab, @eliarbel. I think it looks very reasonable and seems to work locally.

eliarbel commented 2 months ago

That said, Elena: did the Linux build work locally for you, or just the macOS one?

My local Linux build worked OK