Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2026

Updates the requirements on mypy-protobuf to permit the latest version.

Changelog

Sourced from mypy-protobuf's changelog.

4.0.0

  • BREAKING: Drop support for py_generic_services as it was removed from the protobuf compiler starting in version 6.30
  • Drop testing support for protobuf <6.32 because they don't support editions
    • With some more work this could be added back in a testing refactor
    • Protobuf <6.32 still had the edition enums and field options, so it should still work. But is untested
  • Add support for editions (up to 2024)
  • Add generate_concrete_servicer_stubs option to generate concrete instead of abstract servicer stubs
  • Add sync_only/async_only options to generate only sync or async version of GRPC stubs
  • Switch to types-grpcio instead of no longer maintained grpc-stubs
  • Add _HasFieldArgType and _ClearFieldArgType aliases to allow for typing field manipulation functions
  • Add _WhichOneofArgType_<oneof_name> and _WhichOneofReturnType_<oneof_name> type aliases
  • Use __new__ overloads for async stubs instead of TypeVar based __init__ overloads.
  • Support file level field presence feature setting

3.7.0

  • Mark top-level mangled identifiers as TypeAlias.
  • Change the top-level mangling prefix from global___ to Global___ to respect Y042 naming convention.
  • Support client stub async typing overloads
  • Support PEP702 deprecations
    • Message deprecations are supported
    • Field deprecations are not. This may be possible with init overloads
    • Service deprecations are supported for Sync stubs
      • Not for async stubs
    • Enum message deprecation is supported
      • Enum field deprecation is not
  • Drop Python 3.8 testing. Newer protobuf versions are incompatible. Generated code may still work

3.6.0

  • Remove 3.7 compatibility for typing_extensions.final/Literal
  • Bump protobuf to 4.25.3

3.5.0

  • Add gRPC aio stub and servicer generation (#489)
  • Bump tested dependencies to pyright==1.1.319, mypy==1.4.1, protobuf==4.23.4, grpcio-tools==1.56.2
  • Drop support for py 3.7. Add support for py 3.11.
  • Don't add unnecessary flake8 noqa F821 comments. (Become compatible with flake8-pyi>=23.5.0.)

3.4.0

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) type:tech-debt Improves the project without visible changes for users labels Jan 1, 2026
@dependabot dependabot bot requested a review from a team as a code owner January 1, 2026 03:04
@dependabot dependabot bot added the type:tech-debt Improves the project without visible changes for users label Jan 1, 2026
@dependabot dependabot bot requested review from ela-kotulska-frequenz and removed request for a team January 1, 2026 03:04
@github-actions github-actions bot added the tool:auto-merged Auto-approved Dependabot PRs label Jan 1, 2026
github-actions[bot]
github-actions bot previously approved these changes Jan 1, 2026
@github-actions github-actions bot enabled auto-merge January 1, 2026 03:04
@llucax
Copy link
Contributor

llucax commented Jan 15, 2026

@dependabot rebase

Updates the requirements on [mypy-protobuf](https://github.com/nipunn1313/mypy-protobuf) to permit the latest version.
- [Changelog](https://github.com/nipunn1313/mypy-protobuf/blob/main/CHANGELOG.md)
- [Commits](nipunn1313/mypy-protobuf@v3.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: mypy-protobuf
  dependency-version: 4.0.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/mypy-protobuf-gte-3.0.0-and-lt-5 branch from a43173e to af44767 Compare January 15, 2026 09:01
github-actions[bot]
github-actions bot previously approved these changes Jan 15, 2026
@llucax
Copy link
Contributor

llucax commented Jan 15, 2026

Damn, I would like to include this in the release to be more forward-compatibility, but it is failing. I'll try to see if it is an easy fix.

The previous versions were inconsistent, as the runtime version was too
new (6) for the build version (5). Normally Protobuf should be
compatible between 2 consecutive major versions, but it seems this is
not the case for these versions, as we got build failures saying the
codegen version was newer than the runtime version.

In any case, for new projects it should be OK and desired to use the
latest versions, so we just do that.

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
@github-actions github-actions bot added the part:template Affects the cookiecutter template files label Jan 15, 2026
@llucax llucax added the cmd:skip-release-notes It is not necessary to update release notes for this PR label Jan 15, 2026
@llucax
Copy link
Contributor

llucax commented Jan 15, 2026

I added a fix, can anyone else approve?

@github-actions github-actions bot added this pull request to the merge queue Jan 15, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Jan 15, 2026
@Marenz Marenz added this pull request to the merge queue Jan 15, 2026
Merged via the queue into v0.x.x with commit a72bd53 Jan 15, 2026
9 of 10 checks passed
@Marenz Marenz deleted the dependabot/pip/mypy-protobuf-gte-3.0.0-and-lt-5 branch January 15, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmd:skip-release-notes It is not necessary to update release notes for this PR part:template Affects the cookiecutter template files part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) tool:auto-merged Auto-approved Dependabot PRs 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