diff --git a/pkgs/development/python-modules/nbformat/default.nix b/pkgs/development/python-modules/nbformat/default.nix index e6eb3344e8d9..7c31e3e4acc7 100644 --- a/pkgs/development/python-modules/nbformat/default.nix +++ b/pkgs/development/python-modules/nbformat/default.nix @@ -1,6 +1,7 @@ { lib, buildPythonPackage, + pythonAtLeast, pythonOlder, fetchPypi, hatchling, @@ -45,6 +46,14 @@ buildPythonPackage rec { testpath ]; + disabledTestPaths = lib.optionals (pythonAtLeast "3.13") [ + # ResourceWarning: unclosed database in + "tests/test_validator.py" + "tests/v4/test_convert.py" + "tests/v4/test_json.py" + "tests/v4/test_validate.py" + ]; + # Some of the tests use localhost networking. __darwinAllowLocalNetworking = true;