dependabot[bot] opened a new pull request, #818:
URL: https://github.com/apache/hudi-rs/pull/818

   Bumps [mypy](https://github.com/python/mypy) from 2.3.1 to 2.4.0.
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a 
href="https://github.com/python/mypy/blob/master/CHANGELOG.md";>mypy's 
changelog</a>.</em></p>
   <blockquote>
   <h1>Mypy Release Notes</h1>
   <h2>Next Release</h2>
   <h2>Mypy 2.4</h2>
   <p>We've just uploaded mypy 2.4.0 to the Python Package Index (<a 
href="https://pypi.org/project/mypy/";>PyPI</a>).
   Mypy is a static type checker for Python. This release includes new 
features, performance
   improvements and bug fixes. You can install it as follows:</p>
   <pre><code>python3 -m pip install -U mypy
   </code></pre>
   <p>You can read the full documentation for this release on <a 
href="http://mypy.readthedocs.io";>Read the Docs</a>.</p>
   <h3>Python 3.15 Support</h3>
   <p>Mypy 2.4 supports running on Python 3.15 and type checking most Python
   3.15 features. This includes the new builtin <code>sentinel</code> type for
   sentinel values (PEP 661), which mypy now supports (see below for
   details). Lazy imports (PEP 810) and unpacking in comprehensions
   (PEP 798) are also supported. Closed TypedDicts (PEP 728) have been
   supported since mypy 2.2, but the <code>extra_items</code> TypedDict 
argument,
   also introduced in PEP 728, is still unsupported. Support for
   <code>extra_items</code> will be added in a future mypy release.</p>
   <h3>Native Parser Enabled by Default</h3>
   <p>Mypy now uses the new native parser by default. It's based on the Ruff
   parser, and it's significantly faster than the legacy parser, which
   uses the stdlib <code>ast</code> module. The native parser also has other
   benefits:</p>
   <ul>
   <li>You can target newer Python versions and use recent Python syntax
   even when running mypy on an older Python version. For example, you
   can use <code>--python-version 3.15</code> when running mypy on Python 
3.14.</li>
   <li>Stub files can use syntax that is newer than the target Python
   version. For example, stubs can use the PEP 695 generic class syntax
   (<code>class Box[T]: ...</code>) when running on or targeting Python 
3.10.</li>
   <li>Parallel type checking requires the native parser.</li>
   </ul>
   <p>The legacy parser is still available through 
<code>--no-native-parser</code>, or
   <code>native_parser = False</code> in the config file (<code>native_parser = 
false</code>
   under <code>[tool.mypy]</code> in pyproject.toml). We are planning to remove 
the
   legacy parser in early 2027. If you run into a problem with the native
   parser, please report it on the
   <a href="https://github.com/python/mypy/issues";>issue tracker</a>.</p>
   <p>Unlike the legacy parser, the native parser doesn't support type
   comments for variables defined by <code>for</code> and <code>with</code> 
statements. These
   type comments are silently ignored, and the types of the variables are</p>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/python/mypy/commit/935ba8afba7ceacca0651579450c74339f343016";><code>935ba8a</code></a>
 Bump version to 2.4.0</li>
   <li><a 
href="https://github.com/python/mypy/commit/334a678967dc6bcda3d3f8cb82e253dd61fa2be9";><code>334a678</code></a>
 Add link for PR 22066 in mypy 2.4 changelog (<a 
href="https://redirect.github.com/python/mypy/issues/22082";>#22082</a>)</li>
   <li><a 
href="https://github.com/python/mypy/commit/fe69660bcdaa76cccb1aedbb4b9c1c7627215571";><code>fe69660</code></a>
 Finalize mypy 2.4 changelog (<a 
href="https://redirect.github.com/python/mypy/issues/22080";>#22080</a>)</li>
   <li><a 
href="https://github.com/python/mypy/commit/541fd87ac53581fb3c511b277fd780ec4e869c95";><code>541fd87</code></a>
 Various mypy 2.4 changelog updates (<a 
href="https://redirect.github.com/python/mypy/issues/22077";>#22077</a>)</li>
   <li><a 
href="https://github.com/python/mypy/commit/b231182c0b2993918f74594236bda7d3ec6fcbe5";><code>b231182</code></a>
 Update native parser docs (<a 
href="https://redirect.github.com/python/mypy/issues/22078";>#22078</a>)</li>
   <li><a 
href="https://github.com/python/mypy/commit/04fe42ce217f120a4de2c1fd62b71ef77452d699";><code>04fe42c</code></a>
 Initial Changelog for Mypy 2.4 (<a 
href="https://redirect.github.com/python/mypy/issues/22071";>#22071</a>)</li>
   <li><a 
href="https://github.com/python/mypy/commit/06174941bca0e88567441ee3cb0ffaef0dd22e2c";><code>0617494</code></a>
 Quick fix for non UTF-8 encodings with new parser (<a 
href="https://redirect.github.com/python/mypy/issues/22066";>#22066</a>)</li>
   <li><a 
href="https://github.com/python/mypy/commit/b2f9b60eae5ac7cd9c6a60650b128815bb703daf";><code>b2f9b60</code></a>
 Bump librt to 0.16.0 (<a 
href="https://redirect.github.com/python/mypy/issues/22067";>#22067</a>)</li>
   <li><a 
href="https://github.com/python/mypy/commit/9d798dcb9589f9bd62e625a97d8db23ad9a678fa";><code>9d798dc</code></a>
 Sync typeshed (<a 
href="https://redirect.github.com/python/mypy/issues/22054";>#22054</a>)</li>
   <li><a 
href="https://github.com/python/mypy/commit/0861bb6450d6d3658e44dbca9cd2ba478faf3c1d";><code>0861bb6</code></a>
 Reduce max protocol stack size to 20 (<a 
href="https://redirect.github.com/python/mypy/issues/22053";>#22053</a>)</li>
   <li>Additional commits viewable in <a 
href="https://github.com/python/mypy/compare/v2.3.1...v2.4.0";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mypy&package-manager=pip&previous-version=2.3.1&new-version=2.4.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