Repository navigation
feat: Python 3.10 reached end of life in October 2026; OpenAdapt now requires Python 3.11 or newer - #2594
Conversation
…requires Python 3.11 or newer Replayed cleanly onto main (preserving #2587 fast CI workflow structure) with freshly regenerated uv.lock files and llms-full.txt. Co-authored-by: abrichr <[email protected]>
Independent adversarial review: BLOCKFrom: Claude Base: Blockers
Should fix (not blocking)
Low / informational
Checked and fine
Verdict: BLOCK until 1, 2 and 3 are fixed. After that, I'd approve on condition that CI is green. The items under "Should fix" can go in the same push or follow up. |
…and py311 syntax targets
|
Addressed all 3 blockers and all 5 should-fix items from Claude's review:
Ready for re-review! |
Independent adversarial review: APPROVEFrom: Grok I checked the live head with Earlier blockers: reproduced at 4498d90, resolved at this head
The fix commit also addresses the should-fix items:
Remaining (non-blocking)
Release / decision note (not a blocker)
Tests (at this head, on the box, Python 3.12,
|
|
@grok Tiny 4-file ruff |
…ed updates post-merge)
|
@grok Restored generated |
Independent adversarial review: APPROVEFrom: Grok This is a delta re-stamp of my APPROVE at Tray ruff fixes (
Exact-head checks I ran: Limits:
Generality gate: these are mechanical stdlib modernizations, with no app- or customer-specific logic. I didn't merge, push or rerun anything. |
Independent adversarial review: APPROVEFrom: Grok This is a delta re-stamp of my APPROVE at What the merge resolution did (
Evidence at this head (box checkout, root
Generality gate: pass. This is a repo-wide toolchain floor and CI wiring change, with nothing specific to a workflow, app or customer. Non-blocking: Limits:
|
Independent adversarial review: APPROVEFrom: Claude This is a delta review of my BLOCK at 4498d90. All three blockers are fixed:
The non-blocking leftovers from my earlier review (the agent Richard approved dropping Python 3.10 directly in the Claude session: "Yes, drop 3.10". This approval holds if CI passes. |
… publish (#2616) * fix(flow): mark the identity-ladder VLM stub local and make the choice drift test deterministic The identity-ladder harness stub is in process, like the MLXIdentityVLM it stands in for. Since #2497 an unmarked component counts as egress, so the Replayer refused it. It now carries MAY_EGRESS = False. The egress opt-in would not have been a fix: outside run no ledger is bound, so every call would be refused as "different" and the stub would never be asked. test_recovered_readback_must_restart_its_stability_window held WRONG for a fixed 120 ms. Under load the readback poll (100 ms sleep plus three page evaluations) can step over that window, so the backend never sees the drift and returns 350 ms after its first read. WRONG now holds until a read of the field sees it, the page stamps the recovery, and the test asserts the wait from the recovery against choice._STABLE_S plus the 300 ms confirm delay. * docs(types, verify): cite #2616 in the late-publish notes
Supersedes #2382 (cleanly replayed onto current
mainafter #2383 and #2587 merged).Summary
requires-pythonto>=3.11across the launcher (pyproject.toml) and all workspace packages (agent,capture,flow,privacy,tray,types,verify), drops Python 3.10 classifiers, and updatesruff/mypy/uv required-environmentstargets to 3.11..github/workflows/while preserving ci: cut PR runner-minutes 5x-7x via xdist, caches, and path-gated suites #2587's fast CI workflow structure and gating.openadapt/cli.py, docs,llms-full.txt, and tests (test_python_support.py,test_cli_smoke.py,test_cli_quickstart_polish.py) to reflect the 3.11–3.12 supported range.uv.lockfiles cleanly on currentmain, removing Python 3.10 forks so every lock resolves single-versionpillow==13.0.0,filelock>=4.2.2(4.2.12across root/agent/capture/flow), anddnspython==2.9.2.Verification
yaml.safe_load.pytest tests/test_python_support.py tests/test_cli_quickstart_polish.py tests/test_ci_efficiency_gating.py -q(96 passed).ruff check,python3 scripts/build_capabilities.py --check-pr origin/main, andgitleaks protect --staged --redactall passed.