@@ -3,6 +3,7 @@
33, fetchFromGitHub
44, mock
55, pytestCheckHook
6+, pythonOlder
67}:
78
89buildPythonPackage rec {
@@ -10,6 +11,8 @@ buildPythonPackage rec {
1011 version = "3.3.4";
1112 format = "setuptools";
1213
14+ disabled = pythonOlder "3.8";
15+
1316 src = fetchFromGitHub {
1417 owner = "sendgrid";
1518 repo = "python-http-client";
@@ -22,6 +25,12 @@ buildPythonPackage rec {
2225 pytestCheckHook
2326 ];
2427
28+ disabledTests = [
29+ # Test is failing as the test is dynamic
30+ # https://github.com/sendgrid/python-http-client/issues/153
31+ "test__daterange"
32+ ];
33+
2534 pythonImportsCheck = [
2635 "python_http_client"
2736 ];