python3Packages.sphinx-prompt: relax unnecessary deps (#449558)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user