Skip to content

Add Ruff known versions up to 0.15.5#23163

Merged
benjyw merged 2 commits intopantsbuild:mainfrom
jbsilva:ruff-known-versions
Mar 12, 2026
Merged

Add Ruff known versions up to 0.15.5#23163
benjyw merged 2 commits intopantsbuild:mainfrom
jbsilva:ruff-known-versions

Conversation

@jbsilva
Copy link
Copy Markdown
Contributor

@jbsilva jbsilva commented Mar 10, 2026

I wanted to select a specific version of Ruff to match the one used in my CI and saw that it was not in the default list.

I updated the list manually, following the existing conventions (discussed in #23045).

All values come directly from https://github.com/astral-sh/ruff/releases.

I kept the default version as 0.14.14, as Ruff v0.15 contains some breaking changes.

@jbsilva jbsilva force-pushed the ruff-known-versions branch from 589b516 to a4dd7ca Compare March 11, 2026 19:16
Copy link
Copy Markdown
Contributor

@benjyw benjyw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got Claude to verify these, although since we compute the URLs ourselves and they are always pointing to https://github.com/astral-sh/ruff/releases, the potential harm is only an undownloadable release, not a malicious one from another URL.

Thanks @jbsilva !

@benjyw benjyw merged commit 819035d into pantsbuild:main Mar 12, 2026
48 of 50 checks passed
benjyw pushed a commit to benjyw/pants that referenced this pull request Mar 13, 2026
I wanted to select a specific version of Ruff to match the one used in
my CI and saw that it was not in the default list.

I updated the list manually, following the existing conventions
(discussed in pantsbuild#23045).

All values come directly from
https://github.com/astral-sh/ruff/releases.

I kept the default version as 0.14.14, as Ruff v0.15 contains some
[breaking changes](https://astral.sh/blog/ruff-v0.15.0).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants