Loading pkgs/development/python-modules/qutip/default.nix +11 −10 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ # tests pytestCheckHook, pytest-rerunfailures, writableTmpDirAsHomeHook, python, # optional-dependencies Loading @@ -38,8 +39,9 @@ buildPythonPackage rec { hash = "sha256-5j47Wqt9i6vC3uwRzQ9+8pk+ENl5w6PvnP+830RLCls="; }; postPatch = '' postPatch = # build-time constriant, used to ensure forward and backward compat '' substituteInPlace pyproject.toml setup.cfg \ --replace-fail "numpy>=2.0.0" "numpy" ''; Loading @@ -59,6 +61,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook pytest-rerunfailures writableTmpDirAsHomeHook ] ++ lib.flatten (builtins.attrValues optional-dependencies); # QuTiP tries to access the home directory to create an rc file for us. Loading @@ -66,7 +69,6 @@ buildPythonPackage rec { # This is due to the Cython-compiled modules not being in the correct location # of the source tree. preCheck = '' export HOME=$(mktemp -d); export OMP_NUM_THREADS=$NIX_BUILD_CORES mkdir -p test && cd test ''; Loading @@ -80,11 +82,6 @@ buildPythonPackage rec { pythonImportsCheck = [ "qutip" ]; pytestFlagsArray = lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ # Fatal Python error: Aborted "--deselect=../tests/core/test_metrics.py::Test_hellinger_dist::test_monotonicity[25]" ]; optional-dependencies = { graphics = [ matplotlib ]; ipython = [ ipython ]; Loading @@ -104,6 +101,10 @@ buildPythonPackage rec { # Tests fail at ~80% # ../tests/test_animation.py::test_result_state Fatal Python error: Aborted lib.systems.inspect.patterns.isDarwin # Several tests fail with a segfault # ../tests/test_random.py::test_rand_super_bcsz[int-CSR-choi-None-rep(1)] Fatal Python error: Aborted "aarch64-linux" ]; }; } Loading
pkgs/development/python-modules/qutip/default.nix +11 −10 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ # tests pytestCheckHook, pytest-rerunfailures, writableTmpDirAsHomeHook, python, # optional-dependencies Loading @@ -38,8 +39,9 @@ buildPythonPackage rec { hash = "sha256-5j47Wqt9i6vC3uwRzQ9+8pk+ENl5w6PvnP+830RLCls="; }; postPatch = '' postPatch = # build-time constriant, used to ensure forward and backward compat '' substituteInPlace pyproject.toml setup.cfg \ --replace-fail "numpy>=2.0.0" "numpy" ''; Loading @@ -59,6 +61,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook pytest-rerunfailures writableTmpDirAsHomeHook ] ++ lib.flatten (builtins.attrValues optional-dependencies); # QuTiP tries to access the home directory to create an rc file for us. Loading @@ -66,7 +69,6 @@ buildPythonPackage rec { # This is due to the Cython-compiled modules not being in the correct location # of the source tree. preCheck = '' export HOME=$(mktemp -d); export OMP_NUM_THREADS=$NIX_BUILD_CORES mkdir -p test && cd test ''; Loading @@ -80,11 +82,6 @@ buildPythonPackage rec { pythonImportsCheck = [ "qutip" ]; pytestFlagsArray = lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ # Fatal Python error: Aborted "--deselect=../tests/core/test_metrics.py::Test_hellinger_dist::test_monotonicity[25]" ]; optional-dependencies = { graphics = [ matplotlib ]; ipython = [ ipython ]; Loading @@ -104,6 +101,10 @@ buildPythonPackage rec { # Tests fail at ~80% # ../tests/test_animation.py::test_result_state Fatal Python error: Aborted lib.systems.inspect.patterns.isDarwin # Several tests fail with a segfault # ../tests/test_random.py::test_rand_super_bcsz[int-CSR-choi-None-rep(1)] Fatal Python error: Aborted "aarch64-linux" ]; }; }