GeezerVison is showing github.com — Update ruff to `0.15.6` by ShaharNaveh · Pull Request #7427 · RustPython/RustPython
Conversation
ShaharNaveh
commented
Mar 14, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary by CodeRabbit
- Chores
- Updated Ruff toolchain dependency to version 0.15.6
- Updated internal infrastructure and AST handling for improved compatibility
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Mar 14, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Caution
Review failed
Pull request was closed or merged during review
📝 Walkthrough
Walkthrough
The PR updates the Ruff toolchain dependency from tag 0.15.5 to 0.15.6 with corresponding git revision updates and adds placeholder support for lazy imports by introducing new is_lazy fields in tokenization and AST statement handling.
Changes
| Cohort / File(s) |
Summary |
Dependency Update Cargo.toml |
Bumped Ruff toolchain from 0.15.5 to 0.15.6; updated four Ruff-related git dependencies (ruff_python_parser, ruff_python_ast, ruff_text_size, ruff_source_file) to commit e4c7f357777a2fdd34dbe6a98b1b7d3e7488f675. |
Lazy Import Support crates/stdlib/src/_tokenize.rs, crates/vm/src/stdlib/_ast/statement.rs |
Added placeholder support for lazy imports: new match arm for TokenKind::Lazy returning u8::MAX; added is_lazy field (bool) to StmtImport and StmtImportFrom AST nodes, both initialized to false. |
Estimated code review effort
🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested reviewers
Poem
🐰 Lazy hops are on the way,
New fields blooming, fresh today,
Ruff now points to newer ground,
Placeholders hold what's soon to be found,
Version bumps and imports set,
The best improvements yet! 🌟
🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
| Check name |
Status |
Explanation |
Resolution |
| Docstring Coverage |
⚠️ Warning |
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. |
Write docstrings for the functions missing them to satisfy the coverage threshold. |
✅ Passed checks (2 passed)
| Check name |
Status |
Explanation |
| Description Check |
✅ Passed |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
✅ Passed |
The pull request title 'Update ruff to 0.15.6' directly aligns with the primary change in Cargo.toml, which bumps the Ruff toolchain from 0.15.5 to 0.15.6. However, the changeset also includes unrelated modifications to token handling and AST structures that are not reflected in the title. |
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create PR with unit tests
- Post copyable unit tests in a comment
📝 Coding Plan
- Generate coding plan for human review comments
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.
❤️ Share
Comment @coderabbitai help to get the list of available commands and usage tips.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
📦 Library Dependencies
The following Lib/ modules were modified. Here are their dependencies:
[ ] test: cpython/Lib/test/test_unpack.py (TODO: 1)
[ ] test: cpython/Lib/test/test_unpack_ex.py (TODO: 7)
dependencies:
dependent tests: (no tests depend on unpack)
Legend:
[+] path exists in CPython
[x] up-to-date, [ ] outdated
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
youknowone
pushed a commit
to youknowone/RustPython
that referenced
this pull request
Mar 19, 2026
* Update ruff to `0.15.6`
* Unmark passing tests
youknowone
pushed a commit
to youknowone/RustPython
that referenced
this pull request
Mar 22, 2026
* Update ruff to `0.15.6`
* Unmark passing tests
youknowone
pushed a commit
that referenced
this pull request
Sep 16, 2026
* Update ruff to `0.15.6`
* Unmark passing tests
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|