dependabot[bot] opened a new pull request, #354: URL: https://github.com/apache/hudi-rs/pull/354
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.11.7 to 0.12.0. <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.12.0</h2> <h2>Release Notes</h2> <p>Check out the <a href="https://astral.sh/blog/ruff-v0.12.0">blog post</a> for a migration guide and overview of the changes!</p> <h3>Breaking changes</h3> <ul> <li> <p><strong>Detection of more syntax errors</strong></p> <p>Ruff now detects version-related syntax errors, such as the use of the <code>match</code> statement on Python versions before 3.10, and syntax errors emitted by CPython's compiler, such as irrefutable <code>match</code> patterns before the final <code>case</code> arm.</p> </li> <li> <p><strong>New default Python version handling for syntax errors</strong></p> <p>Ruff will default to the <em>latest</em> supported Python version (3.13) when checking for the version-related syntax errors mentioned above to prevent false positives in projects without a Python version configured. The default in all other cases, like applying lint rules, is unchanged and remains at the minimum supported Python version (3.9).</p> </li> <li> <p><strong>Updated f-string formatting</strong></p> <p>Ruff now formats multi-line f-strings with format specifiers to avoid adding a line break after the format specifier. This addresses a change to the Python grammar in version 3.13.4 that made such a line break a syntax error.</p> </li> <li> <p><strong><code>rust-toolchain.toml</code> is no longer included in source distributions</strong></p> <p>The <code>rust-toolchain.toml</code> is used to specify a higher Rust version than Ruff's minimum supported Rust version (MSRV) for development and building release artifacts. However, when present in source distributions, it would also cause downstream package maintainers to pull in the same Rust toolchain, even if their available toolchain was MSRV-compatible.</p> </li> </ul> <h3>Removed Rules</h3> <p>The following rules have been removed:</p> <ul> <li><a href="https://docs.astral.sh/ruff/rules/suspicious-xmle-tree-usage/"><code>suspicious-xmle-tree-usage</code></a> (<code>S320</code>)</li> </ul> <h3>Deprecated Rules</h3> <p>The following rules have been deprecated:</p> <ul> <li><a href="https://docs.astral.sh/ruff/rules/pandas-df-variable-name/"><code>pandas-df-variable-name</code></a></li> </ul> <h3>Stabilization</h3> <!-- 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.12.0</h2> <p>Check out the <a href="https://astral.sh/blog/ruff-v0.12.0">blog post</a> for a migration guide and overview of the changes!</p> <h3>Breaking changes</h3> <ul> <li> <p><strong>Detection of more syntax errors</strong></p> <p>Ruff now detects version-related syntax errors, such as the use of the <code>match</code> statement on Python versions before 3.10, and syntax errors emitted by CPython's compiler, such as irrefutable <code>match</code> patterns before the final <code>case</code> arm.</p> </li> <li> <p><strong>New default Python version handling for syntax errors</strong></p> <p>Ruff will default to the <em>latest</em> supported Python version (3.13) when checking for the version-related syntax errors mentioned above to prevent false positives in projects without a Python version configured. The default in all other cases, like applying lint rules, is unchanged and remains at the minimum supported Python version (3.9).</p> </li> <li> <p><strong>Updated f-string formatting</strong></p> <p>Ruff now formats multi-line f-strings with format specifiers to avoid adding a line break after the format specifier. This addresses a change to the Python grammar in version 3.13.4 that made such a line break a syntax error.</p> </li> <li> <p><strong><code>rust-toolchain.toml</code> is no longer included in source distributions</strong></p> <p>The <code>rust-toolchain.toml</code> is used to specify a higher Rust version than Ruff's minimum supported Rust version (MSRV) for development and building release artifacts. However, when present in source distributions, it would also cause downstream package maintainers to pull in the same Rust toolchain, even if their available toolchain was MSRV-compatible.</p> </li> </ul> <h3>Removed Rules</h3> <p>The following rules have been removed:</p> <ul> <li><a href="https://docs.astral.sh/ruff/rules/suspicious-xmle-tree-usage/"><code>suspicious-xmle-tree-usage</code></a> (<code>S320</code>)</li> </ul> <h3>Deprecated Rules</h3> <p>The following rules have been deprecated:</p> <ul> <li><a href="https://docs.astral.sh/ruff/rules/pandas-df-variable-name/"><code>pandas-df-variable-name</code></a></li> </ul> <h3>Stabilization</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/87f0feb21a1af67195bebf94d811770393f9f447"><code>87f0feb</code></a> Bump 0.12.0 (<a href="https://redirect.github.com/astral-sh/ruff/issues/18724">#18724</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/685eac10e5cf64b73e73b6c517969cf30f259a3a"><code>685eac1</code></a> Revert "[ty] Offer "Did you mean...?" suggestions for unresolved <code>from</code> impor...</li> <li><a href="https://github.com/astral-sh/ruff/commit/a93992fa3075fcf3e625aa9413f914a5d2921af8"><code>a93992f</code></a> [<code>flake8-return</code>] Stabilize only add <code>return None</code> at the end when fixing `im...</li> <li><a href="https://github.com/astral-sh/ruff/commit/50f84808bcd30e28a698b6fca58a2fa76113887c"><code>50f8480</code></a> [<code>pyupgrade</code>] Stabilize <code>non-pep695-generic-function</code> (<code>UP047</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/18524">#18524</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/6754e94abcc9148e4443bf491cca40752ab354bc"><code>6754e94</code></a> [<code>pyupgrade</code>] Stabilize <code>non-pep695-generic-class</code> (<code>UP046</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/18519">#18519</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/33c8c7569d7188abf62fd70f01b4e65783debcc9"><code>33c8c75</code></a> [<code>pandas-vet</code>] Deprecate <code>pandas-df-variable-name</code> (<code>PD901</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/18618">#18618</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/34dc8e0531186400a66fbae9e623d4d320a774e8"><code>34dc8e0</code></a> [<code>flake8-bandit</code>] Remove <code>suspicious-xmle-tree-usage</code> (<code>S320</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/18617">#18617</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/b01195b166e60a4f54175ad2f659c69f10381469"><code>b01195b</code></a> Stabilize <code>dataclass-enum</code> (<code>RUF049</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/18570">#18570</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/ce176b1acf6f31a0c393266ae70f7eb0dd933314"><code>ce176b1</code></a> Stabilize <code>unnecessary-dict-index-lookup</code> (<code>PLR1733</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/18571">#18571</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/7072cf69b447ed56856647664741e3ba7555ae9a"><code>7072cf6</code></a> Remove rust-toolchain.toml from sdist (<a href="https://redirect.github.com/astral-sh/ruff/issues/17925">#17925</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.11.7...0.12.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 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> -- 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]
