python3Packages.lazy-object-proxy: remove upper constraint

This commit is contained in:
Frederik Rietdijk 2021-03-24 13:29:11 +01:00
parent 9fd8ec2368
commit 0e5ab73b0e

View File

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pytestCheckHook
, setuptools_scm
}:
@ -14,13 +14,19 @@ buildPythonPackage rec {
sha256 = "489000d368377571c6f982fba6497f2aa13c6d1facc40660963da62f5c379726";
};
nativeBuildInputs = [ setuptools_scm ];
nativeBuildInputs = [
setuptools_scm
];
checkInputs = [ pytest ];
checkPhase = ''
py.test tests
postPatch = ''
substituteInPlace pyproject.toml --replace ",<6.0" ""
substituteInPlace setup.cfg --replace ",<6.0" ""
'';
checkInputs = [
pytestCheckHook
];
# Broken tests. Seem to be fixed upstream according to Travis.
doCheck = false;