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
@@ -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" ];