From 30823f3ea715a2256f39f7ef8b2f77c9359680f5 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 14 Apr 2024 20:10:29 +0200 Subject: [PATCH] python312Packages.sphinx: disable failing test Was already reported upstream and will be fixed in the next minor release. --- pkgs/development/python-modules/sphinx/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/sphinx/default.nix b/pkgs/development/python-modules/sphinx/default.nix index 96b8d5890aec..43b7ebcd99ee 100644 --- a/pkgs/development/python-modules/sphinx/default.nix +++ b/pkgs/development/python-modules/sphinx/default.nix @@ -1,5 +1,6 @@ { lib , buildPythonPackage +, pythonAtLeast , pythonOlder , fetchFromGitHub , isPyPy @@ -121,6 +122,9 @@ buildPythonPackage rec { "test_isattributedescriptor" "test_methoddescriptor" "test_partialfunction" + ] ++ lib.optionals (pythonAtLeast "3.12") [ + # https://github.com/sphinx-doc/sphinx/issues/12202 (Fixed in 7.3) + "test_enum_class" ]; meta = {