From efb32d065746c3e56b15d50f132efc9df60676f1 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Mon, 4 Apr 2022 19:35:41 -0400 Subject: [PATCH] Only install terra from binary for wheel jobs (#1499) 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. * Use unitary equivalence instead of circuit equality in noise tests (#1446) Co-authored-by: Hiroshi Horii --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index dfe3acc9e2..9c9a84890d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ test-command = "python {project}/tools/verify_wheels.py" # tendency to crash if they're installed from source by `pip install`, and since # Numpy 1.22 there are no i686 wheels, so we force pip to use older ones without # restricting any dependencies that Numpy and Scipy might have. -before-test = "pip install --only-binary=numpy,scipy numpy scipy" +before-test = "pip install --only-binary=numpy,scipy,qiskit-terra numpy scipy qiskit-terra" [tool.cibuildwheel.linux] before-all = "yum install -y openblas-devel"