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 pytestCheckHook, 6 pythonOlder, 7 requests, 8 }: 9 10 buildPythonPackage rec { 11 pname = "ovh"; 12 - version = "1.1.2"; 13 - format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 - hash = "sha256-Yarx6ymS/Vr4Gbpa3Qgmbp7eLgAkUeOhYGpMNn3aoE8="; 20 }; 21 22 - propagatedBuildInputs = [ requests ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 ··· 32 "test_config_from_invalid_ini_file" 33 "test_config_from_only_one_file" 34 "test_endpoints" 35 ]; 36 37 meta = with lib; {
··· 5 pytestCheckHook, 6 pythonOlder, 7 requests, 8 + requests-oauthlib, 9 + setuptools, 10 }: 11 12 buildPythonPackage rec { 13 pname = "ovh"; 14 + version = "1.2.0"; 15 + pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 + hash = "sha256-0xHwjsF7YsxhIWs9rPA+6J+VodqQNqWV2sKfydeYuCc="; 22 }; 23 24 + build-system = [ setuptools ]; 25 + 26 + dependencies = [ 27 + requests 28 + requests-oauthlib 29 + ]; 30 31 nativeCheckInputs = [ pytestCheckHook ]; 32 ··· 39 "test_config_from_invalid_ini_file" 40 "test_config_from_only_one_file" 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" 47 ]; 48 49 meta = with lib; {