build: use ruff snap
Metadata
Current evaluation
Merged PR #1387 in commit 4fae04dc, switching Charmcraft CI and tox from Ruff's Python package to the Ruff Snap as a canary.
Resolution: closed resolved
Reason: PR #1387 was approved and merged into main as commit 4fae04dc, implementing the Ruff Snap integration in CI and tox.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Uses the version of ruff from snap in CI and tox.
Testing this in charmcraft as a canary before changing all of our repos over.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1387 in commit 4fae04dc, switching Charmcraft CI and tox from Ruff's Python package to the Ruff Snap as a canary. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged canonical/charmcraft#1387, switching CI and tox from Ruff’s Python package to its Snap as a canary before adopting the change across other repositories. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Replaces ruff usage in CI and tox with the snap package as a canary test before broader rollout. Approved by two reviewers. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Updates CI and tox to use the ruff snap package, serving as a canary test for broader repository adoption. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #597 build(deps): use the ruff snap | craft-providers | merged | Merged PR #597 as commit c5f35a0, replacing a frozen pip-installed Ruff version with the latest Ruff snap for development tooling. | |
| #206 build: use ruff from snap | craft-application | merged | Merged as commit 9f8fcc62; four build files were updated to invoke Ruff from its Snap. | |
| #4602 build(lint): use ruff from snap | snapcraft | merged | Merged PR #4602 (8a9a5c212) replaced pyright-based CI linting with Ruff supplied by its snap for more predictable tool upgrades. | |
| #4939 build(deps): use the ruff snap | snapcraft | merged | Merged in snapcraft#4939 via commit 8f2afd58a, formalizing Ruff snap use, adopting ruff check, and updating compatibility and documentation. | |
| #207 build(deps): use ruff from snap | craft-store | merged | Merged PR #207, commit 27bc107, updating four build files to install and use Ruff from its Snap. | |
| #1517 build: update ruff settings | charmcraft | merged | Merged into charmcraft as commit 33854f04, updating the project's Ruff lint configuration (+6/-6). | |
| #1941 fix(templates): replace flake8 and pydocstyle with ruff | charmcraft | merged | Merged PR #1941 (commit 9aba24c4) replaced flake8 and pydocstyle with Ruff in Charmcraft templates, resolving #1461. | |
| #1461 Replace flake8 and pydocstyle template tests with ruff | charmcraft | closed | Ruff replaced flake8 and pydocstyle in Charmcraft template validation via merged PR #1941 (commit 9aba24c4). | |
| #204 chore: use ruff snap | starbase | merged | Merged PR #204 in commit 09b91ba, switching Ruff usage in four files to the Ruff snap. | |
| #1390 chore(deps): update dependency ruff to v0.1.6 - autoclosed | charmcraft | closed | Ruff 0.1.6 was not merged; charmcraft had switched from the PyPI dependency to Ruff's Snap in merged PR #1387 (commit 4fae04dc). |