dependabot[bot] opened a new pull request, #37159: URL: https://github.com/apache/beam/pull/37159
Bumps [mypy-protobuf](https://github.com/nipunn1313/mypy-protobuf) from 3.5.0 to 4.0.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/nipunn1313/mypy-protobuf/blob/main/CHANGELOG.md">mypy-protobuf's changelog</a>.</em></p> <blockquote> <h2>4.0.0</h2> <ul> <li>BREAKING: Drop support for <code>py_generic_services</code> as it was removed from the protobuf compiler starting in version 6.30 <ul> <li><a href="https://protobuf.dev/news/2024-10-02/#rpc-service-interfaces">https://protobuf.dev/news/2024-10-02/#rpc-service-interfaces</a></li> </ul> </li> <li>Drop testing support for protobuf <6.32 because they don't support editions <ul> <li>With some more work this could be added back in a testing refactor</li> <li>Protobuf <6.32 still had the edition enums and field options, so it <em>should</em> still work. But is untested</li> </ul> </li> <li>Add support for editions (up to 2024)</li> <li>Add <code>generate_concrete_servicer_stubs</code> option to generate concrete instead of abstract servicer stubs</li> <li>Add <code>sync_only</code>/<code>async_only</code> options to generate only sync or async version of GRPC stubs</li> <li>Switch to types-grpcio instead of no longer maintained grpc-stubs</li> <li>Add <code>_HasFieldArgType</code> and <code>_ClearFieldArgType</code> aliases to allow for typing field manipulation functions</li> <li>Add <code>_WhichOneofArgType_<oneof_name></code> and <code>_WhichOneofReturnType_<oneof_name></code> type aliases</li> <li>Use <code>__new__</code> overloads for async stubs instead of <code>TypeVar</code> based <code>__init__</code> overloads. <ul> <li><a href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/707">nipunn1313/mypy-protobuf#707</a></li> </ul> </li> <li>Support file level field presence feature setting</li> </ul> <h2>3.7.0</h2> <ul> <li>Mark top-level mangled identifiers as <code>TypeAlias</code>.</li> <li>Change the top-level mangling prefix from <code>global___</code> to <code>Global___</code> to respect <a href="https://github.com/PyCQA/flake8-pyi/blob/main/ERRORCODES.md#list-of-warnings">Y042</a> naming convention.</li> <li>Support client stub async typing overloads</li> <li>Support <a href="https://peps.python.org/pep-0702/">PEP702</a> deprecations <ul> <li>Message deprecations are supported</li> <li>Field deprecations are not. This may be possible with init overloads</li> <li>Service deprecations are supported for Sync stubs <ul> <li>Not for async stubs</li> </ul> </li> <li>Enum message deprecation is supported <ul> <li>Enum field deprecation is not</li> </ul> </li> </ul> </li> <li>Drop Python 3.8 testing. Newer protobuf versions are incompatible. Generated code may still work</li> </ul> <h2>3.6.0</h2> <ul> <li>Remove 3.7 compatibility for typing_extensions.final/Literal</li> <li>Bump protobuf to 4.25.3</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nipunn1313/mypy-protobuf/commit/7d68665906b16a0fa4e880af8bf940dc7492211a"><code>7d68665</code></a> prep 3.8.0 release (<a href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/715">#715</a>)</li> <li><a href="https://github.com/nipunn1313/mypy-protobuf/commit/7b20d4eeebb3a8161d2c0591fe66847a5909ba55"><code>7b20d4e</code></a> Support file level field presence feature setting (<a href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/717">#717</a>)</li> <li><a href="https://github.com/nipunn1313/mypy-protobuf/commit/f35584a0834f0e9d59efc44b2320eeabd6c43982"><code>f35584a</code></a> Add flags to generate only sync or only async stubs (<a href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/694">#694</a>)</li> <li><a href="https://github.com/nipunn1313/mypy-protobuf/commit/38362fb1c84c9203d49c6972a91b42ae3e7a2bd8"><code>38362fb</code></a> Overload <strong>new</strong> (<a href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/710">#710</a>)</li> <li><a href="https://github.com/nipunn1313/mypy-protobuf/commit/c89ee56b83af4e0068a96ebbeec67edf47abf80b"><code>c89ee56</code></a> Move to types-grpcio (<a href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/703">#703</a>)</li> <li><a href="https://github.com/nipunn1313/mypy-protobuf/commit/505e3a0ec601841c21e2b64d7ff458a5326325eb"><code>505e3a0</code></a> Aidan/clear has field type aliases (<a href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/696">#696</a>)</li> <li><a href="https://github.com/nipunn1313/mypy-protobuf/commit/6fa9547042d0396d9549172a5e476a40fb283c00"><code>6fa9547</code></a> Bump mypy from 1.14.1 to 1.19.0 (<a href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/700">#700</a>)</li> <li><a href="https://github.com/nipunn1313/mypy-protobuf/commit/5c7686d7635bb54e22264bf2b950ca6967fcaa81"><code>5c7686d</code></a> Bump pytest-asyncio from 0.24.0 to 0.25.3 (<a href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/674">#674</a>)</li> <li><a href="https://github.com/nipunn1313/mypy-protobuf/commit/caade91c9eea98c56a0cfad0b3c2bf1f0c3768a0"><code>caade91</code></a> Bump actions/checkout from 4 to 6 (<a href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/702">#702</a>)</li> <li><a href="https://github.com/nipunn1313/mypy-protobuf/commit/d86fe02674ab785d90925e54094f90db32793167"><code>d86fe02</code></a> Bump actions/setup-python from 5 to 6 (<a href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/701">#701</a>)</li> <li>Additional commits viewable in <a href="https://github.com/nipunn1313/mypy-protobuf/compare/v3.5.0...v4.0.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
