diff --git a/pkgs/development/python-modules/transitions/default.nix b/pkgs/development/python-modules/transitions/default.nix index 24bfa14b8c4b..42efd9d0017a 100644 --- a/pkgs/development/python-modules/transitions/default.nix +++ b/pkgs/development/python-modules/transitions/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , fetchPypi , pythonAtLeast @@ -38,6 +39,14 @@ buildPythonPackage rec { export HOME=$TMPDIR ''; + # upstream issue https://github.com/pygraphviz/pygraphviz/issues/441 + pytestFlagsArray = lib.optionals stdenv.isDarwin [ + "--deselect=tests/test_pygraphviz.py::PygraphvizTest::test_binary_stream" + "--deselect=tests/test_pygraphviz.py::PygraphvizTest::test_diagram" + "--deselect=tests/test_pygraphviz.py::TestPygraphvizNested::test_binary_stream" + "--deselect=tests/test_pygraphviz.py::TestPygraphvizNested::test_diagram" + ]; + pythonImportsCheck = [ "transitions" ];