Skip to content

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

Open
@parthea

Description

@parthea

See build log here 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: <coroutine object UnaryUnaryCall._invoke at 0x7f0eb26a5380>
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

Metadata

Metadata

Assignees

Labels

api: firestoreIssues related to the googleapis/python-firestore API.priority: p3Desirable enhancement or fix. May not be included in next release.type: cleanupAn internal cleanup or hygiene concern.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions