Skip to content

feat: require Python 3.12 - #419

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/python-312-floor
Jul 29, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/python-312-floor

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Raise PyAutoArray's minimum supported Python version to 3.12 and advertise only Python 3.12 and 3.13.

Remove Python-version markers that became tautological while preserving the supported nufftax range, and delete the now-unreachable pre-3.12 nufftax error path and test.

Refs #418.

API Changes

Python API symbols and signatures are unchanged. Installation now requires Python 3.12 or newer, and the missing-nufftax error path is simplified for supported runtimes.
See full details below.

Test Plan

  • Python 3.12: 929 passed
  • Python 3.13 official profile: 928 passed, 1 skipped
  • Wheel metadata: Requires-Python >=3.12; classifiers 3.12/3.13 only; nufftax >=0.4,<0.5 preserved without Python markers
  • Curated ecosystem smoke: 50 passed, 12 parallel timeouts, 3 intentional skips; sequential retry passed 11/12, with the known 300-second subhalo_recovery.py timeout explicitly accepted by the human as non-causal
  • Independent Claude Opus 5 review: CLEAN
  • Heart: YELLOW score 65, exact previously acknowledged campaign reason set, no RED

Validation checklist (--auto run — plan was not pre-approved)

  • Effective level: safe (header: supervised, cap: feature medium → safe)
  • Plan: on issue feat: require Python 3.12 #418, written at start, unmodified since
  • Gate: tests 3.12 929 passed + 3.13 928 passed/1 skipped · smoke accepted non-causal single timeout after 11/12 sequential retries passed · review CLEAN · Heart YELLOW within launch acknowledgement
  • Human: plan sound in hindsight?
  • Human: diff matches plan (no scope creep)?
  • Human: merge authorized contingent on exact reviewed head and green CI
Full API Changes (for automation & release notes)

Changed Behaviour

  • Package installation now requires Python 3.12 or newer.
  • autoarray.operators.transformer.nufftax_exception() always emits the supported-runtime installation guidance; its special Python 3.9–3.11 message is removed.

Migration

  • Recreate environments on Python 3.12 or newer before installing the next PyAutoArray release.

Generated by the PyAutoLabs agent workflow.

@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jul 29, 2026
@Jammy2211
Jammy2211 merged commit 41c55a4 into main Jul 29, 2026
4 checks passed
@Jammy2211
Jammy2211 deleted the feature/python-312-floor branch July 30, 2026 17:32
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant