Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Bump the development-dependencies group with 3 updates (#495)
Bumps the development-dependencies group with 3 updates: [mypy](https://github.com/python/mypy), [ruff](https://github.com/astral-sh/ruff) and [types-simplejson](https://github.com/python/typeshed). Updates `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 /> Updates `ruff` from 0.8.2 to 0.8.4 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>0.8.4</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>[<code>airflow</code>] Extend <code>AIR302</code> with additional functions and classes (<a href="https://redirect.github.com/astral-sh/ruff/pull/15015">#15015</a>)</li> <li>[<code>airflow</code>] Implement <code>moved-to-provider-in-3</code> for modules that has been moved to Airflow providers (<code>AIR303</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14764">#14764</a>)</li> <li>[<code>flake8-use-pathlib</code>] Extend check for invalid path suffix to include the case <code>"."</code> (<code>PTH210</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14902">#14902</a>)</li> <li>[<code>perflint</code>] Fix panic in <code>PERF401</code> when list variable is after the <code>for</code> loop (<a href="https://redirect.github.com/astral-sh/ruff/pull/14971">#14971</a>)</li> <li>[<code>perflint</code>] Simplify finding the loop target in <code>PERF401</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15025">#15025</a>)</li> <li>[<code>pylint</code>] Preserve original value format (<code>PLR6104</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14978">#14978</a>)</li> <li>[<code>ruff</code>] Avoid false positives for <code>RUF027</code> for typing context bindings (<a href="https://redirect.github.com/astral-sh/ruff/pull/15037">#15037</a>)</li> <li>[<code>ruff</code>] Check for ambiguous pattern passed to <code>pytest.raises()</code> (<code>RUF043</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14966">#14966</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bandit</code>] Check <code>S105</code> for annotated assignment (<a href="https://redirect.github.com/astral-sh/ruff/pull/15059">#15059</a>)</li> <li>[<code>flake8-pyi</code>] More autofixes for <code>redundant-none-literal</code> (<code>PYI061</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14872">#14872</a>)</li> <li>[<code>pydocstyle</code>] Skip leading whitespace for <code>D403</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14963">#14963</a>)</li> <li>[<code>ruff</code>] Skip <code>SQLModel</code> base classes for <code>mutable-class-default</code> (<code>RUF012</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14949">#14949</a>)</li> </ul> <h3>Bug</h3> <ul> <li>[<code>perflint</code>] Parenthesize walrus expressions in autofix for <code>manual-list-comprehension</code> (<code>PERF401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15050">#15050</a>)</li> </ul> <h3>Server</h3> <ul> <li>Check diagnostic refresh support from client capability which enables dynamic configuration for various editors (<a href="https://redirect.github.com/astral-sh/ruff/pull/15014">#15014</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li> <li><a href="https://github.com/Daverball"><code>@Daverball</code></a></li> <li><a href="https://github.com/DimitriPapadopoulos"><code>@DimitriPapadopoulos</code></a></li> <li><a href="https://github.com/InSyncWithFoo"><code>@InSyncWithFoo</code></a></li> <li><a href="https://github.com/Lee-W"><code>@Lee-W</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/TheBits"><code>@TheBits</code></a></li> <li><a href="https://github.com/cake-monotone"><code>@cake-monotone</code></a></li> <li><a href="https://github.com/carljm"><code>@carljm</code></a></li> <li><a href="https://github.com/dcreager"><code>@dcreager</code></a></li> <li><a href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a></li> <li><a href="https://github.com/dylwil3"><code>@dylwil3</code></a></li> <li><a href="https://github.com/github-actions"><code>@github-actions</code></a></li> <li><a href="https://github.com/kiran-4444"><code>@kiran-4444</code></a></li> <li><a href="https://github.com/krishnan-chandra"><code>@krishnan-chandra</code></a></li> <li><a href="https://github.com/rchen152"><code>@rchen152</code></a></li> <li><a href="https://github.com/renovate"><code>@renovate</code></a></li> <li><a href="https://github.com/sharkdp"><code>@sharkdp</code></a></li> <li><a href="https://github.com/tarasmatsyk"><code>@tarasmatsyk</code></a></li> <li><a href="https://github.com/w0nder1ng"><code>@w0nder1ng</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.8.4</h2> <h3>Preview features</h3> <ul> <li>[<code>airflow</code>] Extend <code>AIR302</code> with additional functions and classes (<a href="https://redirect.github.com/astral-sh/ruff/pull/15015">#15015</a>)</li> <li>[<code>airflow</code>] Implement <code>moved-to-provider-in-3</code> for modules that has been moved to Airflow providers (<code>AIR303</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14764">#14764</a>)</li> <li>[<code>flake8-use-pathlib</code>] Extend check for invalid path suffix to include the case <code>"."</code> (<code>PTH210</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14902">#14902</a>)</li> <li>[<code>perflint</code>] Fix panic in <code>PERF401</code> when list variable is after the <code>for</code> loop (<a href="https://redirect.github.com/astral-sh/ruff/pull/14971">#14971</a>)</li> <li>[<code>perflint</code>] Simplify finding the loop target in <code>PERF401</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/15025">#15025</a>)</li> <li>[<code>pylint</code>] Preserve original value format (<code>PLR6104</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14978">#14978</a>)</li> <li>[<code>ruff</code>] Avoid false positives for <code>RUF027</code> for typing context bindings (<a href="https://redirect.github.com/astral-sh/ruff/pull/15037">#15037</a>)</li> <li>[<code>ruff</code>] Check for ambiguous pattern passed to <code>pytest.raises()</code> (<code>RUF043</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14966">#14966</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bandit</code>] Check <code>S105</code> for annotated assignment (<a href="https://redirect.github.com/astral-sh/ruff/pull/15059">#15059</a>)</li> <li>[<code>flake8-pyi</code>] More autofixes for <code>redundant-none-literal</code> (<code>PYI061</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14872">#14872</a>)</li> <li>[<code>pydocstyle</code>] Skip leading whitespace for <code>D403</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14963">#14963</a>)</li> <li>[<code>ruff</code>] Skip <code>SQLModel</code> base classes for <code>mutable-class-default</code> (<code>RUF012</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14949">#14949</a>)</li> </ul> <h3>Bug</h3> <ul> <li>[<code>perflint</code>] Parenthesize walrus expressions in autofix for <code>manual-list-comprehension</code> (<code>PERF401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15050">#15050</a>)</li> </ul> <h3>Server</h3> <ul> <li>Check diagnostic refresh support from client capability which enables dynamic configuration for various editors (<a href="https://redirect.github.com/astral-sh/ruff/pull/15014">#15014</a>)</li> </ul> <h2>0.8.3</h2> <h3>Preview features</h3> <ul> <li>Fix fstring formatting removing overlong implicit concatenated string in expression part (<a href="https://redirect.github.com/astral-sh/ruff/pull/14811">#14811</a>)</li> <li>[<code>airflow</code>] Add fix to remove deprecated keyword arguments (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14887">#14887</a>)</li> <li>[<code>airflow</code>]: Extend rule to include deprecated names for Airflow 3.0 (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14765">#14765</a> and <a href="https://redirect.github.com/astral-sh/ruff/pull/14804">#14804</a>)</li> <li>[<code>flake8-bugbear</code>] Improve error messages for <code>except*</code> (<code>B025</code>, <code>B029</code>, <code>B030</code>, <code>B904</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14815">#14815</a>)</li> <li>[<code>flake8-bugbear</code>] <code>itertools.batched()</code> without explicit <code>strict</code> (<code>B911</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14408">#14408</a>)</li> <li>[<code>flake8-use-pathlib</code>] Dotless suffix passed to <code>Path.with_suffix()</code> (<code>PTH210</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14779">#14779</a>)</li> <li>[<code>pylint</code>] Include parentheses and multiple comparators in check for <code>boolean-chained-comparison</code> (<code>PLR1716</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14781">#14781</a>)</li> <li>[<code>ruff</code>] Do not simplify <code>round()</code> calls (<code>RUF046</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14832">#14832</a>)</li> <li>[<code>ruff</code>] Don't emit <code>used-dummy-variable</code> on function parameters (<code>RUF052</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14818">#14818</a>)</li> <li>[<code>ruff</code>] Implement <code>if-key-in-dict-del</code> (<code>RUF051</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14553">#14553</a>)</li> <li>[<code>ruff</code>] Mark autofix for <code>RUF052</code> as always unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/14824">#14824</a>)</li> <li>[<code>ruff</code>] Teach autofix for <code>used-dummy-variable</code> about TypeVars etc. (<code>RUF052</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14819">#14819</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bugbear</code>] Offer unsafe autofix for <code>no-explicit-stacklevel</code> (<code>B028</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14829">#14829</a>)</li> <li>[<code>flake8-pyi</code>] Skip all type definitions in <code>string-or-bytes-too-long</code> (<code>PYI053</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14797">#14797</a>)</li> <li>[<code>pyupgrade</code>] Do not report when a UTF-8 comment is followed by a non-UTF-8 one (<code>UP009</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14728">#14728</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/3bb0dac23569fb607e781ca8e401c6eba71b14dd"><code>3bb0dac</code></a> Bump version to 0.8.4 (<a href="https://redirect.github.com/astral-sh/ruff/issues/15064">#15064</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/40cba5dc8aa79fef488bcae366abf7efefb04faa"><code>40cba5d</code></a> [red-knot] Cleanup various <code>todo_type!()</code> messages (<a href="https://redirect.github.com/astral-sh/ruff/issues/15063">#15063</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/596d80cc8e9b4e2380712597a881ec2ad3609b96"><code>596d80c</code></a> [<code>perflint</code>] Parenthesize walrus expressions in autofix for `manual-list-comp...</li> <li><a href="https://github.com/astral-sh/ruff/commit/d8b9a366c820750d52650ac42668771ef9fcebe1"><code>d8b9a36</code></a> Disable actionlint hook by default when running pre-commit locally (<a href="https://redirect.github.com/astral-sh/ruff/issues/15061">#15061</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/85e71ba91ae5adc8fb3b764681c21c8959f71346"><code>85e71ba</code></a> [<code>flake8-bandit</code>] Check <code>S105</code> for annotated assignment (<a href="https://redirect.github.com/astral-sh/ruff/issues/15059">#15059</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/2802cbde29ea85ae6a01870aac34b5b788346fc0"><code>2802cbd</code></a> Don't special-case class instances in unary expression inference (<a href="https://redirect.github.com/astral-sh/ruff/issues/15045">#15045</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/ed2bce6ebb56c84c5ecd22cbe8aac4a887c403ca"><code>ed2bce6</code></a> [red-knot] Report invalid exceptions (<a href="https://redirect.github.com/astral-sh/ruff/issues/15042">#15042</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f0012df68653835752c32d47ebba06320c7e48cf"><code>f0012df</code></a> Fix typos in <code>RUF043.py</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/15044">#15044</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/0fc4e8f795f2cc4ad0ea2b3c3d592ed50da29caf"><code>0fc4e8f</code></a> Introduce <code>InferContext</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/14956">#14956</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/ac81c72bf3e5c8c8196adb82133cd3b53793fb48"><code>ac81c72</code></a> [<code>ruff</code>] Ambiguous pattern passed to <code>pytest.raises()</code> (<code>RUF043</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/14966">#14966</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.8.2...0.8.4">compare view</a></li> </ul> </details> <br /> Updates `types-simplejson` from 3.19.0.20240801 to 3.19.0.20241221 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/python/typeshed/commits">compare view</a></li> </ul> </details> <br /> 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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information