From 6875230170bc389de0110f35b5cb594b53cee2dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 12 May 2022 01:32:02 +0000 Subject: [PATCH] python310Packages.rflink: disable failing test --- pkgs/development/python-modules/rflink/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/rflink/default.nix b/pkgs/development/python-modules/rflink/default.nix index c33d44f628f..fa6f44ef616 100644 --- a/pkgs/development/python-modules/rflink/default.nix +++ b/pkgs/development/python-modules/rflink/default.nix @@ -8,6 +8,7 @@ , pyserial-asyncio , setuptools , pytestCheckHook +, pythonAtLeast }: buildPythonPackage rec { @@ -34,6 +35,11 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTestPaths = lib.optionals (pythonAtLeast "3.10") [ + # https://github.com/aequitas/python-rflink/issues/65 + "tests/test_proxy.py" + ]; + postPatch = '' substituteInPlace setup.py \ --replace "version=version_from_git()" "version='${version}'"