惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
罗磊的独立博客
The GitHub Blog
The GitHub Blog
V
V2EX
Last Week in AI
Last Week in AI
博客园 - 聂微东
MyScale Blog
MyScale Blog
美团技术团队
L
LangChain Blog
博客园 - Franky
腾讯CDC
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园_首页
S
SegmentFault 最新的问题
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Stack Overflow Blog
Stack Overflow Blog
量子位
小众软件
小众软件
宝玉的分享
宝玉的分享
J
Java Code Geeks
Google DeepMind News
Google DeepMind News
D
Docker
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - python-google-cloud-speech
2026-06-23 · via AUR Newest Packages

python-pytest-asyncio is also required now:

diff --git a/PKGBUILD b/PKGBUILD
index d603114..4cb33fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_
 sha256sums=('3a445a033cc7772f7d073c03142a7e80048415db42981372c6b81edc76a1e27a')
 depends=('python' 'python-google-api-core' 'python-grpcio' 'python-grpcio-status' 'python-google-auth' 'python-proto-plus' 'python-protobuf')
 makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
-checkdepends=('python-pytest')
+checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-cryptography')

 build() {
   cd "${srcdir}"/${_name//-/_}-${pkgver}

Hi, @megaminezghal. I'm getting errors in check() from missing the cryptography library, which is optional for google-auth but required in the tests here. Could you take a look at this?

Single test (example)
ImportError while importing test module '/build/python-google-cloud-speech/src/google_cloud_speech-2.36.0/tests/unit/test_helpers.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.14/site-packages/_pytest/python.py:498: in importtestmodule
    mod = import_path(
/usr/lib/python3.14/site-packages/_pytest/pathlib.py:587: in import_path
    importlib.import_module(module_name)
/usr/lib/python3.14/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1398: in _gcd_import
    ???
<frozen importlib._bootstrap>:1371: in _find_and_load
    ???
<frozen importlib._bootstrap>:1342: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:938: in _load_unlocked
    ???
/usr/lib/python3.14/site-packages/_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
tests/unit/test_helpers.py:22: in <module>
    from google.cloud.speech_v1 import SpeechClient, types
google/cloud/speech_v1/__init__.py:31: in <module>
    from .services.adaptation import AdaptationAsyncClient, AdaptationClient
google/cloud/speech_v1/services/adaptation/__init__.py:16: in <module>
    from .async_client import AdaptationAsyncClient
google/cloud/speech_v1/services/adaptation/async_client.py:33: in <module>
    from google.api_core import gapic_v1
/usr/lib/python3.14/site-packages/google/api_core/gapic_v1/__init__.py:18: in <module>
    from google.api_core.gapic_v1 import method
/usr/lib/python3.14/site-packages/google/api_core/gapic_v1/method.py:24: in <module>
    from google.api_core import grpc_helpers
/usr/lib/python3.14/site-packages/google/api_core/grpc_helpers.py:27: in <module>
    import google.auth.transport.grpc
/usr/lib/python3.14/site-packages/google/auth/transport/grpc.py:23: in <module>
    from google.oauth2 import service_account
/usr/lib/python3.14/site-packages/google/oauth2/service_account.py:78: in <module>
    from google.auth import _service_account_info
/usr/lib/python3.14/site-packages/google/auth/_service_account_info.py:20: in <module>
    from google.auth import crypt
/usr/lib/python3.14/site-packages/google/auth/crypt/__init__.py:41: in <module>
    from google.auth.crypt import es
/usr/lib/python3.14/site-packages/google/auth/crypt/es.py:21: in <module>
    import cryptography.exceptions
E   ModuleNotFoundError: No module named 'cryptography'