Add Ruff known versions up to 0.15.5#23163
Merged
benjyw merged 2 commits intopantsbuild:mainfrom Mar 12, 2026
Merged
Conversation
589b516 to
a4dd7ca
Compare
benjyw
approved these changes
Mar 11, 2026
Contributor
benjyw
left a comment
There was a problem hiding this comment.
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
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.