From 441a2bb60969b6978904e7a9559ddb3483405d94 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 14 Jul 2026 15:00:20 +0200 Subject: [PATCH] python3Packages.rst-core: disable failing tests It seems like docutils has reclassified the severity of this rule. --- pkgs/development/python-modules/rstcheck-core/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/rstcheck-core/default.nix b/pkgs/development/python-modules/rstcheck-core/default.nix index b883214e1efe..991a4a9589b4 100644 --- a/pkgs/development/python-modules/rstcheck-core/default.nix +++ b/pkgs/development/python-modules/rstcheck-core/default.nix @@ -29,9 +29,7 @@ buildPythonPackage rec { setuptools-scm ]; - env = { - NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-strict-prototypes"; - }; + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-strict-prototypes"; dependencies = [ docutils @@ -45,8 +43,8 @@ buildPythonPackage rec { ]; disabledTests = [ - # https://github.com/rstcheck/rstcheck-core/issues/84 - "test_check_yaml_returns_error_on_bad_code_block" + # severity was bumped from severe/4 to error/3 + "test_include_directive_error_without_sphinx" ]; pythonImportsCheck = [ "rstcheck_core" ];