From 674cae8f5ed46a2cd264e5f2caf04ae0f3f64bb3 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 6 Jul 2025 23:18:44 +0200 Subject: [PATCH] python3Packages.pymatgen: add moyopy dependency --- pkgs/development/python-modules/pymatgen/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/pymatgen/default.nix b/pkgs/development/python-modules/pymatgen/default.nix index 36e22e559e1a..4497c333346a 100644 --- a/pkgs/development/python-modules/pymatgen/default.nix +++ b/pkgs/development/python-modules/pymatgen/default.nix @@ -46,6 +46,7 @@ # tests addBinToPathHook, + moyopy, pytest-xdist, pytestCheckHook, }: @@ -122,6 +123,7 @@ buildPythonPackage rec { nativeCheckInputs = [ addBinToPathHook + moyopy pytestCheckHook pytest-xdist ] @@ -169,11 +171,7 @@ buildPythonPackage rec { "test_timer" ]; - disabledTestPaths = [ - # We have not packaged moyopy yet. - "tests/analysis/test_prototypes.py::test_get_protostructure_label_from_moyopy" - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ + disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ # Crash when running the pmg command # Critical error: required built-in appearance SystemAppearance not found "tests/cli/test_pmg_plot.py"