Skip to content
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 and grpcio dependencies #261

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

llucax
Copy link
Contributor

@llucax llucax commented Sep 18, 2024

The protobuf version 4.25.x will go out of support soon(ish), on 31 Mar 2025. Since we don't need to keep compatibility to any legacy code, we can bump it in advance as a preparation.

The googleapis-common-protos version was also bumped to 1.65.0, as the previous version was too old to work with the new protobuf version.

https://protobuf.dev/support/version-support/#python

Signed-off-by: Leandro Lucarella <[email protected]>
@llucax llucax requested review from a team as code owners September 18, 2024 07:28
@llucax llucax requested review from andrew-stevenson-frequenz and daniel-zullo-frequenz and removed request for a team September 18, 2024 07:28
@llucax llucax self-assigned this Sep 18, 2024
@github-actions github-actions bot added part:docs Affects the documentation part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) labels Sep 18, 2024
@llucax
Copy link
Contributor Author

llucax commented Sep 18, 2024

This is technically a breaking change, so we might want to wait to merge it if there are any planned fix releases for v0.17.x.

@llucax llucax added type:tech-debt Improves the project without visible changes for users scope:breaking-change Breaking change, users will need to update their code labels Sep 18, 2024
@llucax llucax added this to the v0.18.0 milestone Sep 18, 2024
The `protobuf` version 4.25.x will go out of support soon(ish), on 31
Mar 2025. Since we don't need to keep compatibility to any legacy code,
we can bump it in advance as a preparation.

The `googleapis-common-protos` version was also bumped to 1.65.0, as the
previous version was too old to work with the new `protobuf` version.

https://protobuf.dev/support/version-support/#python

Signed-off-by: Leandro Lucarella <[email protected]>
@llucax
Copy link
Contributor Author

llucax commented Sep 18, 2024

@tiyash-basu-frequenz does the approval means it is ok to merge now?

@tiyash-basu-frequenz
Copy link
Contributor

Yep, it's ok to merge it, since it does not touch proto files.

@llucax
Copy link
Contributor Author

llucax commented Sep 18, 2024

But Python-wise is technically a breaking change, so it shouldn't be released as v0.17.x. This is where having binding and spec files start to get really messy 😬

I guess since we are in pre-1.0 and it is a minor breaking change (you just need to bump deps) it might be OK to make an exception and release in v0.17.x if needed too.

@llucax llucax added this pull request to the merge queue Sep 18, 2024
Merged via the queue into frequenz-floss:v0.x.x with commit 8f4e4f8 Sep 18, 2024
12 checks passed
@llucax llucax deleted the bump-protobuf branch September 18, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part:docs Affects the documentation part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) scope:breaking-change Breaking change, users will need to update their code type:tech-debt Improves the project without visible changes for users
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants