python3Packages.transitions: disable failing tests

This commit is contained in:
Fabian Affolter 2022-01-14 13:17:22 +01:00
parent 36797a3c65
commit 2b7f7b4b66

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonAtLeast
, six
, pygraphviz
, pytestCheckHook
@ -13,6 +14,7 @@
buildPythonPackage rec {
pname = "transitions";
version = "0.8.10";
format = "setuptools";
src = fetchPypi {
inherit pname version;
@ -36,6 +38,16 @@ buildPythonPackage rec {
export HOME=$TMPDIR
'';
disabledTests = lib.optionals (pythonAtLeast "3.10") [
# https://github.com/pytransitions/transitions/issues/563
"test_multiple_models"
"test_timeout"
];
pythonImportsCheck = [
"transitions"
];
meta = with lib; {
homepage = "https://github.com/pytransitions/transitions";
description = "A lightweight, object-oriented finite state machine implementation in Python";