python3Packages.transitions: disable failing tests
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user