Skip to content

Only install terra from binary for wheel jobs#1500

Closed
hhorii wants to merge 1 commit into
Qiskit:mainfrom
hhorii:only-binary-terra-main
Closed

Only install terra from binary for wheel jobs#1500
hhorii wants to merge 1 commit into
Qiskit:mainfrom
hhorii:only-binary-terra-main

Conversation

@hhorii
Copy link
Copy Markdown
Contributor

@hhorii hhorii commented Apr 5, 2022

Summary

Only install terra from binary for wheel jobs

Details and comments

In the recently released terra 0.20.0 release the minimum python
packaging spec supported is manylinux2014 now. This commit updates
the wheel job config to instead install terra from a compatible binary wheel
instead of using the latest release. This will avoid compilation fails of terra in terra.

This commit will be necessary until main starts using only manylinux2014 in #1498.

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>
@mtreinish
Copy link
Copy Markdown
Member

I think instead of this we should just disable i686 builds on main. We don't want to be testing compatibility with terra 0.19.x forever. Even if I get things fixed in #1498 so that we're building openblas on i686 that takes ~15 min to build in CI and we don't want that done on every PR.

@hhorii
Copy link
Copy Markdown
Contributor Author

hhorii commented Apr 6, 2022

I think instead of this we should just disable i686 builds on main. We don't want to be testing compatibility with terra 0.19.x forever. Even if I get things fixed in #1498 so that we're building openblas on i686 that takes ~15 min to build in CI and we don't want that done on every PR.

I agree.

@hhorii hhorii closed this Apr 6, 2022
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.

2 participants