about summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-http-client
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-01-12 10:34:08 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2022-01-12 10:34:08 +0100
commit1c6c231fe23763885d2594e1ac6a5dd7ac3062a4 (patch)
treeb720aed3576beacc7b183974ba7daab9a6ed99f0 /pkgs/development/python-modules/python-http-client
parented89030b17286382363919367704ff1b29052de4 (diff)
python3Packages.python-http-client: disable failing test
Diffstat (limited to 'pkgs/development/python-modules/python-http-client')
-rw-r--r--pkgs/development/python-modules/python-http-client/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-http-client/default.nix b/pkgs/development/python-modules/python-http-client/default.nix
index db79870ad591f..02faf4db4d638 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"
   ];