python311Packages.google-cloud-translate: 3.12.1 -> 3.13.0

Changelog: https://github.com/googleapis/python-translate/blob/v3.13.0/CHANGELOG.md
This commit is contained in:
Fabian Affolter
2024-02-23 11:29:56 +01:00
parent f305ff3011
commit da5d797be0
@@ -10,20 +10,25 @@
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-cloud-translate";
version = "3.12.1";
format = "setuptools";
version = "3.13.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Zhy4h5qjxjovclo+po+QGZvTVMlcoWnMLoOlEFmH0p4=";
hash = "sha256-H49Kk6SUEwS3JQt/jwtHibbuvFQ9aI+E3fIZQ5Jxs+k=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
google-api-core
google-cloud-core
@@ -34,8 +39,8 @@ buildPythonPackage rec {
nativeCheckInputs = [
google-cloud-testutils
mock
pytestCheckHook
pytest-asyncio
pytestCheckHook
];
preCheck = ''
@@ -50,6 +55,11 @@ buildPythonPackage rec {
"google.cloud.translate_v3beta1"
];
disabledTests = [
# Tests require PROJECT_ID
"test_list_glossaries"
];
meta = with lib; {
description = "Google Cloud Translation API client library";
homepage = "https://github.com/googleapis/python-translate";