Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps mypy-protobuf from 3.5.0 to 5.0.0.

Changelog

Sourced from mypy-protobuf's changelog.

5.0.0

  • Use builtins.property to handle conflicts with fields named property
  • Mangle all non provided message type imports, this prevents conflicts with field names like collections, builtins, etc.
    • Do not mangle message imports, as that would be a breaking change.
  • BREAKING: Refactor import statements
    • Move to model similar to protoc pyi generator. This prevents name collisions in field names
      • from test.a.b import c as _c
      • If multiple names collied, append _{count}
        • from test.a.x import c as _c_1
    • Fix bug in duplicate package name imports
  • Export stub methods as properties instead of attributes if deprecated and mark as such
  • Export enum fields as properties on class level (not module level) enums if deprecated and mark as such
  • Export fields as properties with getters/setters if deprecated and mark as such

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

... (truncated)

Commits

Dependabot compatibility score

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)

Bumps [mypy-protobuf](https://github.com/nipunn1313/mypy-protobuf) from 3.5.0 to 5.0.0.
- [Changelog](https://github.com/nipunn1313/mypy-protobuf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nipunn1313/mypy-protobuf/commits)

---
updated-dependencies:
- dependency-name: mypy-protobuf
  dependency-version: 5.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python labels Jan 14, 2026
@github-actions
Copy link
Contributor

Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers

@damccorm
Copy link
Contributor

Many failing checks - this probably needs more dedicated attention to perform this upgrade

@damccorm damccorm closed this Jan 26, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 26, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/sdks/python/mypy-protobuf-5.0.0 branch January 26, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant