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 — Add gh-aw agentic workflow for upgrading Python libraries by youknowone · Pull Request #7117 · RustPython/RustPython

Conversation

@youknowone

@youknowone youknowone commented Feb 14, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Member
  • upgrade-pylib.md: Claude-based workflow triggered via workflow_dispatch
  • Runs scripts/update_lib quick <name> to sync a library from CPython
  • Creates a PR with the result, referencing issue Upgrade Python libraries and test from Python 3.14 #6839

Summary by CodeRabbit

  • Chores
    • Implemented enhanced workflow automation framework for improved Python library upgrade processes with better orchestration.
    • Added dependency lock management to ensure GitHub Actions version consistency and reproducibility across CI/CD pipelines.
    • Updated repository metadata configuration for improved workflow classification and merge behavior.
    • Applied minor code formatting improvements to enhance code maintainability.

Sorry, something went wrong.

Uh oh!

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

All reactions
@youknowone
Add gh-aw agentic workflow for upgrading Python libraries
41029ee
- upgrade-pylib.md: Claude-based workflow triggered via workflow_dispatch
- Runs `scripts/update_lib quick <name>` to sync a library from CPython
- Creates a PR with the result, referencing issue RustPython#6839
@coderabbitai

coderabbitai Bot commented Feb 14, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

Introduces a new automated Python standard library upgrade workflow with multi-job orchestration (activation, agent, conclusion, detection, safe outputs), adds GitHub Actions lock configuration and updates .gitattributes for workflow file handling. Includes minor formatting adjustments in the time module.

Changes

Cohort / File(s) Summary
Repository Configuration
.gitattributes
Added linguist-generated attribute and merge strategy for .github/workflows/*.lock.yml files.
GitHub Actions Infrastructure
.github/aw/actions-lock.json
New lock file containing versioned dependencies for actions/github-script@v8 and github/gh-aw/actions/[email protected] with SHA references.
Upgrade Workflow Automation
.github/workflows/upgrade-pylib.lock.yml, .github/workflows/upgrade-pylib.md
New workflow pipeline for automating Python standard library upgrades with multi-stage orchestration (activation, agent execution, threat detection, safe outputs processing) and supporting documentation; includes Claude-based agent workflow, MCP server management, artifact handling, and PR creation with validation schemas.
Code Formatting
crates/vm/src/stdlib/time.rs
Minor formatting adjustment to tm_from_struct_time parameter layout and inline refactor of error return statement in pyobj_to_time_t; no behavioral changes.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Possibly related issues

  • [RFC] The way to update Python standard library #5974: Directly implements the automated Python standard-library upgrade workflow with lock files and multi-stage orchestration for RFC-proposed Lib/ updates.

Possibly related PRs

  • Introduce /upgrade-pylib-next #6827: Complements this PR by adding the upgrade-pylib command/docs and invocation patterns for the same workflow surface.
  • update test_time and implement more time module #7073: Introduces substantive changes to the same time module functions (tm_from_struct_time, pyobj_to_time_t) that receive formatting edits here.

Suggested labels

skip:ci

Poem

🐰 A workflow takes shape, lock files in place,
While Python libs upgrade at a steady pace,
Claude and Safe Outputs dance through the night,
PR creation flows—automation done right! 🚀

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

@github-actions
Auto-format: cargo fmt --all
ae2872d
@github-actions

github-actions Bot commented Feb 14, 2026

Copy link
Copy Markdown
Contributor

Code has been automatically formatted

The code in this PR has been formatted using:

  • cargo fmt --all
    Please pull the latest changes before pushing again:
git pull origin github-wf
All reactions

Sorry, something went wrong.

Uh oh!

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

@youknowone
youknowone marked this pull request as ready for review February 14, 2026 02:25
@youknowone
youknowone merged commit f960a0f into RustPython:main Feb 14, 2026
12 of 13 checks passed

Uh oh!

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

@youknowone
youknowone deleted the github-wf branch February 14, 2026 02:26
This was referenced Feb 14, 2026
Fix copilot upgrade pylib #7121
Merged
upgrade python workflow fix again #7136
Merged
youknowone added a commit to youknowone/RustPython that referenced this pull request Mar 22, 2026
@youknowone
Add gh-aw agentic workflow for upgrading Python libraries (RustPython…
ec16bf3
…#7117)

* Add gh-aw agentic workflow for upgrading Python libraries

- upgrade-pylib.md: Claude-based workflow triggered via workflow_dispatch
- Runs `scripts/update_lib quick <name>` to sync a library from CPython
- Creates a PR with the result, referencing issue RustPython#6839
@joshuamegnauth54 joshuamegnauth54 mentioned this pull request May 5, 2026
Fix swapcase() #7788
Merged
youknowone added a commit that referenced this pull request Sep 16, 2026
@youknowone
Add gh-aw agentic workflow for upgrading Python libraries (#7117)
3aeecc5
* Add gh-aw agentic workflow for upgrading Python libraries

- upgrade-pylib.md: Claude-based workflow triggered via workflow_dispatch
- Runs `scripts/update_lib quick <name>` to sync a library from CPython
- Creates a PR with the result, referencing issue #6839
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

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.

1 participant

@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 01402503 — 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.