← Back to issue list

build(deps): update dependency ruff to ~=0.6.1 - autoclosed

View original Github issue

Metadata

Project
craft-grammar
Number
#43
Type
pull request
State
closed
Author
renovate[bot]
Labels
—
Created
Updated
Closed

Current evaluation

Autoclosed unmerged after #41 already applied the Ruff 0.6.1 update in commit 2f07089.

Resolution: closed superseded

Reason: The equivalent Ruff update was merged through canonical/craft-grammar#41 as commit 2f07089, so Renovate autoclosed PR #43 without merging it.

Evaluated by: mr-cal-bot

No scores available.

Issue body

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ruff](https://docs.astral.sh/ruff) ([source](https://togithub.com/astral-sh/ruff), [changelog](https://togithub.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | `~=0.5.7` -> `~=0.6.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.5.7/0.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.5.7/0.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.6.1`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#061) [Compare Source](https://togithub.com/astral-sh/ruff/compare/0.6.0...0.6.1) This is a hotfix release to address an issue with `ruff-pre-commit`. In v0.6, Ruff changed its behavior to lint and format Jupyter notebooks by default; however, due to an oversight, these files were still excluded by default if Ruff was run via pre-commit, leading to inconsistent behavior. This has [now been fixed](https://togithub.com/astral-sh/ruff-pre-commit/pull/96). ##### Preview features - \[`fastapi`] Implement `fast-api-unused-path-parameter` (`FAST003`) ([#&#8203;12638](https://togithub.com/astral-sh/ruff/pull/12638)) ##### Rule changes - \[`pylint`] Rename `too-many-positional` to `too-many-positional-arguments` (`R0917`) ([#&#8203;12905](https://togithub.com/astral-sh/ruff/pull/12905)) ##### Server - Fix crash when applying "fix-all" code-action to notebook cells ([#&#8203;12929](https://togithub.com/astral-sh/ruff/pull/12929)) ##### Other changes - \[`flake8-naming`]: Respect import conventions (`N817`) ([#&#8203;12922](https://togithub.com/astral-sh/ruff/pull/12922)) ### [`v0.6.0`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#060) [Compare Source](https://togithub.com/astral-sh/ruff/compare/0.5.7...0.6.0) Check out the [blog post](https://astral.sh/blog/ruff-v0.6.0) for a migration guide and overview of the changes! ##### Breaking changes See also, the "Remapped rules" section which may result in disabled rules. - Lint and format Jupyter Notebook by default ([#&#8203;12878](https://togithub.com/astral-sh/ruff/pull/12878)). - Detect imports in `src` layouts by default for `isort` rules ([#&#8203;12848](https://togithub.com/astral-sh/ruff/pull/12848)) - The pytest rules `PT001` and `PT023` now default to omitting the decorator parentheses when there are no arguments ([#&#8203;12838](https://togithub.com/astral-sh/ruff/pull/12838)). ##### Deprecations The following rules are now deprecated: - [`pytest-missing-fixture-name-underscore`](https://docs.astral.sh/ruff/rules/pytest-missing-fixture-name-underscore/) (`PT004`) - [`pytest-incorrect-fixture-name-underscore`](https://docs.astral.sh/ruff/rules/pytest-incorrect-fixture-name-underscore/) (`PT005`) - [`unpacked-list-comprehension`](https://docs.astral.sh/ruff/rules/unpacked-list-comprehension/) (`UP027`) ##### Remapped rules The following rules have been remapped to new rule codes: - [`unnecessary-dict-comprehension-for-iterable`](https://docs.astral.sh/ruff/rules/unnecessary-dict-comprehension-for-iterable/): `RUF025` to `C420` ##### Stabilization The following rules have been stabilized and are no longer in preview: - [`singledispatch-method`](https://docs.astral.sh/ruff/rules/singledispatch-method/) (`PLE1519`) - [`singledispatchmethod-function`](https://docs.astral.sh/ruff/rules/singledispatchmethod-function/) (`PLE1520`) - [`bad-staticmethod-argument`](https://docs.astral.sh/ruff/rules/bad-staticmethod-argument/) (`PLW0211`) - [`if-stmt-min-max`](https://docs.astral.sh/ruff/rules/if-stmt-min-max/) (`PLR1730`) - [`invalid-bytes-return-type`](https://docs.astral.sh/ruff/rules/invalid-bytes-return-type/) (`PLE0308`) - [`invalid-hash-return-type`](https://docs.astral.sh/ruff/rules/invalid-hash-return-type/) (`PLE0309`) - [`invalid-index-return-type`](https://docs.astral.sh/ruff/rules/invalid-index-return-type/) (`PLE0305`) - [`invalid-length-return-type`](https://docs.astral.sh/ruff/rules/invalid-length-return-type/) (`E303`) - [`self-or-cls-assignment`](https://docs.astral.sh/ruff/rules/self-or-cls-assignment/) (`PLW0642`) - [`byte-string-usage`](https://docs.astral.sh/ruff/rules/byte-string-usage/) (`PYI057`) - [`duplicate-literal-member`](https://docs.astral.sh/ruff/rules/duplicate-literal-member/) (`PYI062`) - [`redirected-noqa`](https://docs.astral.sh/ruff/rules/redirected-noqa/) (`RUF101`) The following behaviors have been stabilized: - [`cancel-scope-no-checkpoint`](https://docs.astral.sh/ruff/rules/cancel-scope-no-checkpoint/) (`ASYNC100`): Support `asyncio` and `anyio` context mangers. - [`async-function-with-timeout`](https://docs.astral.sh/ruff/rules/async-function-with-timeout/) (`ASYNC109`): Support `asyncio` and `anyio` context mangers. - [`async-busy-wait`](https://docs.astral.sh/ruff/rules/async-busy-wait/) (`ASYNC110`): Support `asyncio` and `anyio` context mangers. - [`async-zero-sleep`](https://docs.astral.sh/ruff/rules/async-zero-sleep/) (`ASYNC115`): Support `anyio` context mangers. - [`long-sleep-not-forever`](https://docs.astral.sh/ruff/rules/long-sleep-not-forever/) (`ASYNC116`): Support `anyio` context mangers. The following fixes have been stabilized: - [`superfluous-else-return`](https://docs.astral.sh/ruff/rules/superfluous-else-return/) (`RET505`) - [`superfluous-else-raise`](https://docs.astral.sh/ruff/rules/superfluous-else-raise/) (`RET506`) - [`superfluous-else-continue`](https://docs.astral.sh/ruff/rules/superfluous-else-continue/) (`RET507`) - [`superfluous-else-break`](https://docs.astral.sh/ruff/rules/superfluous-else-break/) (`RET508`) ##### Preview features - \[`flake8-simplify`] Further simplify to binary in preview for (`SIM108`) ([#&#8203;12796](https://togithub.com/astral-sh/ruff/pull/12796)) - \[`pyupgrade`] Show violations without auto-fix (`UP031`) ([#&#8203;11229](https://togithub.com/astral-sh/ruff/pull/11229)) ##### Rule changes - \[`flake8-import-conventions`] Add `xml.etree.ElementTree` to default conventions ([#&#8203;12455](https://togithub.com/astral-sh/ruff/pull/12455)) - \[`flake8-pytest-style`] Add a space after comma in CSV output (`PT006`) ([#&#8203;12853](https://togithub.com/astral-sh/ruff/pull/12853)) ##### Server - Show a message for incorrect settings ([#&#8203;12781](https://togithub.com/astral-sh/ruff/pull/12781)) ##### Bug fixes - \[`flake8-async`] Do not lint yield in context manager (`ASYNC100`) ([#&#8203;12896](https://togithub.com/astral-sh/ruff/pull/12896)) - \[`flake8-comprehensions`] Do not lint `async for` comprehensions (`C419`) ([#&#8203;12895](https://togithub.com/astral-sh/ruff/pull/12895)) - \[`flake8-return`] Only add return `None` at end of a function (`RET503`) ([#&#8203;11074](https://togithub.com/astral-sh/ruff/pull/11074)) - \[`flake8-type-checking`] Avoid treating `dataclasses.KW_ONLY` as typing-only (`TCH003`) ([#&#8203;12863](https://togithub.com/astral-sh/ruff/pull/12863)) - \[`pep8-naming`] Treat `type(Protocol)` et al as metaclass base (`N805`) ([#&#8203;12770](https://togithub.com/astral-sh/ruff/pull/12770)) - \[`pydoclint`] Don't enforce returns and yields in abstract methods (`DOC201`, `DOC202`) ([#&#8203;12771](https://togithub.com/astral-sh/ruff/pull/12771)) - \[`ruff`] Skip tuples with slice expressions in (`RUF031`) ([#&#8203;12768](https://togithub.com/astral-sh/ruff/pull/12768)) - \[`ruff`] Ignore unparenthesized tuples in subscripts when the subscript is a type annotation or type alias (`RUF031`) ([#&#8203;12762](https://togithub.com/astral-sh/ruff/pull/12762)) - \[`ruff`] Ignore template strings passed to logging and `builtins._()` calls (`RUF027`) ([#&#8203;12889](https://togithub.com/astral-sh/ruff/pull/12889)) - \[`ruff`] Do not remove parens for tuples with starred expressions in Python <=3.10 (`RUF031`) ([#&#8203;12784](https://togithub.com/astral-sh/ruff/pull/12784)) - Evaluate default parameter values for a function in that function's enclosing scope ([#&#8203;12852](https://togithub.com/astral-sh/ruff/pull/12852)) ##### Other changes - Respect VS Code cell metadata when detecting the language of Jupyter Notebook cells ([#&#8203;12864](https://togithub.com/astral-sh/ruff/pull/12864)) - Respect `kernelspec` notebook metadata when detecting the preferred language for a Jupyter Notebook ([#&#8203;12875](https://togithub.com/astral-sh/ruff/pull/12875)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/canonical/craft-grammar). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Autoclosed unmerged after #41 already applied the Ruff 0.6.1 update in commit 2f07089.
stealth/space-bunny-alpha — closed superseded Autoclosed unmerged; Ruff 0.6.1 was already applied by merged PR canonical/craft-grammar#41 in commit 2f07089.
qwen/qwen3.6-35b-a3b — — Renovate automatically closed this dependency update for ruff to version 0.6.1 without merging. The pull request was autoclosed, leaving the change unapplied.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/craft-grammar#41 (confidence 100%)

    Merged PR #41 applied Ruff 0.6.1 in commit 2f07089 before #43 was autoclosed.

Related issues

Issue Project State Summary Similarity
#71 build(deps): update dependency ruff to ~=0.9.3 - autoclosed craft-grammar closed Renovate PR to bump ruff from ~=0.7.0 to ~=0.9.3 was closed unmerged (autoclosed, 0 comments). The dev dependency was later updated to ~=0.11.2 by merged PR #85 (commit 93ac0ac).
91%
#85 build(deps): update dependency ruff to ~=0.11.2 craft-grammar merged Merged PR #85 as commit 93ac0ac, updating Ruff from ~=0.7.0 to ~=0.11.2.
88%
#41 build(deps): update to ruff 0.6.1 craft-grammar merged Renovate-style dependency bump PR updating the Ruff build dependency to 0.6.1 across three files (+4/-4). Approved by 2 reviewers with no unresolved comments and merged into main as commit 2f07089.
86%
#811 build(deps): update dependency ruff to v0.12.10 (hotfix/1.20) craft-providers closed Ruff 0.12.10 update was closed unmerged after CI failures; Renovate said it would skip that version and retry with a newer release.
84%
#2367 build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.4 (main) - autoclosed charmcraft closed Autoclosed unmerged after 429 days; the Ruff hook remained at v0.11.12. Commit 20991a20 later applied v0.12.4.
81%
#144 build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.13.3 - autoclosed craft-grammar closed Autoclosed without merge; the v0.13.3 ruff-pre-commit update was superseded by #145, which merged v0.14.0 in commit bdeab80.
81%
#99 build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.12.1 - autoclosed craft-grammar closed Autoclosed unmerged after Ruff 0.12 Snap availability was delayed; later PR #142 merged ruff-pre-commit v0.13.2 in commit 4896319.
81%
#862 build(deps): update bugfixes (hotfix/5.6) - autoclosed craft-application closed Renovate autoclosed the unmerged hotfix/5.6 update for Ruff v0.12.9 and setuptools v80.9.0; no resolving commit was merged.
80%
#94 build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.11.13 - autoclosed craft-grammar closed Renovate autoclosed the unmerged ruff-pre-commit v0.11.13 update when v0.12.0 superseded it; the replacement landed in #407 via commit c576d42.
80%
#63 build(deps): update dependency ruff to ~=0.7.0 craft-grammar merged Renovate dependency bump PR canonical/craft-grammar#63 merged into main, updating the ruff pre-commit hook constraint from ~=0.6.1 to ~=0.7.0 in commit f438853.
80%