python3Packages.qiskit-aer: 0.7.6 -> 0.8.0

* disable slow tests
This commit is contained in:
Drew Risinger 2021-04-06 11:09:42 -04:00
parent 6c9c795923
commit 50977d7523

View file

@ -27,7 +27,7 @@
buildPythonPackage rec {
pname = "qiskit-aer";
version = "0.7.6";
version = "0.8.0";
format = "pyproject";
disabled = pythonOlder "3.6";
@ -36,7 +36,7 @@ buildPythonPackage rec {
owner = "Qiskit";
repo = "qiskit-aer";
rev = version;
sha256 = "0595as4rxjrd5dqx54ywz3rjsjk0z7r41bq0z9r8y1h7zgvvlrmn";
hash = "sha256-CWF3ehLs0HBXnYH11r+2CQwIcxddAfQm3ulAf1agl/o=";
};
nativeBuildInputs = [
@ -61,6 +61,7 @@ buildPythonPackage rec {
pybind11
];
# tries to install pypi cmake package, not needed
postPatch = ''
substituteInPlace setup.py --replace "'cmake!=3.17,!=3.17.0'," ""
'';
@ -83,6 +84,17 @@ buildPythonPackage rec {
disabledTests = [
"test_paulis_1_and_2_qubits"
"test_3d_oscillator"
"_057"
"_136"
"_137"
"_139"
"_138"
"_140"
"_141"
"_143"
"_144"
"test_sparse_output_probabilities"
"test_reset_2_qubit"
];
checkInputs = [
pytestCheckHook