googleapis / googleapis/google-cloud-python

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

Aperta
#15,376 2 commenti 0 reazioni 1 assegnatario Assegnata a @daniel-sanche Vedi su GitHub
api: firestore priority: p3 type: cleanup
Lingua principale
Python
Stelle
5.4k
Fork
1.8k
Merge medio
3g 4h
PR unite (30g)
122

Descrizione

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
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.