googleapis / googleapis/google-cloud-python

`prerelease_deps` session with `coroutine 'UnaryUnaryCall._invoke' was never awaited` with `pytest-asyncio>0.21.2`

Abierto
#15,376 2 comentarios 0 reacciones 1 asignado Asignado a @daniel-sanche Ver en GitHub
api: firestore priority: p3 type: cleanup
Lenguaje dominante
Python
Estrellas
5.4k
Forks
1.8k
Merge medio
3 d 4 h
PR fusionados (30 d)
122

Descripción

See build log [here](https://btx.cloud.google.com/invocations/ab643240-d58f-4e60-812b-30521d3b5065/log) where the presubmit `Kokoro Prerelease Dependencies` which runs the `prerelease_deps` nox session fails with `RuntimeWarning: coroutine 'UnaryUnaryCall._invoke' was never awaited`

The issue only appears when using `pytest-asyncio>0.21.2`

```
tests/system/test_system_async.py::test_or_query_in_transaction[None] ERROR [ 49%]
tests/system/test_system.py::test_collections[system-tests-named-db] Exception ignored in:
Traceback (most recent call last):
File "/usr/local/google/home/partheniou/.pyenv/versions/3.12.0/lib/python3.12/warnings.py", line 552, in _warn_unawaited_coroutine
warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
RuntimeWarning: coroutine 'UnaryUnaryCall._invoke' was never awaited
FAILED
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.