Title: proto-plus >= 1.25 needed for python 3.13 · Issue #944 · googleapis/python-logging · GitHub
Open Graph Title: proto-plus >= 1.25 needed for python 3.13 · Issue #944 · googleapis/python-logging
X Title: proto-plus >= 1.25 needed for python 3.13 · Issue #944 · googleapis/python-logging
Description: Environment details OS type and version: Debian Bookworm / Docker Python version: python --version 3.13.0 pip version: pip --version 24.2 google-cloud-logging version: pip show google-cloud-logging Name: google-cloud-logging Version: 3.1...
Open Graph Description: Environment details OS type and version: Debian Bookworm / Docker Python version: python --version 3.13.0 pip version: pip --version 24.2 google-cloud-logging version: pip show google-cloud-logging...
X Description: Environment details OS type and version: Debian Bookworm / Docker Python version: python --version 3.13.0 pip version: pip --version 24.2 google-cloud-logging version: pip show google-cloud-logging...
Opengraph URL: https://github.com/googleapis/python-logging/issues/944
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"proto-plus \u003e= 1.25 needed for python 3.13","articleBody":"#### Environment details\r\n\r\n - OS type and version: Debian Bookworm / Docker\r\n - Python version: `python --version` 3.13.0\r\n - pip version: `pip --version` 24.2\r\n - `google-cloud-logging` version: `pip show google-cloud-logging`\r\n\r\n```\r\nName: google-cloud-logging\r\nVersion: 3.11.2\r\nSummary: Stackdriver Logging API client library\r\nHome-page: https://github.com/googleapis/python-logging\r\nAuthor: Google LLC\r\nAuthor-email: googleapis-packages@google.com\r\nLicense: Apache 2.0\r\nLocation: /usr/local/lib/python3.13/site-packages\r\nRequires: google-api-core, google-auth, google-cloud-appengine-logging, google-cloud-audit-log, google-cloud-core, grpc-google-iam-v1, opentelemetry-api, proto-plus, protobuf\r\nRequired-by: \r\n```\r\n\r\n#### Steps to reproduce\r\n\r\n 1. `docker run -it python:3.13.0 bash`\r\n 2. `pip install google-cloud-logging`\r\n 3. `python -c \"import google.cloud.logging\"`\r\n\r\n#### Code example\r\n\r\n```python\r\nimport google.cloud.logging\r\n```\r\n\r\n#### Stack trace\r\n```\r\nTraceback (most recent call last):\r\n File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\r\n import google.cloud.logging\r\n File \"/usr/local/lib/python3.13/site-packages/google/cloud/logging/__init__.py\", line 18, in \u003cmodule\u003e\r\n from google.cloud.logging_v2 import __version__\r\n File \"/usr/local/lib/python3.13/site-packages/google/cloud/logging_v2/__init__.py\", line 21, in \u003cmodule\u003e\r\n from google.cloud.logging_v2.client import Client\r\n File \"/usr/local/lib/python3.13/site-packages/google/cloud/logging_v2/client.py\", line 25, in \u003cmodule\u003e\r\n from google.cloud.logging_v2._helpers import _add_defaults_to_filter\r\n File \"/usr/local/lib/python3.13/site-packages/google/cloud/logging_v2/_helpers.py\", line 31, in \u003cmodule\u003e\r\n from google.cloud.logging_v2.types import LogSeverity\r\n File \"/usr/local/lib/python3.13/site-packages/google/cloud/logging_v2/types/__init__.py\", line 36, in \u003cmodule\u003e\r\n from .logging_config import (\r\n ...\u003c53 lines\u003e...\r\n )\r\n File \"/usr/local/lib/python3.13/site-packages/google/cloud/logging_v2/types/logging_config.py\", line 2403, in \u003cmodule\u003e\r\n class LocationMetadata(proto.Message):\r\n ...\u003c11 lines\u003e...\r\n )\r\n File \"/usr/local/lib/python3.13/site-packages/proto/message.py\", line 279, in __new__\r\n file_info.generate_file_pb(new_class=cls, fallback_salt=full_name)\r\n ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"/usr/local/lib/python3.13/site-packages/proto/_file_info.py\", line 104, in generate_file_pb\r\n pool.Add(self.descriptor)\r\n ~~~~~~~~^^^^^^^^^^^^^^^^^\r\nTypeError: Couldn't build proto file into descriptor pool: duplicate symbol 'google.logging.v2.__firstlineno__'\r\n```\r\n","author":{"url":"https://github.com/johncarter-phntm","@type":"Person","name":"johncarter-phntm"},"datePublished":"2024-10-09T00:51:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/944/python-logging/issues/944"}
| 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:a9159fc8-71d9-23a7-d029-b46b47c31ed4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 94AC:6E493:E07B06:12DC920:6A4C5EF8 |
| html-safe-nonce | 906ad46debc9b16f640ca7a5c76c806385e43e6450f2eb0a6bca11ebe7d98386 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEFDOjZFNDkzOkUwN0IwNjoxMkRDOTIwOjZBNEM1RUY4IiwidmlzaXRvcl9pZCI6IjYyNDM1Mjk1NTE1MTk2NTk0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ec037c4f78ebf0e22a571f8db5add9d0fb815e340b5cb55d8a0d916d7f77cba6 |
| hovercard-subject-tag | issue:2574490529 |
| 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-logging/944/issue_layout |
| twitter:image | https://opengraph.githubassets.com/24311c6c3a741023f5c7d81ad0fadb0255091692a400c931ea033b00a34400ff/googleapis/python-logging/issues/944 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/24311c6c3a741023f5c7d81ad0fadb0255091692a400c931ea033b00a34400ff/googleapis/python-logging/issues/944 |
| og:image:alt | Environment details OS type and version: Debian Bookworm / Docker Python version: python --version 3.13.0 pip version: pip --version 24.2 google-cloud-logging version: pip show google-cloud-logging... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | johncarter-phntm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-logging git https://github.com/googleapis/python-logging.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992562 |
| octolytics-dimension-repository_nwo | googleapis/python-logging |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992562 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-logging |
| 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 | 14099438da5379150f15a2892474c7c7e6c0e55e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width