Skip to content

fix: run on Python 3.11, which the ops host has - #66

Merged
Bilb merged 1 commit into
mainfrom
fix/python-3.11
Oct 3, 2026
Merged

Bilb merged 1 commit into
mainfrom
fix/python-3.11

Conversation

@Bilb

@Bilb Bilb commented Oct 3, 2026

Copy link
Copy Markdown
Collaborator

The ops host (angus) runs Debian 12, whose Python is 3.11.2. install.sh builds the venv with the system Python on purpose, so with requires-python = ">=3.12" it stops at its first step.

Nothing here needed 3.12 except the syntax of 20 f-strings in the Crowdin scripts, which split a replacement field across lines (f"... {\n expr}"). Only Python 3.12 parses that; each is joined back onto one line.

  • requires-python and ruff's target-version move to 3.11, so ruff now reports that syntax as invalid.
  • CI's unit tests run on 3.11, the oldest Python the deploy targets.
  • deploy/README.md says 3.11+.

All 730 tests pass on Python 3.11.16 and 3.14.4.

Twenty f-strings broke a replacement field across lines, which only Python 3.12 parses;
each is joined back onto one line. CI's unit tests and ruff's target move to 3.11 so the
next one is caught before a deploy.
@Bilb
Bilb merged commit 3239975 into main Oct 3, 2026
3 checks passed
@Bilb
Bilb deleted the fix/python-3.11 branch October 3, 2026 01:19
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