python312Packages.linode-api: fix dependencies and tests (#337909)

This commit is contained in:
Peder Bergebakken Sundt 2024-09-08 04:58:01 +02:00 committed by GitHub
commit 249b6eca48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,8 +5,10 @@
pythonOlder,
setuptools,
requests,
polling,
pytestCheckHook,
mock,
httpretty,
}:
buildPythonPackage rec {
@ -26,11 +28,20 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ requests ];
propagatedBuildInputs = [
requests
polling
];
nativeCheckInputs = [
mock
pytestCheckHook
mock
httpretty
];
disabledTestPaths = [
# needs api token
"test/integration"
];
pythonImportsCheck = [ "linode_api4" ];