dependabot[bot] opened a new pull request, #38314:
URL: https://github.com/apache/beam/pull/38314

   Bumps [mypy-protobuf](https://github.com/nipunn1313/mypy-protobuf) from 
3.5.0 to 5.1.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>5.1.0</h2>
   <ul>
   <li>On fields without presence and non-oneofs, override typing for 
Has/ClearField and WhichOneof</li>
   <li>If file is deprecated, deprecate all messages, enums, services, 
fields</li>
   </ul>
   <h2>5.0.0</h2>
   <ul>
   <li>Use <code>builtins.property</code> to handle conflicts with fields named 
<code>property</code></li>
   <li>Mangle all non provided message type imports, this prevents conflicts 
with field names like <code>collections</code>, <code>builtins</code>, etc.
   <ul>
   <li>Do not mangle message imports, as that would be a breaking change.</li>
   </ul>
   </li>
   <li>BREAKING: Refactor import statements
   <ul>
   <li>Move to model similar to protoc pyi generator. This prevents name 
collisions in field names
   <ul>
   <li><code>from test.a.b import c as _c</code></li>
   <li>If multiple names collied, append <code>_{count}</code>
   <ul>
   <li><code>from test.a.x import c as _c_1</code></li>
   </ul>
   </li>
   </ul>
   </li>
   <li>Fix bug in duplicate package name imports</li>
   </ul>
   </li>
   <li>Export stub methods as properties instead of attributes if deprecated 
and mark as such</li>
   <li>Export enum fields as properties on class level (not module level) enums 
if deprecated and mark as such</li>
   <li>Export fields as properties with getters/setters if deprecated and mark 
as such</li>
   </ul>
   <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 &lt;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 &lt;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_&lt;oneof_name&gt;</code> and 
<code>_WhichOneofReturnType_&lt;oneof_name&gt;</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>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/nipunn1313/mypy-protobuf/commit/e92875b9ae3a123bfd7b1e249935a33ed7b16a34";><code>e92875b</code></a>
 prep 5.1.0 release (<a 
href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/725";>#725</a>)</li>
   <li><a 
href="https://github.com/nipunn1313/mypy-protobuf/commit/4e9458b6b424ca1ac65f72affe1d6a25561c2282";><code>4e9458b</code></a>
 Deprecate if file deprecation option is set (<a 
href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/724";>#724</a>)</li>
   <li><a 
href="https://github.com/nipunn1313/mypy-protobuf/commit/b3a563edd046efe12460a080f8d149400496efcf";><code>b3a563e</code></a>
 Add typing for Has/ClearField and WhichOneof when they aren't available (<a 
href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/723";>#723</a>)</li>
   <li><a 
href="https://github.com/nipunn1313/mypy-protobuf/commit/47fa102ae5d2bd2a1fdde2adf94cf006a3e939a4";><code>47fa102</code></a>
 Prep 5.0.0 release (<a 
href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/720";>#720</a>)</li>
   <li><a 
href="https://github.com/nipunn1313/mypy-protobuf/commit/d0a0ea96f3bddc8a3abc4b14174fb6b6e0c8b352";><code>d0a0ea9</code></a>
 Add additional deprecation support (<a 
href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/713";>#713</a>)</li>
   <li><a 
href="https://github.com/nipunn1313/mypy-protobuf/commit/9851ab87f51d8148600b09af315d9c446b43a084";><code>9851ab8</code></a>
 Add googleapis as test fodder (<a 
href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/716";>#716</a>)</li>
   <li><a 
href="https://github.com/nipunn1313/mypy-protobuf/commit/5f5a3ba62ae389e1ba850aacde4ad5c7abc8bfd4";><code>5f5a3ba</code></a>
 Move to pyproject.toml (<a 
href="https://redirect.github.com/nipunn1313/mypy-protobuf/issues/718";>#718</a>)</li>
   <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>Additional commits viewable in <a 
href="https://github.com/nipunn1313/mypy-protobuf/compare/v3.5.0...v5.1.0";>compare
 view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mypy-protobuf&package-manager=pip&previous-version=3.5.0&new-version=5.1.0)](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 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]

Reply via email to