python310Packages.transitions: fix darwin build

This commit is contained in:
Stanisław Pitucha 2022-11-09 12:05:55 +11:00 committed by Robert Schütz
parent d3ea3da740
commit 06e61dbed3

View file

@ -1,4 +1,5 @@
{ lib { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pythonAtLeast , pythonAtLeast
@ -38,6 +39,14 @@ buildPythonPackage rec {
export HOME=$TMPDIR 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 = [ pythonImportsCheck = [
"transitions" "transitions"
]; ];