fix(install): require python3 3.11+ in preflight - #181
Merged
42piratas merged 1 commit intoAug 14, 2026
Conversation
42piratas
force-pushed
the
fix/installer-python-version-preflight
branch
from
August 14, 2026 17:28
82de04f to
d9e7812
Compare
42piratas
force-pushed
the
fix/installer-python-version-preflight
branch
from
August 14, 2026 17:46
d9e7812 to
8fc287a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
The installer's preflight checks that
gitandpython3exist, but not which Python. The engine readsworkflow.tomlwithtomllib, stdlib only from 3.11 — so this adds the version to the same preflight block, in the samehave … || diestyle.On Ubuntu 22.04 LTS (ships 3.10) or macOS system Python (3.9) the installer today reports success:
and the first
tron startthen dies far from the cause, inside a module the user has never opened:After, it fails at the gate with the fix named, before anything is cloned or symlinked:
The minimum isn't recorded anywhere today — Getting Started's Requirements says "python3 and git" — so the header comment now carries it next to the check that enforces it.
Notes:
PY_VERfalls back to?ifpython3 -ccannot run at all, so the message is never blank.|| dieform is safe underset -eu— POSIX ignores-efor any command of an AND-OR list other than the last, so a failing probe routes todierather than exiting mute.Source of truth touched?
engine/workflow.toml→python3 engine/workflow.py --write(docs/WORKFLOW.md) +python3 engine/bpmn.py --write(workflow/)engine/glossary.py→--write(docs/GLOSSARY.md)engine/events.py→--write(docs/EVENTS.md)Checklist
engine/*.py,evaluation/harness.py --selftest)Verified both arms on this branch:
sh -n install.shclean; the gate fires on a real 3.10 and exits 1 before cloning; with apython3reporting 3.12 the install runs through to✓ TRON 0.4.3 installed.unchanged. No selftest or CI job readsinstall.sh, and the file mode stays100755.