python3Packages.transitions: disable failing tests
This commit is contained in:
parent
36797a3c65
commit
2b7f7b4b66
1 changed files with 12 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue