From c425e9606c64d338707df4637f007a085085f7bc Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sun, 4 May 2025 10:59:46 +0200 Subject: [PATCH] python313Packages.help2man: disable broken test --- pkgs/development/python-modules/help2man/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/help2man/default.nix b/pkgs/development/python-modules/help2man/default.nix index df9398fcb265..b5ad7c39a829 100644 --- a/pkgs/development/python-modules/help2man/default.nix +++ b/pkgs/development/python-modules/help2man/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + pythonAtLeast, pythonOlder, jinja2, setuptools-scm, @@ -35,6 +36,13 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; + disabledTests = lib.optionals (pythonAtLeast "3.13") [ + # Checks the output of `help2man --help`. + # Broken since 3.13 due to changes in `argparse`. + # Upstream issue: https://github.com/Freed-Wu/help2man/issues/6 + "test_help" + ]; + pythonImportsCheck = [ "help2man" ]; meta = with lib; {