diff options
Diffstat (limited to 'pkgs/development/python-modules/linode-api/default.nix')
-rw-r--r-- | pkgs/development/python-modules/linode-api/default.nix | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/linode-api/default.nix b/pkgs/development/python-modules/linode-api/default.nix index 67608a0a776d9..c05d3bbc75a20 100644 --- a/pkgs/development/python-modules/linode-api/default.nix +++ b/pkgs/development/python-modules/linode-api/default.nix @@ -5,13 +5,15 @@ pythonOlder, setuptools, requests, + polling, pytestCheckHook, mock, + httpretty, }: buildPythonPackage rec { pname = "linode-api"; - version = "5.13.1"; + version = "5.16.0"; pyproject = true; disabled = pythonOlder "3.6"; @@ -21,16 +23,25 @@ buildPythonPackage rec { owner = "linode"; repo = "python-linode-api"; rev = "refs/tags/v${version}"; - hash = "sha256-WB4CurdokRKh1eD6FZR2SeMpa3Z0BzLb0ldI7SYPEVI="; + hash = "sha256-B90BfuAqyncJPIvcni7bthiwSfmeL9CqeTYT1/y5TNY="; }; nativeBuildInputs = [ setuptools ]; - propagatedBuildInputs = [ requests ]; + propagatedBuildInputs = [ + requests + polling + ]; nativeCheckInputs = [ - mock pytestCheckHook + mock + httpretty + ]; + + disabledTestPaths = [ + # needs api token + "test/integration" ]; pythonImportsCheck = [ "linode_api4" ]; |