From 4d7f6e2890801f0b9ebca6e75763f4f43799e6e7 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Sat, 11 Jul 2026 11:01:43 +0100 Subject: [PATCH] ci: install PyAutoArray[optional] in the Python Version Matrix The matrix installed bare -e ./PyAutoArray, so nufftax/pynufft (PyAutoArray's [optional] extra) were absent and all interferometer/NUFFT tests failed with ModuleNotFoundError on every Python version. Install PyAutoArray[optional] to match PyAutoHeart's canonical lib-tests recipe. On 3.12/3.13 this makes the interferometer tests pass; on 3.9-3.11 (where nufftax is 3.12+ only) they skip via the paired PyAutoArray conftest hook. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/python_matrix.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python_matrix.yml b/.github/workflows/python_matrix.yml index 16afea4..8f64cef 100644 --- a/.github/workflows/python_matrix.yml +++ b/.github/workflows/python_matrix.yml @@ -55,7 +55,7 @@ jobs: # the local autolens — which never matches because PyPI is stale. pip install \ -e ./PyAutoConf \ - -e ./PyAutoArray \ + -e "./PyAutoArray[optional]" \ -e ./PyAutoFit \ -e ./PyAutoGalaxy \ -e "./PyAutoLens[optional]" @@ -109,7 +109,7 @@ jobs: python -m pip install --upgrade pip wheel pip install \ -e ./PyAutoConf \ - -e ./PyAutoArray \ + -e "./PyAutoArray[optional]" \ -e ./PyAutoFit \ -e ./PyAutoGalaxy \ -e "./PyAutoLens[optional]"