| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
WalkthroughFour ruff-related dependencies in Cargo.toml were changed from git tag "0.14.1" to a specific git revision 2bffef59665ce7d2630dfd72ee99846663660db8; repository URLs remain unchanged and no other files or configs were modified. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
📜 Recent review details Configuration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro 📥 CommitsReviewing files that changed from the base of the PR and between a2b665e and cd30f90. ⛔ Files ignored due to path filters (1)
Learnt from: CR Repo: RustPython/RustPython PR: 0 File: .github/copilot-instructions.md:0-0 Timestamp: 2025-11-29T12:17:28.606Z Learning: Applies to **/*.py : Use ruff for linting Python code Applied to files:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. ❤️ ShareComment @coderabbitai help to get the list of available commands and usage tips. |
Sorry, something went wrong.
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)Cargo.toml (1)📜 Review details154-157: Approve dependency pinning strategy.
The conversion from tag-based to revision-based pinning across all four ruff crates is the correct approach to prevent the vendoring issues caused by moving tags. Using the same revision hash for all four interdependent crates ensures compatibility.
Consider adding a brief comment above these dependencies to document which upstream release this revision corresponds to, for future maintainers:
+# Pinned to revision of Ruff v0.14.1 tag for stable vendoring (tags can move/realias) +# See: https://github.com/astral-sh/ruff/releases/tag/0.14.1 ruff_python_parser = { git = "https://github.com/astral-sh/ruff.git", rev = "2bffef59665ce7d2630dfd72ee99846663660db8" }
Configuration used: Path: .coderabbit.yml
Review profile: CHILL
Plan: Pro
📥 CommitsReviewing files that changed from the base of the PR and between a99164f and a2b665e.
⛔ Files ignored due to path filters (1)Learnt from: CR Repo: RustPython/RustPython PR: 0 File: .github/copilot-instructions.md:0-0 Timestamp: 2025-11-29T12:17:28.606Z Learning: Applies to Lib/**/*.py : Minimize modifications to CPython standard library files in the `Lib/` directory; modifications should be minimal and only to work around RustPython limitations
Learnt from: CR Repo: RustPython/RustPython PR: 0 File: .github/copilot-instructions.md:0-0 Timestamp: 2025-11-29T12:17:28.606Z Learning: Applies to **/*.py : Use ruff for linting Python code
Applied to files:
Sorry, something went wrong.
| ruff_python_parser = { git = "https://github.com/astral-sh/ruff.git", rev = "2bffef59665ce7d2630dfd72ee99846663660db8" } | ||
| ruff_python_ast = { git = "https://github.com/astral-sh/ruff.git", rev = "2bffef59665ce7d2630dfd72ee99846663660db8" } | ||
| ruff_text_size = { git = "https://github.com/astral-sh/ruff.git", rev = "2bffef59665ce7d2630dfd72ee99846663660db8" } | ||
| ruff_source_file = { git = "https://github.com/astral-sh/ruff.git", rev = "2bffef59665ce7d2630dfd72ee99846663660db8" } |
There was a problem hiding this comment.
⚠️ Potential issue | 🟡 Minor
🧩 Analysis chain🏁 Script executed:
#!/bin/bash
# Verify the revision hash in the ruff repository
# Check if the commit hash is accessible and what tag it belongs to
echo "=== Checking if commit hash exists in ruff repository ==="
git ls-remote https://github.com/astral-sh/ruff.git 2bffef59665ce7d2630dfd72ee99846663660db8 2>&1 | head -10
echo -e "\n=== Checking all tags pointing to or near this commit ==="
git ls-remote --tags https://github.com/astral-sh/ruff.git | grep -E "(0\.14|2bffef)" | head -20
echo -e "\n=== Confirming tag 0.14.1 exists ==="
git ls-remote --tags https://github.com/astral-sh/ruff.git refs/tags/0.14.1 2>&1
echo -e "\n=== Getting the commit hash of tag 0.14.1 ==="
git ls-remote --tags https://github.com/astral-sh/ruff.git refs/tags/0.14.1 2>&1 | awk '{print $1}'
echo -e "\n=== Checking recent tags ==="
git ls-remote --tags https://github.com/astral-sh/ruff.git | grep -E "^[a-f0-9]" | tail -20Repository: RustPython/RustPython
Length of output: 186
🌐 Web query:
ruff commit 2bffef59665ce7d2630dfd72ee99846663660db8 tag 0.14.1
💡 Result:
Yes — the GitHub release tag 0.14.1 points to commit 2bffef59665ce7d2630dfd72ee99846663660db8 (short: 2bffef5). Released Oct 16, 2025. [1][2]
Sources:
[1] GitHub release page for 0.14.1.
[2] Commit view (Bump 0.14.1 — 2bffef5).
🌐 Web query:
astral-sh ruff 0.14.1 release tag commit
💡 Result:
The 0.14.1 release tag points to commit 2bffef59665ce7d2630dfd72ee99846663660db8 (released 2025-10-16). [1][2]
Sources:
[1] astral-sh/ruff Releases (0.14.1).
[2] Commit 2bffef59665ce7d2630dfd72ee99846663660db8 on astral-sh/ruff.
🌐 Web query:
ruff Python linter version 0.14.1 release notes
💡 Result:
Ruff v0.14.1 — Release notes (released Oct 16, 2025)
Sources: GitHub release notes for ruff 0.14.1. [1] Additional changelog mirror. [2]
References:
[1] GitHub — astral-sh/ruff: Release 0.14.1 (Oct 16, 2025).
[2] Ruff CHANGELOG / mirrors (0.14.1).
🌐 Web query:
ruff releases after 0.14.1 0.15 0.14.2 latest version 2025
💡 Result:
Ruff releases after 0.14.1 (Oct 16, 2025) in 2025:
There is no 0.15 release listed on the official releases page as of these entries. [1]
Source: Ruff releases (astral-sh/ruff) on GitHub. [1]
🌐 Web query:
astral-sh ruff latest release version December 2025
💡 Result:
The latest ruff release is v0.14.8 — released December 4, 2025. [1][2]
Sources:
[1] astral-sh/ruff Releases (GitHub).
[2] Astral — ruff / product site.
Update dependencies to the latest ruff patch version.
The revision hash 2bffef59665ce7d2630dfd72ee99846663660db8 correctly corresponds to tag 0.14.1. However, seven patch releases have been published since (0.14.2 through 0.14.8, released Dec 4, 2025). Consider updating to 0.14.8 or the latest stable patch to incorporate bug fixes and improvements from recent releases.
Sorry, something went wrong.
There was a problem hiding this comment.
Generally, I'm fine with this change. Can you please add the tag version as a comment? it will be easier to track which ruff version we use.
Ty:)
Sorry, something went wrong.
Tags can move and be re-aliased to different revisions, and this actually freezes the rev (similar to how a published crate would) so that it only applies to this specific commit hash.
There was a problem hiding this comment.
Thanks! I didn't know tag is possible to cause problems
Sorry, something went wrong.
|
Could you tell me what are you building with RustPython if you don't mind? Just in curiuos. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Tags can move and be re-aliased to different revisions, and this actually freezes the rev (similar to how a published crate would) so that it only applies to this specific commit hash. (Tag release link: https://github.com/astral-sh/ruff/releases/tag/0.14.1)
This has caused some minor problems when vendoring sources where Ruff is used by other projects and is already pulled in by a rev, causing cargo vendor to crash.
Thanks for the awesome project!
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.