You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
The wheel now carries the model family table.interlock.families read table/model-families.json relative to the source tree (parents[2]), which is not in the wheel, so family_of and stamp_family raised FamilyError on every installed copy (1.0.3 and earlier). The file ships as package data (interlock/data/model-families.json, a hatch force-include) and is read through importlib.resources; a source checkout still reads table/.
families_path() raises FamilyError naming both places it tried (the packaged copy and table/) when neither exists.
Added
tests/test_packaging.py: the wheel's copy is byte-equal to table/model-families.json; a wheel installed into a clean venv, run from outside the repository with -I, answers family_of and stamp_family (it runs on every CI Python leg and fails on 1.0.3 with FamilyError); a sweep fails on any __file__-relative read that climbs out of the package in a module with no importlib.resources packaged copy; every workflow action is pinned by commit SHA with a version comment (the SLSA generator is a reusable workflow that must be called by tag).
The __file__ sweep names its exceptions exactly, as (file, line) pairs, and fails if a listed line stops escaping. It also flags os.path.dirname(__file__), parents[<variable>], / ".." climbs and a bound path climbed later; each form has a planted example.
The clean-venv wheel test also runs run_linux_throughput_ladder with a stub backend, so the packaged throughput inputs are exercised from the wheel; it installs the wheel with its dependencies.
Changed
CI actions moved to current majors, SHA-pinned (setup-uv v10.3.2, setup-node v7.1.0, upload-pages-artifact v5.0.0, deploy-pages v5.0.1; read 2026-10-25).