Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps-dev): Bump the development-dependencies group with 4 updat…
…es (#559) Bumps the development-dependencies group with 4 updates: [hypothesis](https://github.com/HypothesisWorks/hypothesis), [mypy](https://github.com/python/mypy), [ruff](https://github.com/astral-sh/ruff) and [types-simplejson](https://github.com/python/typeshed). Updates `hypothesis` from 6.122.3 to 6.123.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/HypothesisWorks/hypothesis/releases">hypothesis's releases</a>.</em></p> <blockquote> <h2>Hypothesis for Python - version 6.123.0</h2> <p>"from_type()" can now handle constructors with required positional- only arguments if they have type annotations. Previously, we only passed arguments by keyword.</p> <p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-123-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p> <h2>Hypothesis for Python - version 6.122.7</h2> <p>This patch lays some groundwork for migrating our internal representation to the typed choice sequence (issue <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/3921">#3921</a>)</p> <p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-122-7">The canonical version of these notes (with links) is on readthedocs.</a></em></p> <h2>Hypothesis for Python - version 6.122.6</h2> <p>This patch cleans up some internal code around clamping floats.</p> <p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-122-6">The canonical version of these notes (with links) is on readthedocs.</a></em></p> <h2>Hypothesis for Python - version 6.122.5</h2> <p>This release improves shrinking in some cases, especially for strategies using "one_of()". This will typically improve shrinking speed and may in some cases improve the end result.</p> <p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-122-5">The canonical version of these notes (with links) is on readthedocs.</a></em></p> <h2>Hypothesis for Python - version 6.122.4</h2> <p>This patch improves generation performance for the provisional "domains()" strategy, including its derivative strategies "urls()" and "emails()".</p> <p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-122-4">The canonical version of these notes (with links) is on readthedocs.</a></em></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/e6f451990ee86c04a13d4e47b706e3bd1cfd8193"><code>e6f4519</code></a> Bump hypothesis-python version to 6.123.0 and update changelog</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/60d070e86e417b58ac9151acf7bcaa45751af240"><code>60d070e</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4211">#4211</a> from Zac-HD/from-type-posonly</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/b68123b6b1534643910c32bab236b386a197fdf7"><code>b68123b</code></a> teach from_type to build with posonly args</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/218897e372abdc6dcc0331ff80bce961d293dac0"><code>218897e</code></a> Bump hypothesis-python version to 6.122.7 and update changelog</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/296447f6193c7ed2d9657b84609f3cf3405468c1"><code>296447f</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4210">#4210</a> from tybug/clamper-signed-zero</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/c78623867690e27444520125ef2e8b935dd3b711"><code>c786238</code></a> rework clamper test to avoid signed zero issues with sorted()</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/7cdeb91eb9b27294e15cec74692509bf8acdfefa"><code>7cdeb91</code></a> properly clamp signed zeroes</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/9fa1801657c5885d545e46e7b4f79924b4947532"><code>9fa1801</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4209">#4209</a> from tybug/choice-to-index</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/e289629d46a19d29986d8fb83e4d5728389cd907"><code>e289629</code></a> change bounded ordering to match semibounded</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/b6456b16b495567d9564ef0a282808fb184105b0"><code>b6456b1</code></a> Merge branch 'master' into choice-to-index</li> <li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.122.3...hypothesis-python-6.123.0">compare view</a></li> </ul> </details> <br /> Updates `mypy` from 1.13.0 to 1.14.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> <p>...</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> <p>You can read the full documentation for this release on <a href="http://mypy.readthedocs.io">Read the Docs</a>.</p> <h3>Change to Enum Membership Semantics</h3> <p>As per the updated <a href="https://typing.readthedocs.io/en/latest/spec/enums.html#defining-members">typing specification for enums</a>, enum members must be left unannotated.</p> <pre lang="python"><code>class Pet(Enum): CAT = 1 # Member attribute DOG = 2 # Member attribute <pre><code># New error: Enum members must be left unannotated WOLF: int = 3 species: str # Considered a non-member attribute </code></pre> <p></code></pre></p> <p>In particular, the specification change can result in issues in type stubs (<code>.pyi</code> files), since historically it was common to leave the value absent:</p> <pre lang="python"><code># In a type stub (.pyi file) <p>class Pet(Enum): # Change in semantics: previously considered members, # now non-member attributes CAT: int DOG: int</p> <pre><code># Mypy will now issue a warning if it detects this # situation in type stubs: # &gt; Detected enum &quot;Pet&quot; in a type stub with zero # &gt; members. There is a chance this is due to a recent # &gt; change in the semantics of enum membership. If so, # &gt; use `member = value` to mark an enum member, </code></pre> <p></tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <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><a href="https://github.com/python/mypy/commit/5082a221f33e6f2ceb32830f733890a1b21061db"><code>5082a22</code></a> [mypyc] Document optimized bytes ops and additional str ops (<a href="https://redirect.github.com/python/mypy/issues/18242">#18242</a>)</li> <li><a href="https://github.com/python/mypy/commit/ee19ea7d26ccdda3e0e79ef36aeb98cddb527903"><code>ee19ea7</code></a> [mypyc] Add primitives and specialization for ord() (<a href="https://redirect.github.com/python/mypy/issues/18240">#18240</a>)</li> <li><a href="https://github.com/python/mypy/commit/cc45bec732d6ccf4f846c5fd40617fed9cc04e8d"><code>cc45bec</code></a> [mypyc] Make exception type check in assertRaises test helper precise (<a href="https://redirect.github.com/python/mypy/issues/18241">#18241</a>)</li> <li><a href="https://github.com/python/mypy/commit/f51090d053874aed0f3bfdb354e42f641296eaac"><code>f51090d</code></a> Make "deprecated" Note a standard Error, disabled by default (<a href="https://redirect.github.com/python/mypy/issues/18192">#18192</a>)</li> <li><a href="https://github.com/python/mypy/commit/242873a2e8a1d98762b30fcf7b28a699a230279d"><code>242873a</code></a> Implement flag to allow typechecking of untyped modules (<a href="https://redirect.github.com/python/mypy/issues/17712">#17712</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.13.0...v1.14.0">compare view</a></li> </ul> </details> <br /> Updates `ruff` from 0.8.3 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> </blockquote> </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.3...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