From 1c6c231fe23763885d2594e1ac6a5dd7ac3062a4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 12 Jan 2022 10:34:08 +0100 Subject: python3Packages.python-http-client: disable failing test --- pkgs/development/python-modules/python-http-client/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pkgs/development/python-modules/python-http-client') diff --git a/pkgs/development/python-modules/python-http-client/default.nix b/pkgs/development/python-modules/python-http-client/default.nix index db79870ad591..02faf4db4d63 100644 --- a/pkgs/development/python-modules/python-http-client/default.nix +++ b/pkgs/development/python-modules/python-http-client/default.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , mock , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { @@ -10,6 +11,8 @@ buildPythonPackage rec { version = "3.3.4"; format = "setuptools"; + disabled = pythonOlder "3.8"; + src = fetchFromGitHub { owner = "sendgrid"; repo = "python-http-client"; @@ -22,6 +25,12 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = [ + # Test is failing as the test is dynamic + # https://github.com/sendgrid/python-http-client/issues/153 + "test__daterange" + ]; + pythonImportsCheck = [ "python_http_client" ]; -- cgit v1.2.3 From 5c61c3ce36e761ac70a36cb20199c83e8f06cae4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 13 Jan 2022 00:42:53 +0100 Subject: python310Packages.python-http-client: 3.3.4 -> 3.3.5 --- pkgs/development/python-modules/python-http-client/default.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'pkgs/development/python-modules/python-http-client') diff --git a/pkgs/development/python-modules/python-http-client/default.nix b/pkgs/development/python-modules/python-http-client/default.nix index 02faf4db4d63..3a8ad2188fc1 100644 --- a/pkgs/development/python-modules/python-http-client/default.nix +++ b/pkgs/development/python-modules/python-http-client/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "python_http_client"; - version = "3.3.4"; + version = "3.3.5"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "sendgrid"; repo = "python-http-client"; rev = version; - sha256 = "sha256-wTXHq+tC+rfvmDZIWvcGhQZqm6DxOmx50BsX0c6asec="; + sha256 = "sha256-VSrh6t9p7Xb8HqAwcuDSUD2Pj3NcXeg7ygKLG2MHFxk="; }; checkInputs = [ @@ -25,12 +25,6 @@ buildPythonPackage rec { pytestCheckHook ]; - disabledTests = [ - # Test is failing as the test is dynamic - # https://github.com/sendgrid/python-http-client/issues/153 - "test__daterange" - ]; - pythonImportsCheck = [ "python_http_client" ]; -- cgit v1.2.3