Skip to content

fix(gh-aw): pin pr-iteration-loop to Python 3.12 - #2607

Merged
groupthinking merged 1 commit into
mainfrom
fix/pr-iteration-loop-python-312
Nov 5, 2026
Merged

groupthinking merged 1 commit into
mainfrom
fix/pr-iteration-loop-python-312

Conversation

@groupthinking

Copy link
Copy Markdown
Owner

Canonical issue

Closes #2606

Outcome

pr-iteration-loop now runs actions/setup-python (Python 3.12) before its pre-agent install, so pip install -e ".[dev,youtube]" meets requires-python >=3.11,<3.13 again. Until now the agent check failed on every PR, #2598 included.

Scope

  • .github/workflows/pr-iteration-loop.md: adds runtimes: python: version: "3.12".
  • .github/workflows/pr-iteration-loop.lock.yml: recompiled with gh-aw v0.88.7 (the pinned version). The Setup Python step uses the same actions/setup-python SHA as ci.yml (v7.0.0, 5fda3b9). The python runtime also adds the PyPI/conda hosts to the firewall allowlist, which matches the existing network.allowed: python intent.

Verification

  • gh aw compile pr-iteration-loop --validate --approve (v0.88.7) succeeds.
  • Compiling the unchanged main reproduced the committed lock byte for byte before this change.

Risk

Low. The change is limited to one agentic workflow.

The agent job's pre-agent install ran on the runner default Python 3.14,
which pyproject's requires-python (<3.13) rejects. Pin via
runtimes.python.version and recompile with gh-aw v0.88.7.

Closes #2606
@vercel

vercel Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
v0-uvai Ready Ready Preview, v0 Nov 5, 2026 1:30pm UTC

Copilot AI max review requested due to automatic review settings November 5, 2026 13:28
@linear-code
linear-code Bot marked this pull request as ready for review November 5, 2026 13:28
@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • 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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

An active review nit notes that removing the Python pin could reintroduce unsupported-Python failures without being caught by workflow validation.

1 open issue
What changed in this PR

Updates repository PR automation to use Python 3.12, addressing the unsupported-interpreter installation failure reported in #2606.

Changes:

  • Pins the pr-iteration-loop Python runtime to 3.12.
  • Regenerates the lock with gh-aw v0.88.7, adding Python setup before dependency installation.
  • Includes compiler-generated PyPI and conda host additions to the detection job’s firewall allowlist.
File Description
.github/​workflows/​pr-iteration-loop.md Declares the Python 3.12 runtime.
.github/​workflows/​pr-iteration-loop.lock.yml Adds the pinned setup-python action and updates generated metadata and detection network settings.

Review effort: Max

engine: copilot
runtimes:
python:
version: "3.12"
@groupthinking
groupthinking merged commit 99f2257 into main Nov 5, 2026
48 of 60 checks passed
@groupthinking
groupthinking deleted the fix/pr-iteration-loop-python-312 branch November 5, 2026 13:35
@linear-code

linear-code Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

GRV-900

This branch was successfully deployed

1 active deployment
Preview — 47e9384b Deployed Nov 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pr-iteration-loop agent job fails: runner Python 3.14 vs requires-python <3.13

3 participants