From b2e32169192009fde6fff103a26b9f76164c36e4 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Mon, 13 Jan 2025 12:38:31 +0100 Subject: [PATCH] python313Packages.beartype: disable broken test --- pkgs/development/python-modules/beartype/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/beartype/default.nix b/pkgs/development/python-modules/beartype/default.nix index a99da96fff26..dd1a4268a4aa 100644 --- a/pkgs/development/python-modules/beartype/default.nix +++ b/pkgs/development/python-modules/beartype/default.nix @@ -5,6 +5,7 @@ fetchFromGitHub, hatchling, pytestCheckHook, + pythonAtLeast, typing-extensions, }: @@ -29,6 +30,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "beartype" ]; + # this test is not run upstream, and broke in 3.13 (_nparams removed) + disabledTests = lib.optionals (pythonAtLeast "3.13") [ + "test_door_is_subhint" + ]; + meta = { description = "Fast runtime type checking for Python"; homepage = "https://github.com/beartype/beartype";