Introduce /upgrade-pylib-next#6827
Conversation
📝 WalkthroughWalkthroughThree new Claude command documents added to guide test failure investigation and Python library upgrades. The first provides structured debugging procedures for failing tests. The second automates selection of next upgrade candidates. The third substantially restructures the upgrade workflow with expanded guidance for test management and git workflows. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
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. Comment |
Sorry, something went wrong.
cb9edb5 to
eb416e9
Compare
January 21, 2026 09:47
273678f to
fc57173
Compare
January 22, 2026 05:39
fc57173 to
50abeca
Compare
January 23, 2026 13:20
This pull request updates `types` module to v3.14.2. While doing it, it fixes also async-related feature. This pull request's base is generated by #6827. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Generators that act as iterable coroutines are now recognized as awaitable, improving async behavior. * Yield-from and await interactions now handle coroutine-iterable sources more consistently. * **Bug Fixes** * Reduces spurious TypeError cases when awaiting or yielding from wrapped coroutine-like generators. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
23e2a99 to
d24423b
Compare
January 23, 2026 15:40
d24423b to
2783211
Compare
January 30, 2026 21:53
2783211 to
01c614d
Compare
January 30, 2026 22:32
|
Can we merge this pull request? I haven't been able to do much dogfooding these past few days, but I still find it useful. cc #6833 |
Sorry, something went wrong.
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Fix all issues with AI agents
In @.claude/commands/upgrade-pylib.md:
- Around line 110-120: Update the fenced "Example Usage" code block to include a
language identifier so syntax highlighting is applied; specifically add "bash"
after the opening triple backticks for the block that contains the
/upgrade-pylib usage examples (lines showing "/upgrade-pylib inspect",
"/upgrade-pylib json", "/upgrade-pylib asyncio" and the path examples) so the
block begins with ```bash instead of ```; no other changes to the content are
needed.
- Around line 51-71: Step 3's markdown code blocks lack language identifiers;
update the code fences around the shell commands in the “Investigate test
failures with subagent” section to use ```bash (or ```sh) for the three examples
containing the commands `cargo run --release -- scripts/update_lib deps
$ARGUMENTS`, `cargo run --release -- -m test test_xxx test_yyy ... 2>&1 | grep
-E "^(FAIL|ERROR):"`, and the example `cargo run --release -- -m test test_bdb
test_inspect test_linecache test_traceback test_zipimport 2>&1 | grep -E
"^(FAIL|ERROR):"` so they render with proper syntax highlighting.
- Around line 1-3: The allowed-tools header currently permits only Bash(git
add:*), Bash(git commit:*), Bash(python3 scripts/update_lib quick:*), and
Bash(python3 scripts/update_lib auto-mark:*), but the workflow runs cargo run
--release -- scripts/update_lib deps; update the allowed-tools header to also
include Bash(python3 scripts/update_lib deps:*) (or the equivalent pattern used
for quick/auto-mark) so the `deps` subcommand is allowed; ensure the new entry
matches the existing pattern for `quick` and `auto-mark` to permit the deps
invocation and related test commands.
Sorry, something went wrong.
0c17462
into
RustPython:main
Jan 30, 2026
This pull request introduces
/upgrade-pylib-nextcommand to find a module to update by runningscripts/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 useauto-marksubcommand to test newly introduced tests also.Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.