From cd61dedc6fafaef3cc3a0b00fded75804c2e52f5 Mon Sep 17 00:00:00 2001 From: ShaharNaveh <50263213+ShaharNaveh@users.noreply.github.com> Date: Tue, 10 Feb 2026 14:55:26 +0200 Subject: [PATCH 1/3] Workflow --- .github/workflows/update-libs-status.yaml | 90 +++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 .github/workflows/update-libs-status.yaml diff --git a/.github/workflows/update-libs-status.yaml b/.github/workflows/update-libs-status.yaml new file mode 100644 index 00000000000..12592d86d11 --- /dev/null +++ b/.github/workflows/update-libs-status.yaml @@ -0,0 +1,90 @@ +name: Updated libs status + +on: + push: + branches: + - main + paths: + - "Lib/**" + workflow_dispatch: + +permissions: + contents: read + issues: write + +env: + PYTHON_VERSION: "v3.14.3" + ISSUE_ID: "47" + +jobs: + update-issue: + runs-on: ubuntu-latest + steps: + - name: Clone RustPython + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + path: rustpython + persist-credentials: "false" + sparse-checkout: |- + Lib + scripts/update_lib + + + - name: Clone CPython ${{ env.PYTHON_VERSION }} + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + repository: python/cpython + path: cpython + ref: ${{ env.PYTHON_VERSION }} + persist-credentials: "false" + sparse-checkout: | + Lib + + - name: Get current date + id: current_date + run: | + now=$(date +"%Y-%m-%d %H:%M:%S") + echo "date=$now" >> "$GITHUB_OUTPUT" + + - name: Write body prefix + run: | + cat > body.txt < + + ## Summary + + Check \`scripts/update_lib\` for tools. As a note, the current latest Python version is \`${{ env.PYTHON_VERSION }}\`. + + Previous versions' issues as reference + - 3.13: #5529 + + + + ## Details + + ${{ steps.current_date.outputs.date }} + \`\`\`shell + $ python3 scripts/update_lib todo --done + \`\`\` + EOF + + - name: Run todo + run: python3 rustpython/scripts/update_lib todo --cpython cpython --lib rustpython/Lib --done >> body.txt + + - name: Update GH issue + run: gh issue edit ${{ env.ISSUE_ID }} --body-file ../body.txt + env: + GH_TOKEN: ${{ github.token }} + working-directory: rustpython + + From ad766bc2b11c33c9d2056bb11dfbe006d92eb782 Mon Sep 17 00:00:00 2001 From: ShaharNaveh <50263213+ShaharNaveh@users.noreply.github.com> Date: Tue, 10 Feb 2026 18:29:35 +0200 Subject: [PATCH 2/3] Correct issue number --- .github/workflows/update-libs-status.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-libs-status.yaml b/.github/workflows/update-libs-status.yaml index 12592d86d11..00305af6ef3 100644 --- a/.github/workflows/update-libs-status.yaml +++ b/.github/workflows/update-libs-status.yaml @@ -14,7 +14,7 @@ permissions: env: PYTHON_VERSION: "v3.14.3" - ISSUE_ID: "47" + ISSUE_ID: "6389" jobs: update-issue: From defe19f957568aba7cdfedb3a457642d58d9efc4 Mon Sep 17 00:00:00 2001 From: "Jeong, YunWon" <69878+youknowone@users.noreply.github.com> Date: Wed, 11 Feb 2026 01:38:12 +0900 Subject: [PATCH 3/3] Update .github/workflows/update-libs-status.yaml --- .github/workflows/update-libs-status.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-libs-status.yaml b/.github/workflows/update-libs-status.yaml index 00305af6ef3..3ff38f939be 100644 --- a/.github/workflows/update-libs-status.yaml +++ b/.github/workflows/update-libs-status.yaml @@ -14,7 +14,7 @@ permissions: env: PYTHON_VERSION: "v3.14.3" - ISSUE_ID: "6389" + ISSUE_ID: "6839" jobs: update-issue: