Merge pull request #269741 from fabaff/google-cloud-speech-bump

python311Packages.google-cloud-speech: 2.21.1 -> 2.22.0
This commit is contained in:
Fabian Affolter 2023-11-25 09:05:30 +01:00 committed by GitHub
commit 12ee55e971
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,21 +13,24 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-speech"; pname = "google-cloud-speech";
version = "2.21.1"; version = "2.22.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-STU3XqrxhlblPiYxdwudV56Ay07Bs9Rt0jNG94mqAWo="; hash = "sha256-lZKKiYaS1+qgVWbVeiE464tbkjSxw8y3LFUgce0qOrA=";
}; };
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
proto-plus proto-plus
protobuf protobuf
setuptools
] ++ google-api-core.optional-dependencies.grpc; ] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [ nativeCheckInputs = [
@ -36,10 +39,9 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
disabledTestPaths = [ disabledTests = [
# Requrire credentials # Test requires project ID
"tests/system/gapic/v1/test_system_speech_v1.py" "test_list_phrase_set"
"tests/system/gapic/v1p1beta1/test_system_speech_v1p1beta1.py"
]; ];
pythonImportsCheck = [ pythonImportsCheck = [
@ -50,8 +52,8 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Cloud Speech API client library"; description = "Google Cloud Speech API client library";
homepage = "https://github.com/googleapis/python-speech"; homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-speech";
changelog = "https://github.com/googleapis/python-speech/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-speech-v${version}/packages/google-cloud-speech/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
}; };