mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
python3Packages.python-http-client: disable failing test
This commit is contained in:
parent
ed89030b17
commit
1c6c231fe2
1 changed files with 9 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, mock
|
, mock
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -10,6 +11,8 @@ buildPythonPackage rec {
|
||||||
version = "3.3.4";
|
version = "3.3.4";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sendgrid";
|
owner = "sendgrid";
|
||||||
repo = "python-http-client";
|
repo = "python-http-client";
|
||||||
|
@ -22,6 +25,12 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# Test is failing as the test is dynamic
|
||||||
|
# https://github.com/sendgrid/python-http-client/issues/153
|
||||||
|
"test__daterange"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"python_http_client"
|
"python_http_client"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue