Skip to content

v0.3.2

Choose a tag to compare

@markfreeman-dot-dev markfreeman-dot-dev released this 09 Apr 06:54
· 17 commits to main since this release
8a35e3f

Fixes

petri launch dashboard now loads — petri/templates/frontend.html was not included in the published wheel because [tool.setuptools.package-data] only whitelisted templates/*.txt. On a fresh PyPI install, the first request to GET / crashed with FileNotFoundError: .../petri/templates/frontend.html. Fixed by adding templates/*.html to the package-data glob.

This was a latent bug in v0.3.0 and v0.3.1. Existing dashboard tests pass against the source tree because the file exists there; it only manifests against the built wheel.

Upgrade

uv pip install --refresh petri-grow==0.3.2

(The --refresh flag busts uv's index cache — without it uv may still show 0.3.1 until the cache expires.)