Merge pull request #290841 from fabaff/google-cloud-translate-bump
python311Packages.google-cloud-translate: 3.14.0 -> 3.15.2
This commit is contained in:
@@ -10,20 +10,25 @@
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-translate";
|
||||
version = "3.12.1";
|
||||
format = "setuptools";
|
||||
version = "3.15.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Zhy4h5qjxjovclo+po+QGZvTVMlcoWnMLoOlEFmH0p4=";
|
||||
hash = "sha256-bUwkR7wviOxeDTpneMPYX6s22iFLk4SxBlmyno259ZQ=";
|
||||
};
|
||||
|
||||
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";
|
||||
|
||||
Reference in New Issue
Block a user