Skip to content

Update Ruff fork dependencies to rustpython-0.17.5 - #9831

Merged
youknowone merged 1 commit into
RustPython:mainfrom
youknowdot:update-ruff-0.17.5
Nov 14, 2026
Merged

youknowone merged 1 commit into
RustPython:mainfrom
youknowdot:update-ruff-0.17.5

Conversation

@youknowone

@youknowone youknowone commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Summary

Update all four Ruff dependencies from 9290a884 to the published rustpython-0.17.5 baseline b5960a1a15cd7a758c8e7df1b3b9d93f00288a16. Explicitly enable the now-optional parser stacker feature to preserve existing stack growth. Retain all compiler/VM diagnostics and fork AST extensions.

RustPython/ruff#7 remains open against this release branch; its additional PEP 798/diagnostic patches are not included in this baseline pin. RustPython/ruff#9 is a separate dependent runtime-hook proposal and is also not included. Neither is being silently treated as merged.

Verification

Before rebasing onto current main 9a82f61ca, the same dependency change passed:

  • Workspace Rust tests: 1,555 passed, 21 ignored.
  • C-API: 149 passed, 2 ignored.
  • Workspace and C-API Clippy exited successfully, without -D warnings; unchanged Rust 1.100 warnings remained.
  • -m test test_grammar test_syntax test_ast test_fstring: four modules passed, 430 tests, 17 skipped.
  • Fork parser/AST default/all-feature tests, including 609 parser fixtures and 14 stack-growth tests.

The final rebase was conflict-free with no intervening main changes to Cargo.toml or Cargo.lock. Final locked/offline Cargo metadata and diff whitespace checks passed. Full runtime suites were not rerun locally after this rebase. The final head 270d039776be20199041c003883ad341deeeb829 has now passed CI run 43521709370, including Linux/macOS/Windows Rust and Python tests, all three Clippy jobs, WASI tests, WASM checks, and cross-target checks. All 27 reported checks are complete: 26 succeeded and the base/head/CPython performance comparison was skipped. Windows C-API build/tests/doctests were also skipped within the successful Windows Rust-test job, so no Windows C-API or comparative performance validation is claimed.

Same-environment old/new-pin CPython 3.15.2 comparison confirms improvements for first(); match = value and bare raise before a semicolon. Two pre-existing position differences remain unchanged: a match statement after a semicolon, and a malformed Unicode escape following a non-ASCII character. Test success does not establish complete CPython compatibility or justify deleting compatibility patches.

AI assistance: OpenAI Codex prepared and validated this update.

Retain explicit stacker support and existing compatibility patches.

Assisted-by: Codex:gpt-6.1-sol
@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@youknowone
youknowone marked this pull request as ready for review November 14, 2026 01:15
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-14T01:15:32.949654Z
We couldn’t complete this review. Comment @codex review to try again.
270d039 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@youknowone
youknowone merged commit 1d17957 into RustPython:main Nov 14, 2026
27 checks passed
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