Skip to content

Raise minimum Python to 3.11 (Part of #3322) - #5364

Merged
squid-protocol merged 3 commits into
mainfrom
churn/3322-20261017T1738Z
Oct 17, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/3322-20261017T1738Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #3322 (first checklist items: pyproject, CI matrix, tooling target, docs). Does not close it: perf proof and optional cleanups remain.

What changed

  • pyproject.toml: requires-python = ">=3.11", ruff target-version = "py311" (mypy has no pinned python_version).
  • CI: no workflow files are touched (night-shift Never rule). full-suite-gate.yml, os-smoke-grid.yml and publish.yml still carry 3.10 legs / pins; they need the owner (see below).
  • Docs: docs/assess.md, CLAUDE.md, dependabot.yml comment.
  • The py311 target newly flags UP017 (datetime.UTC) and RUF100 (PERF203 is inactive on 3.11+): fixed in 18 gitgalaxy/ files (+ a few unused-import/sort fixes those caused). No behavior change.

Release note (breaking)

Breaking: the minimum supported Python is now 3.11 (3.10 reaches EOL October 2026). No CHANGELOG file exists in the repo; this section is the release-note text.

Needs the owner

Drop the 3.10 legs from both full-suite-gate.yml matrices and os-smoke-grid.yml, move publish.yml to 3.11 (add 3.11 floor legs to the manual-rerun Windows/macOS matrix; reword the shard comments; test_pipeline_pins.py brew pin 173 -> 163). Until then the 3.10 CI legs will fail to install against requires-python >=3.11.

Not done (sibling gaps)

Gates

audit_check (ruff/mypy/dead-key/ast-accuracy/format of changed files) clear; ruff pinned 0.16.10 baseline unchanged at 76; pr_gates.py --fast 6/6; tests/core_engine, tests/tools_recorders, test_sweep_plan.py pass (4021). No parsing change, so no golden bless. Full matrix not run (draft).

Lessons for agents

  • ruff check --select X --fix strips every # noqa for rules outside X as unused (RUF100): use the configured select with --fixable X instead.
  • ruff format --check . reports 43 files locally under the selfscan ruff 0.16.0; use the CI-pinned 0.16.10 for baseline audits.

🤖 Generated with Claude Code

squid-protocol and others added 3 commits October 17, 2026 13:48
requires-python >=3.11, ruff target-version py311, drop the 3.10 legs from the
full-suite-gate and os-smoke-grid matrices, publish.yml on 3.11, docs/CLAUDE.md
text. The py311 target newly flags UP017 (datetime.UTC) and RUF100 (PERF203 is
inactive on 3.11+); fixed in the 18 files that carried them. Lockfiles untouched.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol

Copy link
Copy Markdown
Owner Author

Waiting on an owner decision (asked privately, 2026-10-17). Nothing is needed from contributors; work resumes once it is answered.

@squid-protocol

Copy link
Copy Markdown
Owner Author

The owner decided (2026-10-17); the bot applies it on its next tick.

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 17, 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 17, 2026 18:14
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5364 @ 963d73c: 1 failed check(s)

== Pre-gate (Vault Sentinel, X-Ray, Supply Chain) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39057204749/job/117467505346
repro: python tests/tools/pr_gates.py --only secrets xray
errors:
ERROR: Package 'gitgalaxy' requires a different Python: 3.10.22 not in '>=3.11'
##[error]Process completed with exit code 1.
log tail:
Requirement already satisfied: tomli==2.5.0 in /opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages (from -r /home/runner/work/gitgalaxy/gitgalaxy/.//ci/requirements/bootstrap.txt (line 116)) (2.5.0)
Requirement already satisfied: typing-extensions==4.16.0 in /opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages (from -r /home/runner/work/gitgalaxy/gitgalaxy/.//ci/requirements/bootstrap.txt (line 186)) (4.16.0)
Requirement already satisfied: vcs-versioning==2.6.0 in /opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages (from -r /home/runner/work/gitgalaxy/gitgalaxy/.//ci/requirements/bootstrap.txt (line 192)) (2.6.0)
Requirement already satisfied: wheel==0.48.0 in /opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages (from -r /home/runner/work/gitgalaxy/gitgalaxy/.//ci/requirements/bootstrap.txt (line 196)) (0.48.0)
Obtaining file:///home/runner/work/gitgalaxy/gitgalaxy
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Preparing editable metadata (pyproject.toml): started
Preparing editable metadata (pyproject.toml): finished with status 'done'
INFO: pip is looking at multiple versions of gitgalaxy to determine which version is compatible with other requirements. This could take a while.
ERROR: Package 'gitgalaxy' requires a different Python: 3.10.22 not in '>=3.11'
##[error]Process completed with exit code 1.
##[end-action id=__self_3.__run;outcome=failure;conclusion=failure;duration_ms=2323]
##[start-action display=Execute GitGalaxy Tool;id=__self_3.__run_2]
##[end-action id=__self_3.__run_2;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
##[start-action display=Set up Python;id=__c52328f5-6758-4fa1-ade3-8c05ffb94807.__actions_setup-python]
##[end-action id=__c52328f5-6758-4fa1-ade3-8c05ffb94807.__actions_setup-python;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
##[start-action display=Set up Python;id=__15ae3512-fff5-4fb5-890d-d9ae1e0492b2.__actions_setup-python]
##[end-action id=__15ae3512-fff5-4fb5-890d-d9ae1e0492b2.__actions_setup-python;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
##[start-action display=Set up Python;id=__ad653e9a-58c4-45f3-b443-26e51e586ba4.__actions_setup-python]
##[end-action id=__ad653e9a-58c4-45f3-b443-26e51e586ba4.__actions_setup-python;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/cd7b1215-6950-4a85-b2d6-02c8fcf2eacb' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-protocol
squid-protocol enabled auto-merge (squash) October 17, 2026 18:15
@squid-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol squid-protocol added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Oct 17, 2026
@squid-protocol
squid-protocol merged commit 2a165ea into main Oct 17, 2026
98 of 101 checks passed
@squid-protocol
squid-protocol deleted the churn/3322-20261017T1738Z branch October 17, 2026 19:00
@squid-protocol squid-protocol removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Oct 17, 2026
squid-protocol added a commit that referenced this pull request Oct 17, 2026
Python 3.11 is the minimum since #5364, so a 3.10 leg cannot install the package.
full-suite-gate.yml: 3.10 legs removed (the trimmed grid now equals the untrimmed 12-leg grid);
os-smoke-grid.yml: 9-way -> 6-way; publish.yml builds on 3.11. Adds a test that no workflow
pins a Python below requires-python.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 17, 2026
…; Pre-gate failed on 3.10 (Part of #5053)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 17, 2026
Drop the stale Python 3.10 legs (floor is 3.11 since #5364; fromisoformat('...Z') fails only there), use os.path.ismount in box_status (Path.is_mount raises on Windows < 3.12), skip the os.major test on Windows.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 17, 2026
…d lastLinkBytes() (Part of #5053) (#5369)

* CICS crucible: LINK COMMAREA byte channel -- handleLink(T, byte[]) and lastLinkBytes() (Part of #5053)

The forge emits a handleLink byte overload beside the DTO form, the det stub
rebuilds it, and the crucible drives it and compares the caller_commarea of a
RETURN by the bytes the program left, bounded by the LINK's LENGTH.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* det: keep the lastLinkBytes line one string literal (lint) (Part of #5053)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* Resurface the committed ports: handleLink(T, byte[]) and lastLinkBytes() (Part of #5053)

port_surface equivalence regenerated the 14 ports whose facade has a LINK COMMAREA;
each was re-proved (det_port.py run) before.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* Re-prove the 20 resurfaced ports' evidence; proof_reach count follows (Part of #5053)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* action.yml: set up Python 3.11 (the package floor is 3.11 since #5364); Pre-gate failed on 3.10 (Part of #5053)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 24, 2026
…3322) (#6341)

The cobol-modernization skill said 3.10 was the floor and tomllib unavailable;
the requirements README said Python >= 3.10. requires-python is >=3.11 (#5364).

Co-authored-by: Claude Sonnet 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 shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant