diff options
author | Drew Risinger <drewrisinger@users.noreply.github.com> | 2022-01-12 17:02:05 -0500 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-02-11 10:23:04 -0800 |
commit | f653d6ce1cd1227934e6e56d97a91a3e5c3819df (patch) | |
tree | 6d4d76986558e0024044c8a48c7ba638a5f6624a /pkgs/development/python-modules/qiskit-nature | |
parent | a0f49b74f78395b9f5828558284a2022b83858c7 (diff) | |
download | nixpkgs-f653d6ce1cd1227934e6e56d97a91a3e5c3819df.tar nixpkgs-f653d6ce1cd1227934e6e56d97a91a3e5c3819df.tar.gz nixpkgs-f653d6ce1cd1227934e6e56d97a91a3e5c3819df.tar.bz2 nixpkgs-f653d6ce1cd1227934e6e56d97a91a3e5c3819df.tar.lz nixpkgs-f653d6ce1cd1227934e6e56d97a91a3e5c3819df.tar.xz nixpkgs-f653d6ce1cd1227934e6e56d97a91a3e5c3819df.tar.zst nixpkgs-f653d6ce1cd1227934e6e56d97a91a3e5c3819df.zip |
python3Packages.qiskit-nature: fix build
Diffstat (limited to 'pkgs/development/python-modules/qiskit-nature')
-rw-r--r-- | pkgs/development/python-modules/qiskit-nature/default.nix | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/qiskit-nature/default.nix b/pkgs/development/python-modules/qiskit-nature/default.nix index 66f7bdbf626..00a0a1252c4 100644 --- a/pkgs/development/python-modules/qiskit-nature/default.nix +++ b/pkgs/development/python-modules/qiskit-nature/default.nix @@ -16,6 +16,7 @@ , pytestCheckHook , ddt , pylatexenc +, qiskit-aer }: buildPythonPackage rec { @@ -31,10 +32,6 @@ buildPythonPackage rec { sha256 = "1lr198l2z9j1hw389vv6mgz6djkq4bw91r0hif58jpg8w6kmzsx9"; }; - postPatch = '' - substituteInPlace requirements.txt --replace "h5py<3.3" "h5py" - ''; - propagatedBuildInputs = [ h5py numpy @@ -49,30 +46,23 @@ buildPythonPackage rec { pytestCheckHook ddt pylatexenc + qiskit-aer ]; pythonImportsCheck = [ "qiskit_nature" ]; pytestFlagsArray = [ "--durations=10" - ] ++ lib.optionals (!withPyscf) [ - "--ignore=test/algorithms/excited_state_solvers/test_excited_states_eigensolver.py" ]; disabledTests = [ - # small math error < 0.05 (< 9e-6 %) - "test_vqe_uvccsd_factory" - # unsure of failure reason. Might be related to recent cvxpy update? - "test_two_qubit_reduction" - ] ++ lib.optionals (!withPyscf) [ - "test_h2_bopes_sampler" - "test_potential_interface" + "test_two_qubit_reduction" # unsure of failure reason. Might be related to recent cvxpy update? ]; meta = with lib; { description = "Software for developing quantum computing programs"; homepage = "https://qiskit.org"; - downloadPage = "https://github.com/QISKit/qiskit-optimization/releases"; + downloadPage = "https://github.com/QISKit/qiskit-nature/releases"; changelog = "https://qiskit.org/documentation/release_notes.html"; license = licenses.asl20; maintainers = with maintainers; [ drewrisinger ]; |