Skip to content

Lockfiles: compile from a Python 3.11 floor (Part of #3322) - #6530

Merged
squid-protocol merged 2 commits into
mainfrom
churn/3322-20261024T1924Z
Oct 24, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/3322-20261024T1924Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

Compile the hash-pinned universal lockfiles from a Python 3.11 floor instead of 3.10, so they stop carrying python_full_version < '3.11' backports (exceptiongroup, tomli, typing-extensions, importlib-metadata, zipp).

Checklist: done [c:4066b14a]

What changed

  • tests/tools/pin_requirements.py: uv pip compile --python-version 3.11; comments and error text say 3.11 / 3.12. The two pin_*_requirements.sh headers match.
  • Regenerated ci/requirements/*.txt and templates/requirements/*.txt (no version bumps; backports dropped). Templates restamped with stamp_template_pins.py.
  • test_pin_requirements.py: new test pins the 3.11 floor and that no lockfile keeps a < '3.11' / < '3.10 marker.

Finding

The CI matrix half of the item was already done (#5371: full-suite-gate and os-smoke-grid run 3.11 + 3.12 only; no other non-shepherd workflow pins 3.9/3.10). The lockfile compile floor was the last 3.10 pin left in CI tooling, so this closes the item.

Gates

pytest test_pin_requirements.py + test_shipped_pip_pins.py (30 pass), pin_requirements.py --check --target all, audit_check.py (all clear), ruff. No engine code, so no golden bless.

Cross-repo

None.

Lessons for agents

stamp_template_pins.py defaults its ref to the last commit touching templates/requirements: commit the regenerated lockfiles first, then stamp, then commit the templates. A bare cat > file with no heredoc blocks on stdin.

🤖 Generated with Claude Code

Class / Sibling gaps

Copied from the worker's report by promoter-bot's precheck.

Sibling gaps. None of these needs a burned-estate program.

  • Verify the mypy python_version setting. Ruff is already py311.
  • Drop the sys.version_info and typing_extensions shims. For example, tests/tools/evidence_report.py:210 still has a pre-3.11 TOML fallback.
  • Add the breaking-change note to the CHANGELOG.
  • Run the phase_ab.py before/after perf proof.
  • Fix stale "3.10+" or "supports 3.9" comments in refraction_snapshot.py, mainframe_corpus.py, port_invariance.py and test_tri_comparison_reconcile.py:144.

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 24, 2026 19:37
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 19:50
@squid-protocol
squid-protocol merged commit f674bff into main Oct 24, 2026
58 checks passed
@squid-protocol
squid-protocol deleted the churn/3322-20261024T1924Z branch October 24, 2026 20:11
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

squid-protocol added a commit that referenced this pull request Oct 29, 2026
…f674bff (#4918) (#6966)

The last open #4918 item. The three `uses: squid-protocol/gitgalaxy@...# v2.4.0` steps ran an
action that installs unpinned; they now run the action at f674bff (#6530), whose action.yml
installs v2.11.0 from templates/requirements/ with --require-hashes. Same tool/target inputs.

The GG_REF lockfile markers in all five templates named 04c85c3, #6530's branch commit, which
the squash merge left off main (alive only through the PR ref). Re-stamped with
stamp_template_pins.py to f674bff, the main commit with the same lockfiles; the NOTE now says
to stamp on main, never on a PR branch.

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant