From c9fb0b33d722be28a53bb07deeb34bfef96ced37 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 21 Feb 2023 12:51:22 +0100 Subject: [PATCH] python310Packages.typish: disable failing test on Python 3.11 --- pkgs/development/python-modules/typish/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/typish/default.nix b/pkgs/development/python-modules/typish/default.nix index 63fce293d671..c05518c257f0 100644 --- a/pkgs/development/python-modules/typish/default.nix +++ b/pkgs/development/python-modules/typish/default.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , numpy , pytestCheckHook +, pythonAtLeast , pythonOlder }: @@ -31,6 +32,11 @@ buildPythonPackage rec { "tests/functions/test_instance_of.py" ]; + disabledTests = lib.optionals (pythonAtLeast "3.11") [ + # https://github.com/ramonhagenaars/typish/issues/32 + "test_get_origin" + ]; + pythonImportsCheck = [ "typish" ];