Skip to content

Commit 79830c4

Browse files
lguerardclaude
andcommitted
fix(apidocs): 🐛 trim blockbuster pdoc extras to real deps
The previous extras (imcf-fiji-mocks, sjlogging, python-micrometa) were copied from an imcflibs-style template and are never imported by blockbuster. Only numpy, dask[array] and zarr are imported at module top-level; every other heavy dependency is guarded by try/except or imported lazily, so pdoc does not need them. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 15380d7 commit 79830c4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

settings/apidocs/blockbuster.inc.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ PREPROC_VERSIONS='^1\.[0-4]{1}\..*$'
3636
# USE_VENV=
3737

3838
# extra packages that need to be present in the venv:
39-
PIP_PKGS_EXTRA="imcf-fiji-mocks sjlogging python-micrometa"
39+
# only blockbuster's unguarded module-level imports are required for pdoc to
40+
# introspect the sources (scipy, scikit-image, tqdm, psutil, pynvml, cellpose,
41+
# dask.distributed are all guarded by try/except or imported lazily):
42+
PIP_PKGS_EXTRA="numpy dask[array] zarr"
4043

4144
# directory with pdoc templates:
4245
# PDOC_TEMPLATES

0 commit comments

Comments
 (0)