python-gen-tarball
The tarball is the distribution unit. Local edits run against the venv, so
tests pass — but Hermit-bootstrapped environments and CI extract the
committed proto-python-gen-<version>.tar.gz and keep using the old code
until it's rebuilt. This is a quiet failure mode that's easy to miss.
What to do
- Decide whether to bump
versioninpackages/proto-python-gen/justfile:- Behavior change or new feature → bump.
- Pure refactor → optional. Ask if unclear.
- Build:
Producescd packages/proto-python-gen && just packageproto-python-gen-<version>.tar.gz. - Stage the tarball alongside the source change. A source-only commit will fail to bootstrap fresh environments.
- If the version was bumped, search for hard-coded references and update:
rg "proto-python-gen-[0-9]" -g '!*.tar.gz'
What to avoid
just gendoes not rebuild this tarball. Onlyjust packageinsidepackages/proto-python-gen/does.