dependabot[bot] opened a new pull request, #603: URL: https://github.com/apache/hudi-rs/pull/603
Bumps [mypy](https://github.com/python/mypy) from 1.20.2 to 2.0.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.0</h2> <p>We’ve just uploaded mypy 2.0.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. There are also changes to options and defaults. 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>Enable <code>--local-partial-types</code> by Default</h3> <p>This flag affects the inference of types based on assignments in other scopes. For now, explicitly disabling this continues to be supported, but this support will be removed in the future as the legacy behaviour is hard to support with other current and future features in mypy, like the daemon or the new implementation of flexible redefinitions.</p> <p>Contributed by Ivan Levkivskyi, Jukka Lehtosalo, Shantanu in <a href="https://redirect.github.com/python/mypy/pull/21163">PR 21163</a>.</p> <h3>Enable <code>--strict-bytes</code> by Default</h3> <p>Per <a href="https://peps.python.org/pep-0688">PEP 688</a>, mypy no longer treats <code>bytearray</code> and <code>memoryview</code> values as assignable to the <code>bytes</code> type.</p> <p>Contributed by Shantanu in <a href="https://redirect.github.com/python/mypy/pull/18371">PR 18371</a>.</p> <h3>New Behavior for <code>--allow-redefinition</code></h3> <p>The <code>--allow-redefinition</code> flag now behaves like <code>--allow-redefinition-new</code> in mypy 1.20 and earlier. The new behavior is generally more flexible. For example, you can have different types for a variable in different blocks:</p> <pre lang="python"><code># mypy: allow-redefinition <p>def foo(cond: bool) -> None: if cond: for x in ["a", "b"]: # Type of "x" is "str" here ... else: for x in [1, 2]: # Type of "x" is "int" here ... </code></pre></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/7a765008a138ec46c579bfc6ef608860cab36033"><code>7a76500</code></a> Remove +dev from version</li> <li><a href="https://github.com/python/mypy/commit/5a3ab3b29f03d8baafeced3761e1afc8bd58be79"><code>5a3ab3b</code></a> Changelog for mypy 2.0 (<a href="https://redirect.github.com/python/mypy/issues/21422">#21422</a>)</li> <li><a href="https://github.com/python/mypy/commit/f9c86e21e88f96806c65790d604bf1264db39434"><code>f9c86e2</code></a> Some changelog updates for 2.0 (<a href="https://redirect.github.com/python/mypy/issues/21413">#21413</a>)</li> <li><a href="https://github.com/python/mypy/commit/519eaf15e0ceafae30337083577a54c7d3f3b4fe"><code>519eaf1</code></a> Bump librt to 0.10.0 (<a href="https://redirect.github.com/python/mypy/issues/21415">#21415</a>)</li> <li><a href="https://github.com/python/mypy/commit/158a6207d6e221cc403e1d556097b5abf5157cdd"><code>158a620</code></a> Fix negative narrowing for containers (<a href="https://redirect.github.com/python/mypy/issues/21411">#21411</a>)</li> <li><a href="https://github.com/python/mypy/commit/e556eb93a3c551a320a536879ce0a1608d14d490"><code>e556eb9</code></a> Try fixing mypy mypyc wheels (<a href="https://redirect.github.com/python/mypy/issues/21392">#21392</a>)</li> <li><a href="https://github.com/python/mypy/commit/f2c97971f5f4dcd749cf87df1e1308ab5754490a"><code>f2c9797</code></a> Expose --num-workers and --native-parser (<a href="https://redirect.github.com/python/mypy/issues/21387">#21387</a>)</li> <li><a href="https://github.com/python/mypy/commit/db0cb2f7c68b0f9d43d6ee1ab68117c1550dac39"><code>db0cb2f</code></a> Bump ast-serialize cache version (<a href="https://redirect.github.com/python/mypy/issues/21388">#21388</a>)</li> <li><a href="https://github.com/python/mypy/commit/1090ca6d476f629c566250a41204450043a47cf5"><code>1090ca6</code></a> Bump ast-serialize version to 0.3.0 only (<a href="https://redirect.github.com/python/mypy/issues/21391">#21391</a>)</li> <li><a href="https://github.com/python/mypy/commit/714ca9f2ac76e7c6dd56e26fd555f69313ba47ab"><code>714ca9f</code></a> [mypyc] Add note about librt.strings thread safety (<a href="https://redirect.github.com/python/mypy/issues/21383">#21383</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.20.2...v2.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 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]
