GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update ruff to `0.15.6` by ShaharNaveh · Pull Request #7427 · RustPython/RustPython

Conversation

@ShaharNaveh

@ShaharNaveh ShaharNaveh commented Mar 14, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

All reactions
@ShaharNaveh
Update ruff to 0.15.6
b03a027
@coderabbitai

coderabbitai Bot commented Mar 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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

  • Update ruff to 0.15.0 #7086: Updates the same Ruff git dependencies in Cargo.toml to a newer revision.
  • Update ruff to 0.15.1 #7105: Modifies Ruff-related git dependency entries in Cargo.toml with version bumps.
  • Update to ruff 0.14.14 #6861: Bumps Ruff toolchain and associated crate dependencies in Cargo.toml.

Suggested reviewers

  • youknowone

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
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands and usage tips.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ShaharNaveh
Unmark passing tests
7880942
@github-actions

github-actions Bot commented Mar 14, 2026

Copy link
Copy Markdown
Contributor

📦 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
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ShaharNaveh
ShaharNaveh commented Mar 14, 2026
View reviewed changes
Comment thread Lib/test/test_unpack_ex.py

@ShaharNaveh ShaharNaveh Mar 14, 2026

Copy link
Copy Markdown
Contributor Author

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.

Seems that astral-sh/ruff@8bc437e did great:)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ShaharNaveh ShaharNaveh mentioned this pull request Mar 14, 2026
Enable PEP 709 inlined comprehensions #7412
Merged
7 tasks done
@ShaharNaveh
ShaharNaveh marked this pull request as ready for review March 14, 2026 11:14
youknowone
youknowone approved these changes Mar 14, 2026
View reviewed changes

@youknowone youknowone left a comment

Copy link
Copy Markdown
Member

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.

All reactions
@youknowone
youknowone merged commit 0c14ad1 into RustPython:main Mar 14, 2026
15 of 16 checks passed

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
@ShaharNaveh @youknowone
Update ruff to 0.15.6 (RustPython#7427)
47b9866
* Update ruff to `0.15.6`

* Unmark passing tests
youknowone pushed a commit to youknowone/RustPython that referenced this pull request Mar 22, 2026
@ShaharNaveh
Update ruff to 0.15.6 (RustPython#7427)
8d69853
* Update ruff to `0.15.6`

* Unmark passing tests
@coderabbitai coderabbitai Bot mentioned this pull request Mar 29, 2026
Ruff fork #7532
Merged
youknowone pushed a commit that referenced this pull request Sep 16, 2026
@ShaharNaveh
Update ruff to 0.15.6 (#7427)
17ac738
* Update ruff to `0.15.6`

* Unmark passing tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@youknowone youknowone youknowone approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

2 participants

@ShaharNaveh @youknowone
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.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.