python3Packages.qiskit-aqua: 0.9.0 -> 0.9.1
Remove unneeded docs delete, they're no longer in $out.
This commit is contained in:
parent
7af89007ad
commit
6171c77ad3
|
@ -10,7 +10,6 @@
|
||||||
, networkx
|
, networkx
|
||||||
, numpy
|
, numpy
|
||||||
, psutil
|
, psutil
|
||||||
, python
|
|
||||||
, qiskit-ignis
|
, qiskit-ignis
|
||||||
, qiskit-terra
|
, qiskit-terra
|
||||||
, quandl
|
, quandl
|
||||||
|
@ -34,7 +33,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "qiskit-aqua";
|
pname = "qiskit-aqua";
|
||||||
version = "0.9.0";
|
version = "0.9.1";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
@ -43,7 +42,7 @@ buildPythonPackage rec {
|
||||||
owner = "Qiskit";
|
owner = "Qiskit";
|
||||||
repo = "qiskit-aqua";
|
repo = "qiskit-aqua";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-knue9uJih72UQHsvfXZ9AA94mol4ERa9Lo/GMcp+2hA=";
|
hash = "sha256-fptyqPrkUgl3UjtlEmDYORdX/SsONxWozQGEs/EahmU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Optional packages: pyscf (see below NOTE) & pytorch. Can install via pip/nix if needed.
|
# Optional packages: pyscf (see below NOTE) & pytorch. Can install via pip/nix if needed.
|
||||||
|
@ -97,8 +96,6 @@ buildPythonPackage rec {
|
||||||
>> qiskit/optimization/__init__.py
|
>> qiskit/optimization/__init__.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = "rm -rf $out/${python.sitePackages}/docs"; # Remove docs dir b/c it can cause conflicts.
|
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
ddt
|
ddt
|
||||||
|
@ -123,9 +120,6 @@ buildPythonPackage rec {
|
||||||
"--ignore=test/chemistry/test_bopes_sampler.py"
|
"--ignore=test/chemistry/test_bopes_sampler.py"
|
||||||
];
|
];
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# Disabled due to missing pyscf
|
|
||||||
"test_validate" # test/chemistry/test_inputparser.py
|
|
||||||
|
|
||||||
# Online tests
|
# Online tests
|
||||||
"test_exchangedata"
|
"test_exchangedata"
|
||||||
"test_yahoo"
|
"test_yahoo"
|
||||||
|
@ -163,6 +157,8 @@ buildPythonPackage rec {
|
||||||
"test_eoh"
|
"test_eoh"
|
||||||
"test_qasm_5"
|
"test_qasm_5"
|
||||||
"test_uccsd_hf"
|
"test_uccsd_hf"
|
||||||
|
] ++ lib.optionals (!withPyscf) [
|
||||||
|
"test_validate" # test/chemistry/test_inputparser.py
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue