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";