Upgrade workflow¶
vstack-upgrade checks PyPI for newer releases of valanistack, prints the install command, and shows the relevant CHANGELOG sections as migration notes. Never execs pip itself — different package managers (pip / pipx / uv / system) behave differently and the user runs the command themselves.
vstack-upgrade # human-readable
vstack-upgrade --json # machine-readable
vstack-upgrade --quiet # silent if up-to-date (exit 0)
vstack-upgrade --allow-prereleases # consider rc / dev versions
Exit codes¶
0— up to date1— upgrade available2— PyPI lookup failed
Useful in CI to fail a build if a critical bump is available: