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

This commit is contained in:
Martin Weinelt
2025-10-08 11:44:58 +00:00
committed by GitHub
@@ -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";