Title: Update system_test_python_versions to fix "ResourceWarning: unclosed event loop" errors from grpc · Issue #1095 · googleapis/python-pubsub · GitHub
Open Graph Title: Update system_test_python_versions to fix "ResourceWarning: unclosed event loop" errors from grpc · Issue #1095 · googleapis/python-pubsub
X Title: Update system_test_python_versions to fix "ResourceWarning: unclosed event loop" errors from grpc · Issue #1095 · googleapis/python-pubsub
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 py...
Open Graph 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.Pyt...
X 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.Pyt...
Opengraph URL: https://github.com/googleapis/python-pubsub/issues/1095
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Update system_test_python_versions to fix \"ResourceWarning: unclosed event loop\" errors from grpc","articleBody":"\r\n\r\n\r\n\r\n1. Tests failing after release of grpcio library: https://pypi.org/project/grpcio/1.62.0/#history\r\n2. Occuring because we use Python 3.10 but grpcio expects Python3.12\r\n\r\n\r\nError logs:\r\n\r\n```\r\n warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))\r\nE pytest.PytestUnraisableExceptionWarning: Exception ignored in: \u003csocket.socket fd=-1, family=1, type=1, proto=0\u003e\r\nE \r\nE Traceback (most recent call last):\r\nE File \"src/python/grpcio/grpc/_cython/_cygrpc/aio/common.pyx.pxi\", line 184, in grpc._cython.cygrpc.get_working_loop\r\nE RuntimeError: no running event loop\r\nE \r\nE During handling of the above exception, another exception occurred:\r\nE \r\nE Traceback (most recent call last):\r\nE File \"src/python/grpcio/grpc/_cython/_cygrpc/aio/common.pyx.pxi\", line 190, in grpc._cython.cygrpc.get_working_loop\r\nE File \"/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/asyncio/events.py\", line 697, in get_event_loop\r\nE warnings.warn('There is no current event loop',\r\nE DeprecationWarning: There is no current event loop\r\nE \r\nE During handling of the above exception, another exception occurred:\r\nE \r\nE Traceback (most recent call last):\r\nE File \"\u003cfrozen _collections_abc\u003e\", line 804, in get\r\nE ResourceWarning: unclosed \u003csocket.socket fd=26, family=1, type=1, proto=0\u003e\r\n\r\n```\r\n\r\n3. Sample [failure](https://github.com/googleapis/python-pubsub/actions/runs/8011050674/job/21883416693?pr=1087)\r\n\r\n4. Related issue created in grpc repo: https://github.com/grpc/grpc/issues/35974","author":{"url":"https://github.com/mukund-ananthu","@type":"Person","name":"mukund-ananthu"},"datePublished":"2024-02-22T22:15:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1095/python-pubsub/issues/1095"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:588b546f-dbd1-d4f7-9fb0-8645f452d97c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9002:1DC9FC:E1DD53:E71B89:6A4DC2F3 |
| html-safe-nonce | 2e10847f63248d7a81540b21b898de19a10c557985d977725910a9900148afee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDAyOjFEQzlGQzpFMURENTM6RTcxQjg5OjZBNERDMkYzIiwidmlzaXRvcl9pZCI6IjM0ODg2MzE0OTA1NDcxMzkzMTUiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | 0352823a7b30217adc07378ee7021b2ab4fa1bad52f5e9a3743c5725cd056796 |
| hovercard-subject-tag | issue:2150031743 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-pubsub/1095/issue_layout |
| twitter:image | https://opengraph.githubassets.com/116b3d4e4869dca7490643c1367dc0449f364c4b1fdeba6c65c39dd796b37230/googleapis/python-pubsub/issues/1095 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/116b3d4e4869dca7490643c1367dc0449f364c4b1fdeba6c65c39dd796b37230/googleapis/python-pubsub/issues/1095 |
| og:image:alt | 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.Pyt... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mukund-ananthu |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-pubsub git https://github.com/googleapis/python-pubsub.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992581 |
| octolytics-dimension-repository_nwo | googleapis/python-pubsub |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992581 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-pubsub |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width