python312Packages.ovh: 1.1.2 -> 1.2.0

Changelog: https://github.com/ovh/python-ovh/blob/v1.2.0/CHANGELOG.md
This commit is contained in:
Fabian Affolter 2024-09-03 18:42:58 +02:00
parent 5b5931f371
commit dc89da7c16

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; {