Unverified Commit d9fe7930 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

python313Packages.help2man: disable broken test (#404073)

parents 9628160f 8cc329f3
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -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; {