python312Packages.ovh: 1.1.2 -> 1.2.0

Changelog: https://github.com/ovh/python-ovh/blob/v1.2.0/CHANGELOG.md

+16 -4
+16 -4
pkgs/development/python-modules/ovh/default.nix
··· 5 5 pytestCheckHook, 6 6 pythonOlder, 7 7 requests, 8 + requests-oauthlib, 9 + setuptools, 8 10 }: 9 11 10 12 buildPythonPackage rec { 11 13 pname = "ovh"; 12 - version = "1.1.2"; 13 - format = "setuptools"; 14 + version = "1.2.0"; 15 + pyproject = true; 14 16 15 17 disabled = pythonOlder "3.7"; 16 18 17 19 src = fetchPypi { 18 20 inherit pname version; 19 - hash = "sha256-Yarx6ymS/Vr4Gbpa3Qgmbp7eLgAkUeOhYGpMNn3aoE8="; 21 + hash = "sha256-0xHwjsF7YsxhIWs9rPA+6J+VodqQNqWV2sKfydeYuCc="; 20 22 }; 21 23 22 - propagatedBuildInputs = [ requests ]; 24 + build-system = [ setuptools ]; 25 + 26 + dependencies = [ 27 + requests 28 + requests-oauthlib 29 + ]; 23 30 24 31 nativeCheckInputs = [ pytestCheckHook ]; 25 32 ··· 32 39 "test_config_from_invalid_ini_file" 33 40 "test_config_from_only_one_file" 34 41 "test_endpoints" 42 + # Tests require API key 43 + "test_config_oauth2" 44 + "test_config_invalid_both" 45 + "test_config_invalid_oauth2" 46 + "test_config_incompatible_oauth2" 35 47 ]; 36 48 37 49 meta = with lib; {