Skip to content

v4.1.1 — Patch: scipy dep + HF CPU build fix + PyPI description

Choose a tag to compare

@designer-coderajay designer-coderajay released this 03 Apr 22:09
· 181 commits to main since this release

What's Fixed

Critical patch on top of v4.1.0. No new features — strictly bug fixes.

Bug Fixes

pyproject.toml — scipy now in core dependencies

scipy was used in glassbox/fdr.py (BH z-test) and glassbox/validation.py (Fisher Z power analysis) but was not declared as a core dependency. This caused ModuleNotFoundError: No module named 'scipy' on clean installs.

HF Space — CPU-only torch wheel

Free HuggingFace cpu-basic spaces hit OOM/timeout installing the full CUDA PyTorch build (~2.5 GB). The Space now pulls torch==2.3.0+cpu from the PyTorch CPU wheel index. Also pins transformer-lens==2.17.0 and the beartype version range it requires.

PyPI description

The v4.1.0 surface-update commit landed on main after the v4.1.0 tag was pushed, so PyPI baked the stale description. This tag carries the correct description: 18/18 mathematical frameworks listed.

Upgrade

pip install --upgrade glassbox-mech-interp