feat: require Python 3.12 in PyAutoNerves - #143
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Require Python 3.12 or newer in PyAutoNerves as Phase 1A of the ecosystem-wide Python-floor migration. The package now advertises 3.12/3.13 support, drops obsolete Python and
pathlibcompatibility metadata, preserves the existing JAX caps while removing tautological markers, and clearly distinguishes unsupported older interpreters from experimental newer ones.API Changes
No public Python symbols or signatures changed. Packaging and runtime compatibility behaviour changed: installers now reject Python below 3.12, and the import-time version warning distinguishes unsupported
<3.12from experimental>3.13interpreters while retaining the YAML bypass.See full details below.
Test Plan
154 passed154 passed1559 passed, 1 skipped; PyAutoArray930 passed; PyAutoGalaxy1009 passed; PyAutoLens488 passed62 passed, 0 failed, 3 intentionally skippedRequires-Python: >=3.12; JAX/JAXLIB<0.11andjaxnnls==1.0.1preserved without Python markers; nopathlibdependencyValidation checklist (--auto run — plan was not pre-approved)
Full API Changes (for automation & release notes)
Removed
pathlibbackport dependency;pathlibis part of the supported Python standard library.python_version >= '3.11'markers from the JAX optional dependencies.Changed Behaviour
autonervesdistribution now declaresRequires-Python: >=3.12.autonerves._emit_python_version_warning()reports Python below 3.12 as unsupported and Python above 3.13 as experimental.version.python_version_check: falseconfiguration bypass remains unchanged.jax>=0.7.0,<0.11.0,jaxlib>=0.7.0,<0.11.0, andjaxnnls==1.0.1.Migration
2026.7.27.1.Generated by the PyAutoLabs agent workflow.