Skip to content

Commit 444b71e

Browse files
Jammy2211claude
authored andcommitted
fix: pre-install compiled deps from wheels on Python 3.13
Pip's resolver backtracks through scipy, h5py, contourpy versions on 3.13 because exact-pinned deps constrain the solution space. Pre-install the heavy compiled packages from binary wheels first. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2099c08 commit 444b71e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,12 @@ jobs:
6868
pip3 install setuptools
6969
pip3 install wheel
7070
pip3 install pytest coverage pytest-cov
71-
pip install ./PyAutoConf ./PyAutoFit ./PyAutoArray ./PyAutoGalaxy ./PyAutoLens
7271
if [ "${{ matrix.python-version }}" = "3.12" ]; then
72+
pip install ./PyAutoConf ./PyAutoFit ./PyAutoArray ./PyAutoGalaxy ./PyAutoLens
7373
pip install "./PyAutoArray[optional]" "./PyAutoGalaxy[optional]" "./PyAutoLens[optional]"
7474
else
75+
pip install --only-binary :all: scipy numpy matplotlib h5py contourpy
76+
pip install ./PyAutoConf ./PyAutoFit ./PyAutoArray ./PyAutoGalaxy ./PyAutoLens
7577
pip install numba
7678
fi
7779
- name: Run tests

0 commit comments

Comments
 (0)