python38Packages.bidict: Remove stale patch, use pytestCheckHook
commitf1478a78ff3c1c2ce6abb6cf603206cb8d4e08c7
authorSandro Jäckel <sandro.jaeckel@gmail.com>
dateWed 20 Jan 2021, 11:54 (6 years ago)
parent9c6ca67
pkgs/development/python-modules/bidict/default.nix+2−11
@@ -3,7 +3,7 @@
33, sphinx
44, hypothesis
55, py
6−, pytest
6+, pytestCheckHook
77, pytest-benchmark
88, sortedcollections
99, sortedcontainers
@@ -23,23 +23,14 @@ buildPythonPackage rec {
2323 nativeBuildInputs = [ setuptools_scm ];
2424 propagatedBuildInputs = [ sphinx ];
2525
26− # this can be removed >0.19.0
27− postPatch = ''
28− substituteInPlace setup.py \
29− --replace "setuptools_scm < 4" "setuptools_scm"
30− '';
31−
3226 checkInputs = [
3327 hypothesis
3428 py
35− pytest
29+ pytestCheckHook
3630 pytest-benchmark
3731 sortedcollections
3832 sortedcontainers
3933 ];
40− checkPhase = ''
41− pytest tests
42− '';
4334
4435 meta = with lib; {
4536 homepage = "https://github.com/jab/bidict";