-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump protobuf to 5.28.2 #124936
Bump protobuf to 5.28.2 #124936
Conversation
…' into protobuf_528
Looks like we still need a new
|
It looks like we have a new blocker https://github.com/sdb9696/firebase-messaging/blob/main/pyproject.toml @sdb9696 is the pin to less than 5 there because of an issue? |
The pin to Running |
I think it should be unblocked by the new release. I started the CI again |
script/gen_requirements_all.py
Outdated
@@ -157,7 +157,7 @@ | |||
|
|||
# protobuf must be in package constraints for the wheel | |||
# builder to build binary wheels | |||
protobuf==4.25.4 | |||
protobuf==5.28.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
protobuf==5.28.0 | |
protobuf==5.28.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI if running 5.28.2 it will emit 3 UserWarnings
when loading the ring integration due to this protobuf issue that has been fixed in main but not yet backported to 5.28.
I compiled against 5.28.0 and it should be fine to have runtime>compiler but not the other way round. It seems UserWarnings
are directed to the logger if I understand correctly which could cause user noise?
license check is due to #126753 |
verified ok with esphome, baf, cast |
Lets wait for 5.29 which will have this fix protocolbuffers/protobuf#18406 |
FYI the protobuf update will be required for the latest @sdb9696 Would it be possible to support protobuf |
We can merge this and not backport as it likely only affects ring and @sdb9696 already has a workaround in place |
I've been writing with @sdb9696 about it. He suggested that it might even be better to stay on |
So I've just yanked the 5.28 releases and released a new version of firebase-messaging with the original compilations and a pin |
With regard to whether to bump to 5.26 or 5.28, as I don't really know what changes are there in the schema between these versions, I'd say it's probably safer to do 5.26 first just in case it affects anyone/thing else (firebase-messaging not affected either way). I guess the whole RuntimeVersion thing is an attempt by google to manage breaking changes better. |
At some point we need to update anyways and there is likely no better time than at the top of the cycle so I marked this ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At some point we need to update anyways and there is likely no better time than at the top of the cycle so I marked this ready for review
Good point. Let's do this then. We can always revert back to 5.26.1
if we discover some issues.
wheels https://github.com/home-assistant/core/actions/runs/11034634098
https://github.com/protocolbuffers/protobuf/releases/tag/v28.2 is out now so we can go to that once unblocked
Proposed change
changelog: protocolbuffers/protobuf@v25.4...v28.2
Type of change
Additional information
Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
.To help with the load of incoming pull requests: