Skip to content

Commit cf304f8

Browse files
committed
fix: add astroquery, numba, fitsio, pin setuptools<81 in Dockerfile
Three runtime deps were missing from the develop image, breaking imports in recently-merged modules: - astroquery: mask_package.mask, mask_runner - numba: ngmix_package.ngmix, ngmix_runner - fitsio: uncompress_fits_package.uncompress_fits, uncompress_fits_runner setuptools>=81 dropped pkg_resources, which sip_tpv v1.1 (the latest release; upstream unmaintained) still imports at module load. That breaks split_exp_package.split_exp and split_exp_runner on current setuptools. Pinning setuptools<81 restores pkg_resources until sip_tpv is either forked or replaced; the v2.0 Dockerfile uses the same pin. Closes #712 Closes #713
1 parent 2e0c042 commit cf304f8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ RUN cd /tmp && \
6262
RUN pip install --no-cache-dir --upgrade pip && \
6363
pip install --no-cache-dir \
6464
astropy==6.1.0 \
65+
astroquery \
6566
cs_util==0.1.9 \
67+
fitsio \
6668
galsim==2.5.3 \
6769
ipython==8.18.1 \
6870
joblib==1.4.2 \
@@ -71,6 +73,7 @@ RUN pip install --no-cache-dir --upgrade pip && \
7173
mccd==1.2.4 \
7274
modopt==1.6.1 \
7375
mpi4py==4.0.3 \
76+
numba \
7477
numpy==1.26.4 \
7578
numpydoc==1.2 \
7679
pandas==2.2 \
@@ -79,6 +82,7 @@ RUN pip install --no-cache-dir --upgrade pip && \
7982
pytest-pycodestyle==2.4.1 \
8083
pytest-pydocstyle==2.4.0 \
8184
reproject==0.14.1 \
85+
"setuptools<81" \
8286
sf_tools==2.0.4 \
8387
sip_tpv==1.1 \
8488
skaha==1.7.0 \

0 commit comments

Comments
 (0)