Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): bump mypy from 1.13.0 to 1.14.1 (#191)
Bumps [mypy](https://github.com/python/mypy) from 1.13.0 to 1.14.1. <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> <h3>Drop Support for Python 3.8</h3> <p>Mypy no longer supports running with Python 3.8, which has reached end-of-life. When running mypy with Python 3.9+, it is still possible to type check code that needs to support Python 3.8 with the <code>--python-version 3.8</code> argument. Support for this will be dropped in the first half of 2025!</p> <p>Contributed by Marc Mueller (PR <a href="https://redirect.github.com/python/mypy/pull/17492">17492</a>).</p> <h3>Mypyc accelerated mypy wheels for aarch64</h3> <p>Mypy can compile itself to C extension modules using mypyc. This makes mypy 3-5x faster than if mypy is interpreted with pure Python. We now build and upload mypyc accelerated mypy wheels for <code>manylinux_aarch64</code> to PyPI, making it easy for users on such platforms to realise this speedup.</p> <p>Contributed by Christian Bundy (PR <a href="https://redirect.github.com/mypyc/mypy_mypyc-wheels/pull/76">mypy_mypyc-wheels#76</a>)</p> <h3><code>--strict-bytes</code></h3> <p>By default, mypy treats an annotation of <code>bytes</code> as permitting <code>bytearray</code> and <code>memoryview</code>. <a href="https://peps.python.org/pep-0688">PEP 688</a> specified the removal of this special case. Use this flag to disable this behavior. <code>--strict-bytes</code> will be enabled by default in <strong>mypy 2.0</strong>.</p> <p>Contributed by Ali Hamdan (PR <a href="https://redirect.github.com/python/mypy/pull/18263/">18137</a>) and Shantanu Jain (PR <a href="https://redirect.github.com/python/mypy/pull/13952">13952</a>).</p> <h3>Improvements to partial type handling in loops</h3> <p>This change results in mypy better modelling control flow within loops and hence detecting several issues it previously did not detect. In some cases, this change may require use of an additional explicit annotation of a variable.</p> <p>Contributed by Christoph Tyralla (PR <a href="https://redirect.github.com/python/mypy/pull/18180">18180</a>).</p> <p>(Speaking of partial types, another reminder that mypy plans on enabling <code>--local-partial-types</code> by default in <strong>mypy 2.0</strong>).</p> <h2>Mypy 1.14</h2> <p>We’ve just uploaded mypy 1.14 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 and bug fixes. You can install it as follows:</p> <pre><code>python3 -m pip install -U mypy </code></pre> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/251d12fe9f89f8d4818fd6ff1c48224e77119004"><code>251d12f</code></a> Remove +dev from version for release 1.14.1</li> <li><a href="https://github.com/python/mypy/commit/667e5f752aaa4d1c62341d27af54e9ffff82620c"><code>667e5f7</code></a> Revert "Remove redundant inheritances from Iterator in builtins" (<a href="https://redirect.github.com/python/mypy/issues/18324">#18324</a>)</li> <li><a href="https://github.com/python/mypy/commit/67f673a79d3114b3aa06d9642b9feefc2f20631a"><code>67f673a</code></a> Fix enum truthiness for StrEnum (<a href="https://redirect.github.com/python/mypy/issues/18379">#18379</a>)</li> <li><a href="https://github.com/python/mypy/commit/3755abbb875c80698c928711b5aa8f59e71ce973"><code>3755abb</code></a> Fix getargs argument passing (<a href="https://redirect.github.com/python/mypy/issues/18350">#18350</a>)</li> <li><a href="https://github.com/python/mypy/commit/b9fa8eeaebfda2b6ac01a2651659d3206fab9854"><code>b9fa8ee</code></a> Update version to 1.14.1+dev for point release</li> <li><a href="https://github.com/python/mypy/commit/6f37859612cd8670724c2ee2df21aa691276a9dc"><code>6f37859</code></a> Remove +dev from version for release 1.14</li> <li><a href="https://github.com/python/mypy/commit/5a6a7548a9ae25c79690108b1dc1aaec559a18de"><code>5a6a754</code></a> Minor updates to 1.14 changelog (<a href="https://redirect.github.com/python/mypy/issues/18310">#18310</a>)</li> <li><a href="https://github.com/python/mypy/commit/9772d486ada2c198811c34f47be7d0bad44cdbf5"><code>9772d48</code></a> Update changelog for release 1.14 (<a href="https://redirect.github.com/python/mypy/issues/18301">#18301</a>)</li> <li><a href="https://github.com/python/mypy/commit/92473c8bef8a2969e2a649c6c84b3165ba342b0c"><code>92473c8</code></a> Warn about --follow-untyped-imports (<a href="https://redirect.github.com/python/mypy/issues/18249">#18249</a>)</li> <li><a href="https://github.com/python/mypy/commit/e6ce8be8a61a4a8c17523a828e800a76331ee4b5"><code>e6ce8be</code></a> PEP 702 (<a href="https://github.com/deprecated"><code>@deprecated</code></a>): descriptors (<a href="https://redirect.github.com/python/mypy/issues/18090">#18090</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.13.0...v1.14.1">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=1.13.0&new-version=1.14.1)](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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information