Repository navigation
Description
Overview
Adopt Python 3.12 as PyAutoNerves' minimum supported version, beginning the
dependency-ordered PyAuto ecosystem migration. Remove obsolete dependency
markers while preserving behavior-driven caps, and retain a clear warning for
experimental Python 3.14 use.
Plan
- Require Python 3.12 and advertise support for 3.12/3.13.
- Simplify JAX requirements without changing their version constraints.
- Retarget the import-time warning for unsupported/experimental versions.
- Add focused warning tests and update the contributor contract.
- Validate tests and built package metadata on Python 3.12 and 3.13.
Detailed implementation plan
Affected Repositories
- PyAutoNerves (primary)
Branch Survey
| Repository | Current Branch | Dirty? |
|---|---|---|
| PyAutoNerves | main |
clean |
Suggested branch: feature/python-312-floor
Implementation Steps
-
Update
pyproject.toml:- Set
requires-python = ">=3.12". - Remove Python 3.9-3.11 classifiers.
- Remove the now-tautological Python markers from
jax,jaxlib, and
jaxnnls. - Preserve
jax>=0.7.0,<0.11.0,jaxlib>=0.7.0,<0.11.0, and
jaxnnls==1.0.1.
- Set
-
Update
autonerves/__init__.py:- Keep the version-warning mechanism and configuration bypass.
- Remove the unreachable Python
<3.11JAX guidance. - Distinguish unsupported Python
<3.12from experimental Python>3.13. - Keep
version.python_version_checkand the containingversion:block.
-
Add
test_autonerves/test_python_version.py:- Verify 3.12/3.13 produce no warning.
- Verify 3.11 reports the unsupported floor.
- Verify 3.14 reports experimental status.
- Verify the YAML bypass remains effective.
-
Update
AGENTS.mdto staterequires-python >=3.12. -
Validate:
- Full PyAutoNerves suite on Python 3.12 and 3.13.
- Built metadata contains
Requires-Python: >=3.12. - JAX requirements are unmarked but retain their existing caps.
Key Files
pyproject.tomlautonerves/__init__.pytest_autonerves/test_python_version.pyAGENTS.md
Out of Scope
JAX 0.11, Python 3.14 support, downstream manifests, Hands/Heart matrices,
release execution, workspaces, and archival documentation.
Original Prompt
Click to expand starting prompt
Ok, lets remove support for anything below python3.12, do a census to make sure
we simplify requriements, build server, testing, etc. Also make sure all docs
are updated.
Activity
Jammy2211 commentedon Jul 28, 2026
Autonomous ship checkpoint — smoke gate failed
The Python 3.12 floor implementation is complete and locally committed on
feature/python-312-floor, but the autonomous four-leg ship gate cannot publish it because the required smoke leg is not green.Passing evidence
Smoke evidence
Curated six-workspace run with the task worktree sourced:
A targeted control run against unmodified
mainreproduced the same 11 failures with the same signatures, so the PyAutoNerves diff introduced no new smoke regression. An apparent initial twelfth failure inautolens_workspace/multi_galaxy/start_here.pywas a parallel dataset-generation race and passed on retry.The 11 baseline failures are all in
autolens_workspace_test:imaging/jax_likelihood/rectangular.pyimaging/jax_likelihood/mge.pyimaging/jax_likelihood/lp.pyinterferometer/jax_likelihood/rectangular.pypoint_source/jax_likelihood/point.pyinterferometer/jax_likelihood/potential_correction.pymulti/jax_likelihood/mge.pyinterferometer/subhalo_recovery_interferometer.pymulti_galaxy/composition_mge.pyimaging/subhalo_recovery.pymulti_galaxy/jax_likelihood/lp.pyPer
PyAutoBrain/AUTONOMY.md, a failed leg must park at a human checkpoint: nothing is force-pushed and code must not be changed merely to make the gate pass.Checkpoint question: should the organism's existing smoke failures be repaired as prerequisite tasks, then this Python-floor task resumed?
Jammy2211 commentedon Jul 28, 2026
Correction — smoke gate is green; task resumed
The previous autonomous checkpoint comment was based on an invalid local smoke-wrapper invocation and is superseded.
Root cause: the wrapper called PyAutoHands
build_env_for_script()with script-relative paths while its own current working directory was the PyAutoLabs parent. PyAutoHands resolves each script's in-fileENV:declaration from the supplied path and caller cwd, so the wrapper silently missed everyENV: jax full_datasets/ENV: full_datasetsdeclaration. It therefore forced NumPy and/or 15x15 datasets into scripts whose assertions require JAX and full-resolution data. The identical control failures onmainreflected the same wrapper defect, not an ecosystem baseline defect.Corrected run:
no_run.yaml: 3Two scripts initially hit dataset bootstrap races because the diagnostic wrapper launched scripts sharing a dataset directory concurrently:
autolens_workspace/multi_galaxy/start_here.pyautolens_workspace_test/imaging/jax_likelihood/lp.pyBoth passed sequentially after their canonical simulator/bootstrap completed. Every previously reported JAX, MGE, potential-correction, point-source, and subhalo signature cleared without a source change.
No ecosystem bug fix is needed. The Python 3.12 floor task is resumed at the publish gate.
Jammy2211 commentedon Jul 28, 2026
Library PR created
feature/python-312-floorpending-releaseWorkspace impact
Recommendation: (iii) no workspace migration required for Phase 1A.
No public Python symbols or signatures changed. The user-visible change is the distribution's Python floor and version-warning semantics. The six-workspace smoke surface passed against the branch, so no workspace script changes are indicated.
The autonomous run ends at PR-open for this phase. Merge remains human. The dependency-ordered Python-floor campaign can continue with Phase 1B (PyAutoArray) on its own pending-release PR.
Jammy2211 commentedon Jul 29, 2026
Autonomous queue checkpoint — 2026-07-29
The Python 3.12-floor campaign has completed every currently independent package slice and stopped at the next dependency/ownership barrier.
Open pending-release PRs
All five remain open and unmerged. Independent Phase 4 is complete at PR-open.
Next queue item and blockers
Phase 1B targets PyAutoArray, but it cannot safely begin yet:
api-validation-and-crash-fixestask currently claims PyAutoArray.Phases 2–3 depend on the complete core stack, and phases 5–7 depend on the coordinated core release. The queue is therefore durably parked without overlapping another task or bypassing the human merge gate.
Jammy2211 commentedon Jul 29, 2026
Shipped — 2026-07-29
PR
a3ed651c7a52f0832ce70b34e6b174a38758a90da9bf45612ecdf53abb586def7e5635ac7d84872dReview and validation
Claude Opus 5 independently returned CLEAN after inspecting the full diff, rerunning 154 tests, exercising the real version-warning path on Python 3.11/3.12/3.13/3.14, and checking dependency caps and metadata. Existing ecosystem smoke and downstream suites were also green.
Follow-up
The remaining core manifests must be raised before release, and Heart's legacy install/banner checks remain Phase 2 work. These are release-sequencing requirements, not defects in this merged PR.
Jammy2211 commentedon Jul 30, 2026
python-312-floor complete across all phases (1A–5B): five core library floors, build/health machinery, live release 2026.7.29.2 (Requires-Python >=3.12), independent repos, and the full selector census. Completion record: PyAutoMind/complete/2026/07/python-312-floor.md. Closing the parent on explicit human cleanup authorization (2026-07-30).