python313Packages.help2man: disable broken test (#404073)

This commit is contained in:
Aleksana
2025-05-04 21:02:27 +08:00
committed by GitHub
@@ -2,7 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pythonAtLeast,
jinja2,
setuptools-scm,
shtab,
@@ -15,8 +15,6 @@ buildPythonPackage rec {
version = "0.0.9";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "Freed-Wu";
repo = "help2man";
@@ -24,17 +22,24 @@ buildPythonPackage rec {
hash = "sha256-BIDn+LQzBtDHUtFvIRL3NMXNouO3cMLibuYBoFtCUxI=";
};
nativeBuildInputs = [
build-system = [
jinja2
setuptools-scm
shtab
tomli
];
propagatedBuildInputs = [ jinja2 ];
dependencies = [ jinja2 ];
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; {