python3Packages.qiskit-aer: 0.7.6 -> 0.8.0
* disable slow tests
This commit is contained in:
parent
6c9c795923
commit
50977d7523
1 changed files with 14 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "qiskit-aer";
|
pname = "qiskit-aer";
|
||||||
version = "0.7.6";
|
version = "0.8.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
@ -36,7 +36,7 @@ buildPythonPackage rec {
|
||||||
owner = "Qiskit";
|
owner = "Qiskit";
|
||||||
repo = "qiskit-aer";
|
repo = "qiskit-aer";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0595as4rxjrd5dqx54ywz3rjsjk0z7r41bq0z9r8y1h7zgvvlrmn";
|
hash = "sha256-CWF3ehLs0HBXnYH11r+2CQwIcxddAfQm3ulAf1agl/o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -61,6 +61,7 @@ buildPythonPackage rec {
|
||||||
pybind11
|
pybind11
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# tries to install pypi cmake package, not needed
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py --replace "'cmake!=3.17,!=3.17.0'," ""
|
substituteInPlace setup.py --replace "'cmake!=3.17,!=3.17.0'," ""
|
||||||
'';
|
'';
|
||||||
|
@ -83,6 +84,17 @@ buildPythonPackage rec {
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
"test_paulis_1_and_2_qubits"
|
"test_paulis_1_and_2_qubits"
|
||||||
"test_3d_oscillator"
|
"test_3d_oscillator"
|
||||||
|
"_057"
|
||||||
|
"_136"
|
||||||
|
"_137"
|
||||||
|
"_139"
|
||||||
|
"_138"
|
||||||
|
"_140"
|
||||||
|
"_141"
|
||||||
|
"_143"
|
||||||
|
"_144"
|
||||||
|
"test_sparse_output_probabilities"
|
||||||
|
"test_reset_2_qubit"
|
||||||
];
|
];
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
|
Loading…
Reference in a new issue