Skip to content

Update mypy-protobuf requirement from ^3.0.0 to >=3,<5#1263

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

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

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 22, 2025

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)

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

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: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 Dec 22, 2025
@github-actions
Copy link

Dependency Review

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

Scanned Files

None

@kyegomez kyegomez merged commit c0d9478 into master Jan 2, 2026
9 of 21 checks passed
@dependabot dependabot bot deleted the dependabot/pip/mypy-protobuf-gte-3-and-lt-5 branch January 2, 2026 03:26
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