Skip to content

Conversation

@release-please
Copy link
Contributor

@release-please release-please bot commented Aug 6, 2024

🤖 I have created a release beep boop

3.11.1 (2024-08-06)

Bug Fixes


This PR was generated with Release Please. See documentation.

@release-please release-please bot requested review from a team as code owners August 6, 2024 21:17
@release-please release-please bot requested review from cindy-peng and dandhlee August 6, 2024 21:17
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Aug 6, 2024
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: logging Issues related to the googleapis/python-logging API. labels Aug 6, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 6, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 6, 2024
@gkevinzheng gkevinzheng added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 6, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 6, 2024
@gkevinzheng gkevinzheng enabled auto-merge (squash) August 6, 2024 22:04
@gkevinzheng gkevinzheng merged commit 5fcdbb6 into main Aug 6, 2024
@gkevinzheng gkevinzheng deleted the release-please--branches--main branch August 6, 2024 22:08
@release-please
Copy link
Contributor Author

release-please bot commented Aug 6, 2024

🤖 Created releases:

@release-trigger
Copy link

Triggered job: cloud-devrel/client-libraries/python/googleapis/python-logging/release/release (2024-08-06T22:08:32.116Z)

To trigger again, remove the autorelease: triggered label (in a few minutes).

@release-tool-publish-reporter
Copy link

The release build has started, the log can be viewed here. 🌻

@release-tool-publish-reporter
Copy link

🥚 You hatched a release! The release build finished successfully! 💜

@ZombieSocrates
Copy link

Hi there, I just wanted to note that google-cloud-logging==3.11.1 is still incompatible with protobuf 5.x.x. We recently tried to use this release in a project, and because of the subsidiary dependency on google-cloud-audit-log we still received a protobuf incompatibility error and were told that we needed to downgrade the protobuf package to 3.20.x or lower ....

 Traceback (most recent call last):
  File "/app/.venv/lib/python3.11/site-packages/etp/__init__.py", line 26, in <module>
    import google.cloud.logging
  [ ... log lines omitted for clarity ... ]
  File "/app/.venv/lib/python3.11/site-packages/google/cloud/logging_v2/entries.py", line 31, in <module>
    import google.cloud.audit.audit_log_pb2  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.11/site-packages/google/cloud/audit/audit_log_pb2.py", line 62, in <module>
    _descriptor.FieldDescriptor(
  File "/app/.venv/lib/python3.11/site-packages/google/protobuf/descriptor.py", line 621, in __new__
    _message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
 
More information:
https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Seems related to this open issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: logging Issues related to the googleapis/python-logging API. autorelease: published size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants