fix(scripts): require Python 3.13 in dev-setup.sh #81

Merged
Defame1297 merged 1 commits from fix/dev-setup-python-version into main 2026-11-10 21:52:22 +00:00
Owner

requirements-dev.txt pins ansible-core==2.22.0 (e0a7c77), which needs Python 3.13+.
scripts/dev-setup.sh still accepted 3.11+, so on a 3.11 host pip failed with
"no matching distribution", and an existing 3.11 .venv was kept instead of rebuilt.

  • Raise the interpreter guard to 3.13 and fix the error message (points to uv python install 3.13).
  • Update the stale 2.19 / 3.11 comments, and note that a Renovate bump that changes the
    minimum Python must raise the guard in the same PR.
  • No changelog fragment: scripts/ is in galaxy.yml build_ignore, so consumers are unaffected.

Verified: bash -n; a full run of the script on Python 3.13 (venv rebuilt, hooks installed);
the commit hooks pass.
Not verified: the new error message on a 3.11 host (I rebuilt the venv on 3.13 before
changing the script).

🤖 Generated with Claude Code

`requirements-dev.txt` pins `ansible-core==2.22.0` (e0a7c77), which needs Python 3.13+. `scripts/dev-setup.sh` still accepted 3.11+, so on a 3.11 host pip failed with "no matching distribution", and an existing 3.11 `.venv` was kept instead of rebuilt. - Raise the interpreter guard to 3.13 and fix the error message (points to `uv python install 3.13`). - Update the stale 2.19 / 3.11 comments, and note that a Renovate bump that changes the minimum Python must raise the guard in the same PR. - No changelog fragment: `scripts/` is in `galaxy.yml` `build_ignore`, so consumers are unaffected. Verified: `bash -n`; a full run of the script on Python 3.13 (venv rebuilt, hooks installed); the commit hooks pass. Not verified: the new error message on a 3.11 host (I rebuilt the venv on 3.13 before changing the script). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Claude added 1 commit 2026-11-10 21:47:04 +00:00
fix(scripts): require Python 3.13 in dev-setup.sh
Build / build (pull_request) Successful in 10s
Lint / lint (pull_request) Successful in 17s
Molecule / molecule (pull_request) Successful in 4m49s
a0091abc14
requirements-dev.txt pins ansible-core 2.22.0, which needs Python 3.13+.
The script still accepted 3.11+, so on a 3.11 host pip failed with an
opaque 'no matching distribution' error, and an existing 3.11 venv was
kept instead of rebuilt. Raise the guard, fix the message and comments.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Defame1297 scheduled this pull request to auto merge when all checks succeed 2026-11-10 21:49:30 +00:00
Defame1297 merged commit 739e98c387 into main 2026-11-10 21:52:22 +00:00
Defame1297 deleted branch fix/dev-setup-python-version 2026-11-10 21:52:22 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#81