diff options
Diffstat (limited to 'pkgs/development/python-modules/icontract/default.nix')
-rw-r--r-- | pkgs/development/python-modules/icontract/default.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/icontract/default.nix b/pkgs/development/python-modules/icontract/default.nix index 0a200038032..76e1814dddd 100644 --- a/pkgs/development/python-modules/icontract/default.nix +++ b/pkgs/development/python-modules/icontract/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "icontract"; - version = "2.6.2"; + version = "2.6.4"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "Parquery"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-NUgMt/o9EpSQyOiAhYBVJtQKJn0Pd2lI45bKlo2z7mk="; + hash = "sha256-zuaS9mmq47hUIBObYRuzEYQQdTArFXR3TpK9nfZt/yk="; }; preCheck = '' @@ -50,13 +50,14 @@ buildPythonPackage rec { # mypy decorator checks don't pass. For some reason mypy # doesn't check the python file provided in the test. "tests/test_mypy_decorators.py" + # those tests seems to simply re-run some typeguard tests + "tests/test_typeguard.py" ]; - # Upstream adds some plain text files direct to the package's root directory - # https://github.com/Parquery/icontract/blob/master/setup.py#L63 - postInstall = '' - rm -f $out/{LICENSE.txt,README.rst,requirements.txt} - ''; + pytestFlagsArray = [ + # RuntimeWarning: coroutine '*' was never awaited + "-W" "ignore::RuntimeWarning" + ]; pythonImportsCheck = [ "icontract" ]; |