Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the patches group with 2 updates (#1073)
Bumps the patches group with 2 updates: [requests](https://github.com/psf/requests) and [ruff](https://github.com/astral-sh/ruff). Updates `requests` from 2.32.0 to 2.32.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/requests/releases">requests's releases</a>.</em></p> <blockquote> <h2>v2.32.2</h2> <h2>2.32.2 (2024-05-21)</h2> <p><strong>Deprecations</strong></p> <ul> <li> <p>To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0, we've renamed <code>_get_connection</code> to a new public API, <code>get_connection_with_tls_context</code>. Existing custom HTTPAdapters will need to migrate their code to use this new API. <code>get_connection</code> is considered deprecated in all versions of Requests>=2.32.0.</p> <p>A minimal (2-line) example has been provided in the linked PR to ease migration, but we strongly urge users to evaluate if their custom adapter is subject to the same issue described in CVE-2024-35195. (<a href="https://redirect.github.com/psf/requests/issues/6710">#6710</a>)</p> </li> </ul> <h2>v2.32.1</h2> <h2>2.32.1 (2024-05-20)</h2> <p><strong>Bugfixes</strong></p> <ul> <li>Add missing test certs to the sdist distributed on PyPI.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/requests/blob/main/HISTORY.md">requests's changelog</a>.</em></p> <blockquote> <h2>2.32.2 (2024-05-21)</h2> <p><strong>Deprecations</strong></p> <ul> <li> <p>To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0, we've renamed <code>_get_connection</code> to a new public API, <code>get_connection_with_tls_context</code>. Existing custom HTTPAdapters will need to migrate their code to use this new API. <code>get_connection</code> is considered deprecated in all versions of Requests>=2.32.0.</p> <p>A minimal (2-line) example has been provided in the linked PR to ease migration, but we strongly urge users to evaluate if their custom adapter is subject to the same issue described in CVE-2024-35195. (<a href="https://redirect.github.com/psf/requests/issues/6710">#6710</a>)</p> </li> </ul> <h2>2.32.1 (2024-05-20)</h2> <p><strong>Bugfixes</strong></p> <ul> <li>Add missing test certs to the sdist distributed on PyPI.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/requests/commit/88dce9d854797c05d0ff296b70e0430535ef8aaf"><code>88dce9d</code></a> v2.32.2</li> <li><a href="https://github.com/psf/requests/commit/c98e4d133ef29c46a9b68cd783087218a8075e05"><code>c98e4d1</code></a> Merge pull request <a href="https://redirect.github.com/psf/requests/issues/6710">#6710</a> from nateprewitt/api_rename</li> <li><a href="https://github.com/psf/requests/commit/92075b330a30b9883f466a43d3f7566ab849f91b"><code>92075b3</code></a> Add deprecation warning</li> <li><a href="https://github.com/psf/requests/commit/aa1461b68aa73e2f6ec0e78c8853b635c76fd099"><code>aa1461b</code></a> Move _get_connection to get_connection_with_tls_context</li> <li><a href="https://github.com/psf/requests/commit/970e8cec988421bd43da57350723b05c8ce8dc7e"><code>970e8ce</code></a> v2.32.1</li> <li>See full diff in <a href="https://github.com/psf/requests/compare/v2.32.0...v2.32.2">compare view</a></li> </ul> </details> <br /> Updates `ruff` from 0.4.4 to 0.4.5 <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>v0.4.5</h2> <h2>Changes</h2> <h3>Ruff's language server is now in Beta</h3> <p><code>v0.4.5</code> marks the official Beta release of <code>ruff server</code>, an integrated language server built into Ruff. <code>ruff server</code> supports the same feature set as <code>ruff-lsp</code>, powering linting, formatting, and code fixes in Ruff's editor integrations -- but with superior performance and no installation required. We'd love your feedback!</p> <p>You can enable <code>ruff server</code> in the <a href="https://github.com/astral-sh/ruff-vscode?tab=readme-ov-file#enabling-the-rust-based-language-server">VS Code extension</a> today.</p> <p>To read more about this exciting milestone, check out our <a href="https://astral.sh/blog/ruff-v0.4.5">blog post</a>!</p> <h3>Rule changes</h3> <ul> <li>[<code>flake8-future-annotations</code>] Reword <code>future-rewritable-type-annotation</code> (<code>FA100</code>) message (<a href="https://redirect.github.com/astral-sh/ruff/pull/11381">#11381</a>)</li> <li>[<code>pycodestyle</code>] Consider soft keywords for <code>E27</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/11446">#11446</a>)</li> <li>[<code>pyflakes</code>] Recommend adding unused import bindings to <code>__all__</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11314">#11314</a>)</li> <li>[<code>pyflakes</code>] Update documentation and deprecate <code>ignore_init_module_imports</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11436">#11436</a>)</li> <li>[<code>pyupgrade</code>] Mark quotes as unnecessary for non-evaluated annotations (<a href="https://redirect.github.com/astral-sh/ruff/pull/11485">#11485</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Avoid multiline quotes warning with <code>quote-style = preserve</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11490">#11490</a>)</li> </ul> <h3>Server</h3> <ul> <li>Support Jupyter Notebook files (<a href="https://redirect.github.com/astral-sh/ruff/pull/11206">#11206</a>)</li> <li>Support <code>noqa</code> comment code actions (<a href="https://redirect.github.com/astral-sh/ruff/pull/11276">#11276</a>)</li> <li>Fix automatic configuration reloading (<a href="https://redirect.github.com/astral-sh/ruff/pull/11492">#11492</a>)</li> <li>Fix several issues with configuration in Neovim and Helix (<a href="https://redirect.github.com/astral-sh/ruff/pull/11497">#11497</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Add <code>--output-format</code> as a CLI option for <code>ruff config</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11438">#11438</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid <code>PLE0237</code> for property with setter (<a href="https://redirect.github.com/astral-sh/ruff/pull/11377">#11377</a>)</li> <li>Avoid <code>TCH005</code> for <code>if</code> stmt with <code>elif</code>/<code>else</code> block (<a href="https://redirect.github.com/astral-sh/ruff/pull/11376">#11376</a>)</li> <li>Avoid flagging <code>__future__</code> annotations as required for non-evaluated type annotations (<a href="https://redirect.github.com/astral-sh/ruff/pull/11414">#11414</a>)</li> <li>Check for ruff executable in 'bin' directory as installed by 'pip install --target'. (<a href="https://redirect.github.com/astral-sh/ruff/pull/11450">#11450</a>)</li> <li>Sort edits prior to deduplicating in quotation fix (<a href="https://redirect.github.com/astral-sh/ruff/pull/11452">#11452</a>)</li> <li>Treat escaped newline as valid sequence (<a href="https://redirect.github.com/astral-sh/ruff/pull/11465">#11465</a>)</li> <li>[<code>flake8-pie</code>] Preserve parentheses in <code>unnecessary-dict-kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11372">#11372</a>)</li> <li>[<code>pylint</code>] Ignore <code>__slots__</code> with dynamic values (<a href="https://redirect.github.com/astral-sh/ruff/pull/11488">#11488</a>)</li> <li>[<code>pylint</code>] Remove <code>try</code> body from branch counting (<a href="https://redirect.github.com/astral-sh/ruff/pull/11487">#11487</a>)</li> <li>[<code>refurb</code>] Respect operator precedence in <code>FURB110</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11464">#11464</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add <code>--preview</code> to the README (<a href="https://redirect.github.com/astral-sh/ruff/pull/11395">#11395</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.4.5</h2> <h3>Ruff's language server is now in Beta</h3> <p><code>v0.4.5</code> marks the official Beta release of <code>ruff server</code>, an integrated language server built into Ruff. <code>ruff server</code> supports the same feature set as <code>ruff-lsp</code>, powering linting, formatting, and code fixes in Ruff's editor integrations -- but with superior performance and no installation required. We'd love your feedback!</p> <p>You can enable <code>ruff server</code> in the <a href="https://github.com/astral-sh/ruff-vscode?tab=readme-ov-file#enabling-the-rust-based-language-server">VS Code extension</a> today.</p> <p>To read more about this exciting milestone, check out our <a href="https://astral.sh/blog/ruff-v0.4.5">blog post</a>!</p> <h3>Rule changes</h3> <ul> <li>[<code>flake8-future-annotations</code>] Reword <code>future-rewritable-type-annotation</code> (<code>FA100</code>) message (<a href="https://redirect.github.com/astral-sh/ruff/pull/11381">#11381</a>)</li> <li>[<code>pycodestyle</code>] Consider soft keywords for <code>E27</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/11446">#11446</a>)</li> <li>[<code>pyflakes</code>] Recommend adding unused import bindings to <code>__all__</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11314">#11314</a>)</li> <li>[<code>pyflakes</code>] Update documentation and deprecate <code>ignore_init_module_imports</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11436">#11436</a>)</li> <li>[<code>pyupgrade</code>] Mark quotes as unnecessary for non-evaluated annotations (<a href="https://redirect.github.com/astral-sh/ruff/pull/11485">#11485</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Avoid multiline quotes warning with <code>quote-style = preserve</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11490">#11490</a>)</li> </ul> <h3>Server</h3> <ul> <li>Support Jupyter Notebook files (<a href="https://redirect.github.com/astral-sh/ruff/pull/11206">#11206</a>)</li> <li>Support <code>noqa</code> comment code actions (<a href="https://redirect.github.com/astral-sh/ruff/pull/11276">#11276</a>)</li> <li>Fix automatic configuration reloading (<a href="https://redirect.github.com/astral-sh/ruff/pull/11492">#11492</a>)</li> <li>Fix several issues with configuration in Neovim and Helix (<a href="https://redirect.github.com/astral-sh/ruff/pull/11497">#11497</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Add <code>--output-format</code> as a CLI option for <code>ruff config</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11438">#11438</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid <code>PLE0237</code> for property with setter (<a href="https://redirect.github.com/astral-sh/ruff/pull/11377">#11377</a>)</li> <li>Avoid <code>TCH005</code> for <code>if</code> stmt with <code>elif</code>/<code>else</code> block (<a href="https://redirect.github.com/astral-sh/ruff/pull/11376">#11376</a>)</li> <li>Avoid flagging <code>__future__</code> annotations as required for non-evaluated type annotations (<a href="https://redirect.github.com/astral-sh/ruff/pull/11414">#11414</a>)</li> <li>Check for ruff executable in 'bin' directory as installed by 'pip install --target'. (<a href="https://redirect.github.com/astral-sh/ruff/pull/11450">#11450</a>)</li> <li>Sort edits prior to deduplicating in quotation fix (<a href="https://redirect.github.com/astral-sh/ruff/pull/11452">#11452</a>)</li> <li>Treat escaped newline as valid sequence (<a href="https://redirect.github.com/astral-sh/ruff/pull/11465">#11465</a>)</li> <li>[<code>flake8-pie</code>] Preserve parentheses in <code>unnecessary-dict-kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11372">#11372</a>)</li> <li>[<code>pylint</code>] Ignore <code>__slots__</code> with dynamic values (<a href="https://redirect.github.com/astral-sh/ruff/pull/11488">#11488</a>)</li> <li>[<code>pylint</code>] Remove <code>try</code> body from branch counting (<a href="https://redirect.github.com/astral-sh/ruff/pull/11487">#11487</a>)</li> <li>[<code>refurb</code>] Respect operator precedence in <code>FURB110</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11464">#11464</a>)</li> </ul> <h3>Documentation</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/550aa871d32b53a2f042fb0e7fea1080eadfa11d"><code>550aa87</code></a> Bump version to <code>v0.4.5</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11502">#11502</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/3c22a3bdccf703e42fc2778db5857bb688422c8c"><code>3c22a3b</code></a> Minor edits to <code>ruff server</code> docs (<a href="https://redirect.github.com/astral-sh/ruff/issues/11500">#11500</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/6263923915b5678fd496f7646ef8d2eca9b23607"><code>6263923</code></a> Update documentation for <code>ruff server</code> with new migration guide (<a href="https://redirect.github.com/astral-sh/ruff/issues/11499">#11499</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/94abea4b0822f99f97e01d9adadddc82acd8d8b8"><code>94abea4</code></a> <code>ruff server</code>: Fix multiple issues with Neovim and Helix (<a href="https://redirect.github.com/astral-sh/ruff/issues/11497">#11497</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/519a65007fe2ff714103fb023aacb49a71551a7f"><code>519a650</code></a> Mark quotes as unnecessary for non-evaluated annotations (<a href="https://redirect.github.com/astral-sh/ruff/issues/11485">#11485</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/573facd2bad5d43abed7c9da903f9cf243d29d58"><code>573facd</code></a> Fix automatic configuration reloading for text and notebook documents (<a href="https://redirect.github.com/astral-sh/ruff/issues/11492">#11492</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/3cb2e677aa0b88075f248ea44c5d2e844b82a0a7"><code>3cb2e67</code></a> <code>ruff.applyFormat</code> now formats an entire notebook document (<a href="https://redirect.github.com/astral-sh/ruff/issues/11493">#11493</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f0046ab28e67c5d6b3ce5951817f715333b4538d"><code>f0046ab</code></a> Move <code>has_comments</code> to <code>CommentRanges</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11495">#11495</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/5bb9720a10618ed9cecc401df231e360710780ee"><code>5bb9720</code></a> Avoid multiline quotes warning with <code>quote-style = preserve</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11490">#11490</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9ff18bf9d34846e2b6182d72609ba32131e2b356"><code>9ff18bf</code></a> Simplify Neovim docs for the LSP setup (<a href="https://redirect.github.com/astral-sh/ruff/issues/11489">#11489</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.4.4...v0.4.5">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> Co-authored-by: Flaviu Vadan <[email protected]> Co-authored-by: Sambhav Kothari <[email protected]>
- Loading branch information