Title: Updating the pubsub client breaks because it needs a newer version of protobuf · Issue #48 · googleapis/python-api-core · GitHub
Open Graph Title: Updating the pubsub client breaks because it needs a newer version of protobuf · Issue #48 · googleapis/python-api-core
X Title: Updating the pubsub client breaks because it needs a newer version of protobuf · Issue #48 · googleapis/python-api-core
Description: Environment details OS type and version: Windows 10 Python version: 3.6.9 pip version: 20.0.2 google-api-core version: 1.16.0 Steps to reproduce Install google-cloud-pubsub==1.6.0 and protobuf==3.10.0 Import the PushConfig object to crea...
Open Graph Description: Environment details OS type and version: Windows 10 Python version: 3.6.9 pip version: 20.0.2 google-api-core version: 1.16.0 Steps to reproduce Install google-cloud-pubsub==1.6.0 and protobuf==3.1...
X Description: Environment details OS type and version: Windows 10 Python version: 3.6.9 pip version: 20.0.2 google-api-core version: 1.16.0 Steps to reproduce Install google-cloud-pubsub==1.6.0 and protobuf==3.1...
Opengraph URL: https://github.com/googleapis/python-api-core/issues/48
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Updating the pubsub client breaks because it needs a newer version of protobuf","articleBody":"#### Environment details\r\n\r\n - OS type and version: Windows 10\r\n - Python version: 3.6.9\r\n - pip version: 20.0.2\r\n - `google-api-core` version: 1.16.0\r\n\r\n#### Steps to reproduce\r\n\r\n 1. Install google-cloud-pubsub==1.6.0 and protobuf==3.10.0\r\n 2. Import the PushConfig object to create a push topic\r\n\r\n#### Quick fix\r\nReinstalling protobuf fixes this issue, to my knowledge, 3.12 seems enough.\r\n\r\n#### Stack trace\r\n```\r\nTraceback (most recent call last):\r\n File \"C:\\Users\\Sollum\\AppData\\Local\\Programs\\Python\\Python36\\lib\\runpy.py\", line 193, in _run_module_as_main\r\n \"__main__\", mod_spec)\r\n File \"C:\\Users\\Sollum\\AppData\\Local\\Programs\\Python\\Python36\\lib\\runpy.py\", line 85, in _run_code\r\n exec(code, run_globals)\r\n File \"C:\\Users\\Sollum\\PycharmProjects\\sollumcloudplatform\\src\\main.py\", line 19, in \u003cmodule\u003e\r\n from src.procedures import create_app\r\n File \"C:\\Users\\Sollum\\PycharmProjects\\sollumcloudplatform\\src\\procedures.py\", line 15, in \u003cmodule\u003e\r\n from src.utils.decorators import memoize\r\n File \"C:\\Users\\Sollum\\PycharmProjects\\sollumcloudplatform\\src\\utils\\decorators.py\", line 14, in \u003cmodule\u003e\r\n from google.cloud.pubsub_v1.proto.pubsub_pb2 import PushConfig\r\n File \"C:\\Users\\Sollum\\PycharmProjects\\sollumcloudplatform\\venv\\lib\\site-packages\\google\\cloud\\pubsub_v1\\__init__.py\", line 17, in \u003cmodule\u003e\r\n from google.cloud.pubsub_v1 import types\r\n File \"C:\\Users\\Sollum\\PycharmProjects\\sollumcloudplatform\\venv\\lib\\site-packages\\google\\cloud\\pubsub_v1\\types.py\", line 32, in \u003cmodule\u003e\r\n from google.cloud.pubsub_v1.proto import pubsub_pb2\r\n File \"C:\\Users\\Sollum\\PycharmProjects\\sollumcloudplatform\\venv\\lib\\site-packages\\google\\cloud\\pubsub_v1\\proto\\pubsub_pb2.py\", line 30, in \u003cmodule\u003e\r\n create_key=_descriptor._internal_create_key,\r\nAttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'\r\n```\r\n","author":{"url":"https://github.com/BinarSkugga","@type":"Person","name":"BinarSkugga"},"datePublished":"2020-06-12T23:29:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/48/python-api-core/issues/48"}
| 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:e5e5c8bc-2eea-4a72-c85d-e915282cbb28 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 804C:AF773:17E626D:210D116:6A4EA85D |
| html-safe-nonce | 3e3bc761d4f46c73187afe48bf8ee030c43dc95a38ebebaf5af9f6899bc8d9c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDRDOkFGNzczOjE3RTYyNkQ6MjEwRDExNjo2QTRFQTg1RCIsInZpc2l0b3JfaWQiOiI2ODUxODk4MDg5NDQwOTc5MDM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 457987c49c35ca4f98aef6379a446b02a2908d2703fcf3f99a5b71744305736e |
| hovercard-subject-tag | issue:638048807 |
| 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-api-core/48/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2902d0e5697a8bfa6614e13da10ca858082d4cddb38c2c8fb49a2edb754511f6/googleapis/python-api-core/issues/48 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2902d0e5697a8bfa6614e13da10ca858082d4cddb38c2c8fb49a2edb754511f6/googleapis/python-api-core/issues/48 |
| og:image:alt | Environment details OS type and version: Windows 10 Python version: 3.6.9 pip version: 20.0.2 google-api-core version: 1.16.0 Steps to reproduce Install google-cloud-pubsub==1.6.0 and protobuf==3.1... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BinarSkugga |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-api-core git https://github.com/googleapis/python-api-core.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992456 |
| octolytics-dimension-repository_nwo | googleapis/python-api-core |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992456 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-api-core |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width