Skip to content

v1.2.1 — self-update hardening

Choose a tag to compare

@BlizzHacker BlizzHacker released this 13 Oct 18:47
· 45 commits to main since this release

ROMarr v1.2.1 — self-update hardening.

  • The detached updater now installs dependencies into the interpreter that actually runs ROMarr (sys.executable — the venv on a normal install). It previously picked system python3 via PATH, where pip refuses under PEP 668 ("externally-managed-environment"); a real update adding a dependency would have restarted into new code with a missing import. (#55)
  • A failed dependency install now rolls the checkout back (git reset --hard to the pre-update commit) and exits without restarting — staying on the running old version beats coming up on new code that cannot import. (#55)

Both were found by running the self-update path end-to-end on a live git install and reading its log; the restart machinery itself was proven working in the same run.

Full suite: 2183 passed, 3 skipped.