From 830faff781a14b48c3244fde7c4d1d68d229f56d Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Wed, 29 Apr 2026 20:01:20 +0100 Subject: [PATCH] docs: note Python 3.12+ requirement on pip install page pip install was silently rolling back to old releases on Python 3.9/3.10/3.11. Pre-2026.4.5.3 releases will be yanked from PyPI; this updates the install docs with a top-of-page Python 3.12+ note and a bottom "Legacy Python versions" section explaining how to install pre-2026.4.5.3 versions explicitly via `pip install autogalaxy==` if needed. Co-Authored-By: Claude Opus 4.7 (1M context) --- docs/installation/pip.rst | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/docs/installation/pip.rst b/docs/installation/pip.rst index b6216e33..233f9a0a 100644 --- a/docs/installation/pip.rst +++ b/docs/installation/pip.rst @@ -3,6 +3,11 @@ Installation with pip ===================== +.. note:: + **PyAutoGalaxy** requires **Python 3.12 or later**. If you are on Python + 3.9, 3.10, or 3.11, ``pip install autogalaxy`` will fail with a "no matching + distribution" error. Upgrade Python to 3.12+ before installing. + Install ------- @@ -92,4 +97,21 @@ For interferometer analysis there are two optional dependencies that must be ins do interferometer analysis. If you run interferometer code a message explaining that you need to install these libraries will be printed, therefore -it is safe not to install them initially. \ No newline at end of file +it is safe not to install them initially. + +Legacy Python versions +---------------------- + +We dropped support for Python 3.9, 3.10, and 3.11 in release ``2026.4.5.3`` +(April 2026). Pre-``2026.4.5.3`` releases on PyPI have been yanked, so they +will not install via the standard ``pip install autogalaxy`` command. + +If you have an existing project that requires a pre-``2026.4.5.3`` version, +you can still install it explicitly by pinning the version, e.g.: + +.. code-block:: bash + + pip install autogalaxy==2025.10.6.1 + +Yanked releases remain available for explicit pins; only resolver-driven +fallback is blocked. \ No newline at end of file