python312Packages.ovh: 1.1.2 -> 1.2.0 (#339291)

This commit is contained in:
Fabian Affolter 2024-09-04 09:18:19 +02:00 committed by GitHub
commit f1321e4e63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,21 +5,28 @@
pytestCheckHook,
pythonOlder,
requests,
requests-oauthlib,
setuptools,
}:
buildPythonPackage rec {
pname = "ovh";
version = "1.1.2";
format = "setuptools";
version = "1.2.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Yarx6ymS/Vr4Gbpa3Qgmbp7eLgAkUeOhYGpMNn3aoE8=";
hash = "sha256-0xHwjsF7YsxhIWs9rPA+6J+VodqQNqWV2sKfydeYuCc=";
};
propagatedBuildInputs = [ requests ];
build-system = [ setuptools ];
dependencies = [
requests
requests-oauthlib
];
nativeCheckInputs = [ pytestCheckHook ];
@ -32,6 +39,11 @@ buildPythonPackage rec {
"test_config_from_invalid_ini_file"
"test_config_from_only_one_file"
"test_endpoints"
# Tests require API key
"test_config_oauth2"
"test_config_invalid_both"
"test_config_invalid_oauth2"
"test_config_incompatible_oauth2"
];
meta = with lib; {