-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Labels
api: loggingIssues related to the googleapis/python-logging API.Issues related to the googleapis/python-logging API.
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.11.2
Summary: Stackdriver Logging API client library
Home-page: https://github.com/googleapis/python-logging
Author: Google LLC
Author-email: [email protected]
License: Apache 2.0
Location: /usr/local/lib/python3.13/site-packages
Requires: 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
Required-by:
Steps to reproduce
docker run -it python:3.13.0 bash
pip install google-cloud-logging
python -c "import google.cloud.logging"
Code example
import google.cloud.logging
Stack trace
Traceback (most recent call last):
File "<string>", line 1, in <module>
import google.cloud.logging
File "/usr/local/lib/python3.13/site-packages/google/cloud/logging/__init__.py", line 18, in <module>
from google.cloud.logging_v2 import __version__
File "/usr/local/lib/python3.13/site-packages/google/cloud/logging_v2/__init__.py", line 21, in <module>
from google.cloud.logging_v2.client import Client
File "/usr/local/lib/python3.13/site-packages/google/cloud/logging_v2/client.py", line 25, in <module>
from google.cloud.logging_v2._helpers import _add_defaults_to_filter
File "/usr/local/lib/python3.13/site-packages/google/cloud/logging_v2/_helpers.py", line 31, in <module>
from google.cloud.logging_v2.types import LogSeverity
File "/usr/local/lib/python3.13/site-packages/google/cloud/logging_v2/types/__init__.py", line 36, in <module>
from .logging_config import (
...<53 lines>...
)
File "/usr/local/lib/python3.13/site-packages/google/cloud/logging_v2/types/logging_config.py", line 2403, in <module>
class LocationMetadata(proto.Message):
...<11 lines>...
)
File "/usr/local/lib/python3.13/site-packages/proto/message.py", line 279, in __new__
file_info.generate_file_pb(new_class=cls, fallback_salt=full_name)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/proto/_file_info.py", line 104, in generate_file_pb
pool.Add(self.descriptor)
~~~~~~~~^^^^^^^^^^^^^^^^^
TypeError: Couldn't build proto file into descriptor pool: duplicate symbol 'google.logging.v2.__firstlineno__'
JPedersen, pierre-phntm and ilankessler
Metadata
Metadata
Assignees
Labels
api: loggingIssues related to the googleapis/python-logging API.Issues related to the googleapis/python-logging API.