From 296dc1ec2aec6d6ce6d8ab5cd6348f2a3e7bb729 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Feb 2021 13:28:38 +0100 Subject: [PATCH 1/2] python3Packages.aresponses: 2.1.2 -> 2.1.4 --- pkgs/development/python-modules/aresponses/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aresponses/default.nix b/pkgs/development/python-modules/aresponses/default.nix index 53353a137886..f2a7f0f8f26b 100644 --- a/pkgs/development/python-modules/aresponses/default.nix +++ b/pkgs/development/python-modules/aresponses/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "aresponses"; - version = "2.1.2"; + version = "2.1.4"; disabled = !isPy3k; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "CircleUp"; repo = pname; rev = version; - sha256 = "007wrk4wdy97a81imgzxd6sm5dly9v7abmxh9fyfi0vp1p7s75bw"; + sha256 = "sha256-crMiMZ2IDuYDFt8Bixg3NRhlUa2tqmfzd7ZeHM+2Iu4="; }; propagatedBuildInputs = [ From 771269e9bad272355a2df34fa93ddd500fc06029 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Feb 2021 13:34:45 +0100 Subject: [PATCH 2/2] python3Packages.pyipp: run all tests --- .../python-modules/pyipp/default.nix | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/pyipp/default.nix b/pkgs/development/python-modules/pyipp/default.nix index ed5a5f4576ab..dfef79a4dcae 100644 --- a/pkgs/development/python-modules/pyipp/default.nix +++ b/pkgs/development/python-modules/pyipp/default.nix @@ -6,7 +6,7 @@ , fetchFromGitHub , pytest-asyncio , pytestCheckHook -, pytestcov +, pytest-cov , yarl }: @@ -30,24 +30,10 @@ buildPythonPackage rec { checkInputs = [ aresponses pytest-asyncio - pytestcov + pytest-cov pytestCheckHook ]; - # Some tests are failing due to encoding issues - # https://github.com/ctalkington/python-ipp/issues/121 - disabledTests = [ - "test_internal_session" - "test_request_port" - "est_http_error426" - "test_unexpected_response" - "test_printer" - "test_raw" - "test_ipp_request" - "test_request_tls" - "test_ipp_error_0x0503" - ]; - pythonImportsCheck = [ "pyipp" ]; meta = with lib; {