Merge pull request #148553 from dotlambda/cssselect2-dependencies

python3Packages.cssselect2: remove superfluous dependencies

authored by Fabian Affolter and committed by GitHub ccb03c90 1083fd1d

+8 -6
+8 -6
pkgs/development/python-modules/cssselect2/default.nix
··· 3 , pythonOlder 4 , fetchPypi 5 , tinycss2 6 - , pytest 7 - , pytest-runner 8 - , pytest-cov 9 - , pytest-flake8 10 - , pytest-isort 11 }: 12 13 buildPythonPackage rec { ··· 20 sha256 = "93fbb9af860e95dd40bf18c3b2b6ed99189a07c0f29ba76f9c5be71344664ec8"; 21 }; 22 23 propagatedBuildInputs = [ tinycss2 ]; 24 25 - checkInputs = [ pytest pytest-runner pytest-cov pytest-flake8 pytest-isort ]; 26 27 meta = with lib; { 28 description = "CSS selectors for Python ElementTree";
··· 3 , pythonOlder 4 , fetchPypi 5 , tinycss2 6 + , pytestCheckHook 7 }: 8 9 buildPythonPackage rec { ··· 16 sha256 = "93fbb9af860e95dd40bf18c3b2b6ed99189a07c0f29ba76f9c5be71344664ec8"; 17 }; 18 19 + postPatch = '' 20 + sed -i '/^addopts/d' pyproject.toml 21 + ''; 22 + 23 propagatedBuildInputs = [ tinycss2 ]; 24 25 + checkInputs = [ pytestCheckHook ]; 26 + 27 + pythonImportsCheck = [ "cssselect2" ]; 28 29 meta = with lib; { 30 description = "CSS selectors for Python ElementTree";