Skip to content

v4.0.1 — Spine Toolbox install & detection fixes

Choose a tag to compare

@jkiviluo jkiviluo released this 02 Sep 10:31
· 4 commits to main since this release
8744e9f

FlexTool 4.0.1 — Spine Toolbox install & detection fixes

Patch release on top of 4.0.0. GUI-only — no schema or model changes.

  • Installing Spine Toolbox from the GUI now works. The install action was tied to the "Update FlexTool" button, which is disabled when FlexTool is already the latest — so on a fresh install the Spine Toolbox extra could never be installed. It is now a dedicated "Install Spine Toolbox" button, shown only when Toolbox is missing, that installs just the extra (pip install "flextool[toolbox]", or editable -e ".[toolbox]" in a git checkout).
  • Environment-scoped Toolbox detection and launch. toolbox_installed() no longer falls back to a PATH lookup, which reported "installed" when a spine-db-editor from a different environment was on PATH. Detection now checks only the current environment, and the Spine DB Editor is launched from it (python -m spinetoolbox.spine_db_editor.main) — so the dialog and the open-.sqlite path agree.
  • Docs. The recommended install now pulls the Spine Toolbox and result-viewer extras (pip install "flextool[toolbox,viewer]"); plain pip install flextool gives a spreadsheet-only install.

Full changelog: see CHANGELOG.md.