From 5690819d8059acc22fce78029c11065703eeeffc Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 13 Nov 2024 21:33:26 +0100 Subject: [PATCH] python313Packages.nbformat: disable failing tests --- pkgs/development/python-modules/nbformat/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) 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;