Skip to content

python: Adopt .tool-versions and standardise script/ for Python - #151

Open
adamnfish-gu wants to merge 1 commit into
fix/pythonfrom
adopt/python
Open

python: Adopt .tool-versions and standardise script/ for Python#151
adamnfish-gu wants to merge 1 commit into
fix/pythonfrom
adopt/python

Conversation

@adamnfish-gu

@adamnfish-gu adamnfish-gu commented Aug 7, 2026

Copy link
Copy Markdown

script/setup used homebrew, which is not available in our CI environment, so setup failed on linux-arm64.

  • Add .tool-versions pinning python 3.13
  • Rewrite script/setup: PATH check, then python3 -m venv venv
  • Simplify script/test: cd to project root, use venv/bin/python
  • Add script/start to run the exercise
  • Delete script/test.bat, superseded by mise on Windows
  • Update README to document the .tool-versions and mise workflow

Base fix/python (#150), so the diff shows only this branch's changes. Merge #150 first.

Part of #143.

script/setup used homebrew, which is not available in our CI environment, so
setup failed on linux-arm64.

- Add .tool-versions pinning python 3.13
- Rewrite script/setup: PATH check, then python3 -m venv venv
- Simplify script/test: cd to project root, use venv/bin/python
- Add script/start to run the exercise
- Delete script/test.bat, superseded by mise on Windows
- Update README to document the .tool-versions and mise workflow

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant