Skip to content

Only install terra from binary for wheel jobs#1499

Merged
hhorii merged 2 commits into
Qiskit:stable/0.10from
mtreinish:only-binary-terra-stable
Apr 4, 2022
Merged

Only install terra from binary for wheel jobs#1499
hhorii merged 2 commits into
Qiskit:stable/0.10from
mtreinish:only-binary-terra-stable

Conversation

@mtreinish
Copy link
Copy Markdown
Member

Summary

In the recently released terra 0.20.0 release the minimum python
packaging spec supported is manylinux2014 now. On the main branch we
bumped the manylinux base image we use for wheel jobs to manylinux2014
in #1498. However, on the stable 0.10.x branch we don't want to do that
since we probably should not drop support for older environments on a
stable release. This commit updates the wheel job config to instead
install terra from a compatible binary wheel instead of using the latest
release. This should hopefully avoid the CI failure but still enable us
to run without building terra from source or dropping support for
manylinux2010.

Details and comments

In the recently released terra 0.20.0 release the minimum python
packaging spec supported is manylinux2014 now. On the main branch we
bumped the manylinux base image we use for wheel jobs to manylinux2014
in Qiskit#1498. However, on the stable 0.10.x branch we don't want to do that
since we probably should not drop support for older environments on a
stable release. This commit updates the wheel job config to instead
install terra from a compatible binary wheel instead of using the latest
release. This should hopefully avoid the CI failure but still enable us
to run without building terra from source or dropping support for
manylinux2010.
@hhorii hhorii force-pushed the only-binary-terra-stable branch from c8b74a3 to 7bd8cb5 Compare April 4, 2022 21:20
…iskit#1446)

* Use unitary equivalence instead of circuit equality in noise tests

Recent qiskit-terra reduces I gates and some tests of Aer failed in equality checks of QuantumCircuit injected as noise.
This PR change a way of equality check from object equality to unitary equivalence of QuantumCircuit.

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
Co-authored-by: Hiroshi Horii <horii@jp.ibm.com>
@hhorii
Copy link
Copy Markdown
Collaborator

hhorii commented Apr 4, 2022

#1446 is necessary to pass tests. I pushed it to this branch.

@hhorii hhorii merged commit d9eb6b9 into Qiskit:stable/0.10 Apr 4, 2022
@mtreinish mtreinish deleted the only-binary-terra-stable branch April 4, 2022 23:38
hhorii added a commit to hhorii/qiskit-aer that referenced this pull request Apr 5, 2022
In the recently released terra 0.20.0 release the minimum python
packaging spec supported is manylinux2014 now. On the main branch we
bumped the manylinux base image we use for wheel jobs to manylinux2014
in Qiskit#1498. However, on the stable 0.10.x branch we don't want to do that
since we probably should not drop support for older environments on a
stable release. This commit updates the wheel job config to instead
install terra from a compatible binary wheel instead of using the latest
release. This should hopefully avoid the CI failure but still enable us
to run without building terra from source or dropping support for
manylinux2010.

* Use unitary equivalence instead of circuit equality in noise tests (Qiskit#1446)

Co-authored-by: Hiroshi Horii <horii@jp.ibm.com>
hhorii added a commit to hhorii/qiskit-aer that referenced this pull request Apr 6, 2022
@mtreinish mtreinish mentioned this pull request Apr 6, 2022
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants