Skip to content

chore(deps): update dependency mypy-protobuf to v5#43

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/mypy-protobuf-5.x
Open

chore(deps): update dependency mypy-protobuf to v5#43
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/mypy-protobuf-5.x

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate bot commented Jan 20, 2026

This PR contains the following updates:

Package Change Age Confidence
mypy-protobuf 3.3.05.0.0 age confidence

Release Notes

nipunn1313/mypy-protobuf (mypy-protobuf)

v5.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

v4.0.0

Compare Source

  • 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

v3.7.0

Compare Source

  • 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

v3.6.0

Compare Source

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

v3.5.0

Compare Source

  • 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.)

v3.4.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants