Skip to content

Update mypy-protobuf requirement from >=3,<5 to >=3,<6#1325

Merged
kyegomez merged 1 commit intomasterfrom
dependabot/pip/mypy-protobuf-gte-3-and-lt-6
Jan 19, 2026
Merged

Update mypy-protobuf requirement from >=3,<5 to >=3,<6#1325
kyegomez merged 1 commit intomasterfrom
dependabot/pip/mypy-protobuf-gte-3-and-lt-6

Conversation

@dependabot
Copy link
Contributor

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

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

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

📚 Documentation preview 📚: https://swarms--1325.org.readthedocs.build/en/1325/

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](https://github.com/nipunn1313/mypy-protobuf/commits)

---
updated-dependencies:
- dependency-name: mypy-protobuf
  dependency-version: 5.0.0
  dependency-type: direct:production
...

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

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@kyegomez kyegomez merged commit 576463c into master Jan 19, 2026
9 of 21 checks passed
@dependabot dependabot bot deleted the dependabot/pip/mypy-protobuf-gte-3-and-lt-6 branch January 19, 2026 14:38
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 Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant