git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #154725 from fabaff/fix-python-http-client

python3Packages.python-http-client: disable failing test

commit63ce4456bfdebd8c12ec5de3dc91601e1af276ef authorFabian Affolter <fabian@affolter-engineering.ch> dateWed 12 Jan 2022, 13:56 (5 years ago) parent282a84e1c6c231
1 file changed+9
pkgs/development/python-modules/python-http-client/default.nix+9
pkgs/development/python-modules/python-http-client/default.nix+9
@@ -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 ];