Unverified Commit 9cf7092b authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.sphinx-markdown-builder: remove superfluous dependencies (#500903)

parents d4bef24d 016be4bb
Loading
Loading
Loading
Loading
+1 −35
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@

  # build system
  setuptools,
  wheel,

  # deps
  docutils,
@@ -15,19 +14,7 @@

  # tests
  pytestCheckHook,

  # optional deps
  black,
  bumpver,
  coveralls,
  flake8,
  isort,
  pip-tools,
  pylint,
  pytest,
  pytest-cov,
  sphinxcontrib-httpdomain,
  sphinxcontrib-plantuml,
}:

buildPythonPackage rec {
@@ -44,7 +31,6 @@ buildPythonPackage rec {

  build-system = [
    setuptools
    wheel
  ];

  dependencies = [
@@ -53,35 +39,15 @@ buildPythonPackage rec {
    tabulate
  ];

  optional-dependencies = {
    dev = [
      black
      bumpver
      coveralls
      flake8
      isort
      pip-tools
      pylint
      pytest
      pytest-cov
      sphinx
      sphinxcontrib-httpdomain
      sphinxcontrib-plantuml
    ];
  };

  pythonImportsCheck = [
    "sphinx_markdown_builder"
  ];

  nativeCheckInputs = [
    pytestCheckHook
    sphinxcontrib-httpdomain
  ];

  # NOTE: not sure why, but a `Missing dependencies: wheel` error happens when
  # `black` is included here, with python3.13
  checkInputs = lib.remove black optional-dependencies.dev;

  passthru.updateScript = nix-update-script { };

  meta = {