-
Notifications
You must be signed in to change notification settings - Fork 214
Closed
Labels
api: pubsubIssues related to the googleapis/python-pubsub API.Issues related to the googleapis/python-pubsub API.
Description
- Tests failing after release of grpcio library: https://pypi.org/project/grpcio/1.62.0/#history
- Occuring because we use Python 3.10 but grpcio expects Python3.12
Error logs:
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=1, type=1, proto=0>
E
E Traceback (most recent call last):
E File "src/python/grpcio/grpc/_cython/_cygrpc/aio/common.pyx.pxi", line 184, in grpc._cython.cygrpc.get_working_loop
E RuntimeError: no running event loop
E
E During handling of the above exception, another exception occurred:
E
E Traceback (most recent call last):
E File "src/python/grpcio/grpc/_cython/_cygrpc/aio/common.pyx.pxi", line 190, in grpc._cython.cygrpc.get_working_loop
E File "/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/asyncio/events.py", line 697, in get_event_loop
E warnings.warn('There is no current event loop',
E DeprecationWarning: There is no current event loop
E
E During handling of the above exception, another exception occurred:
E
E Traceback (most recent call last):
E File "<frozen _collections_abc>", line 804, in get
E ResourceWarning: unclosed <socket.socket fd=26, family=1, type=1, proto=0>
-
Sample failure
-
Related issue created in grpc repo: ResourceWarning: unclosed <socket.socket fd=15, family=1, type=1, proto=0> grpc/grpc#35974
Metadata
Metadata
Assignees
Labels
api: pubsubIssues related to the googleapis/python-pubsub API.Issues related to the googleapis/python-pubsub API.