Unverified Commit c3c00acf authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.sphinx-prompt: relax unnecessary deps (#449558)

parents 688e80f4 915902b8
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
@@ -28,6 +28,10 @@ buildPythonPackage rec {
    hash = "sha256-JKCTn2YkdyGLvchMT9C61PxjYxuQFzt3SjCE9JvgtVc=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml --replace-fail 'version = "0.0.0"' 'version = "${version}"'
  '';

  build-system = [
    poetry-core
    poetry-dynamic-versioning
@@ -39,9 +43,15 @@ buildPythonPackage rec {
    sphinx
  ];

  nativeCheckInputs = [ pytestCheckHook ];
  # upstream pins these unnecessarily in their requirements.txt
  pythonRelaxDeps = [
    "certifi"
    "requests"
    "urllib3"
    "zipp"
  ];

  pythonRelaxDeps = [ "requests" ];
  nativeCheckInputs = [ pytestCheckHook ];

  meta = with lib; {
    description = "Sphinx extension for creating unselectable prompt";