Repository navigation
Description
Overview
Numba was historically a critical dependency for PyAutoLens / PyAutoGalaxy and the install docs were structured around it — a dedicated "Numba" section sits between Install and Workspace in every install guide, the PyAutoGalaxy overview opens with a "Known Issues" callout warning about llvmlite/numba, and the standalone numba.rst page has long troubleshooting sections for old conda/numpy version conflicts. Numba is no longer that important. This task retains numba as a documented optional install but pushes it down each page so it stops being the first thing a new user trips over, and removes stale install-issue warnings (most of which reference Python 3.8 / NumPy 1.21, which are no longer supported anyway).
Plan
- Move the dedicated
Numbasection to sit afterWorkspacein pip + conda install pages (PyAutoLens + PyAutoGalaxy). - Remove the
numba 0.53.1 ... llvmlitewarning example from the install pages. - Remove the prominent
Known Issuescallout aboutnumba/llvmlitefrom PyAutoGalaxy's installation overview. - Remove the stale
Troubleshooting (Conda)andTroubleshooting (Numpy)sections from PyAutoGalaxy's standalonenumba.rstpage; keep the core "what numba is and how to install it" content. - Leave
source.rst(build-from-source instructions) andtroubleshooting.rstuntouched.
Detailed implementation plan
Affected Repositories
- PyAutoLabs/PyAutoLens (primary)
- PyAutoLabs/PyAutoGalaxy (parallel docs change)
Work Classification
Library (docs-only; no API change, no workspace impact, no tests to update)
Branch Survey
| Repository | Current Branch | Dirty? |
|---|---|---|
| ./PyAutoLens | main | clean |
| ./PyAutoGalaxy | main | clean |
Suggested branch: feature/numba-docs-deprioritize
Worktree root: ~/Code/PyAutoLabs-wt/numba-docs-deprioritize/ (created later by /start_library)
Implementation Steps
- PyAutoLens/docs/installation/pip.rst — Move the
Numbaheading + body (lines 59-76) to sit afterWorkspace(lines 78-98) and beforeOptional. Drop thenumba 0.53.1/llvmlitewarning example block from theInstallsection. - PyAutoLens/docs/installation/conda.rst — Same: move
Numba(lines 72-89) to afterWorkspace(lines 91-111); drop the warning example. - PyAutoGalaxy/docs/installation/pip.rst — Mirror change: move
Numba(lines 45-62) belowWorkspace(lines 64-84); drop warning example. - PyAutoGalaxy/docs/installation/conda.rst — Mirror change: move
Numba(lines 59-76) belowWorkspace(lines 79-99); drop warning example. - PyAutoGalaxy/docs/installation/overview.rst — Delete the
Known Issuessection (lines 23-28) entirely. - PyAutoGalaxy/docs/installation/numba.rst — Keep top-of-page intro +
pip install numba. DeleteTroubleshooting (Conda)andTroubleshooting (Numpy)subsections (lines 26-83).
Files NOT Modified
source.rstin either repo — numba install steps stay; user said "retain it in the installation instructions".troubleshooting.rstin either repo — neither mentions numba (verified).index.rstin either repo — only referencesinstallation/numbain toctree; fine.- PyAutoFit docs — no numba references in installation docs.
Verification
Build docs locally with sphinx-build -b html docs docs/_build/html for each repo and confirm:
- Section order on each install page is:
JAX & GPU→Install→Workspace→Numba→Optional→ (Legacy Python versionsfor pip). - PyAutoGalaxy
installation/overview.htmlno longer has aKnown Issuessection. - PyAutoGalaxy
installation/numba.htmlno longer has the twoTroubleshooting (...)subsections. grep -r "Known Issues" docs/andgrep -r "Troubleshooting (Conda)\|Troubleshooting (Numpy)" docs/return nothing in PyAutoGalaxy.
Original Prompt
Click to expand starting prompt
No longer make numba so high up on docs as not as important as it used to be.
So, retain it in the installation instructions, but move it below Workspace.
Activity
Jammy2211 commentedon Apr 30, 2026
Shipped — 2026-04-30
PRs
Summary
Numba is no longer the critical dependency it once was. Both libraries' install pages now read in the order
JAX & GPU(PyAutoLens only) →Install→Workspace→Numba→Optional→Legacy Python versions(pip pages only) —Numbawas previously betweenInstallandWorkspace. The stalenumba 0.53.1/llvmlitedependency-conflict warning example was dropped from all four install snippets. PyAutoGalaxy additionally lost theKnown Issuescallout in its installation overview and theTroubleshooting (Conda)/Troubleshooting (Numpy)subsections of the standalonenumba.rstpage (which referenced Python 3.8 / NumPy 1.21 — versions no longer supported). Pytest was skipped with explicit user authorisation (diff is.rst-only; verified by safety check before commit).Session Notes
pending-releaselabel as soon as CI cleared. No required-check failures.PyAutoLens/docs/installation/source.rstand thetroubleshooting.rstfiles were intentionally left untouched —source.rstmentions numba as an inline build-from-source step (still relevant),troubleshooting.rstdoes not mention numba.prompt_sync_pushrace during/start_devinitially clobbered thenumba-docs-deprioritizeregistration inactive.md; recovered by re-editing and re-pushing. Worth knowing the sync helper does not gate on which files actually changed in the working tree before committing.docs: deprioritise numba in installation pages
feat: oversampled PSF support in SimulatorImaging.via_tracer_from (#482…