Skip to content

Conversation

@moreal
Copy link
Contributor

@moreal moreal commented Jan 21, 2026

This pull request introduces /upgrade-pylib-next command to find a module to update by running scripts/update_lib todo (#6823). It just finds a module to update and delegates other to /upgrade-pylib. (cc #6580)

This pull request also has changes about /upgrade-pylib. It became to use auto-mark subcommand to test newly introduced tests also.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 21, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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.

- **Test assertion failure**`@unittest.expectedFailure` with `# TODO: RUSTPYTHON` comment
- **Panic/crash**`@unittest.skip("TODO: RUSTPYTHON; <panic message>")`
- **Class-specific markers**: If a test fails only in the C implementation (TestCFoo) but passes in the Python implementation (TestPyFoo), or vice versa, add the marker to the specific subclass, not the base class:
3. **Mark remaining test failures with auto-mark**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

quick now auto-mark newly added failing tests. only regressions are remained failing.
Before step 3, let's add review the failing tests and analyze If that's justified to mark failure or not.
Lots of them will be better to report issue or worth to try fix them; otherwise upgrade the dependency lib first.

Copy link
Contributor Author

@moreal moreal Jan 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm dogfooding this command, and as your suggestion, it fixes a failed test automatically!

38ff638

(Other tests (snippets) seem to fail but anyway 😅)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, it is good as long as it doesn't blindly mark everything expectedFailure

@moreal moreal force-pushed the upgrade-pylib-next branch from cb9edb5 to eb416e9 Compare January 21, 2026 09:47
@youknowone youknowone added the skip:ci Skip running the ci label Jan 21, 2026
@moreal moreal force-pushed the upgrade-pylib-next branch from 085328e to 273678f Compare January 21, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip:ci Skip running the ci

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants