Skip to content

chore/Python-version-pin · L-261023-540990 - #104

Merged
lchoquel merged 2 commits into
devfrom
chore/Python-version-pin
Oct 23, 2026
Merged

lchoquel merged 2 commits into
devfrom
chore/Python-version-pin

Conversation

@lchoquel

@lchoquel lchoquel commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

The development interpreter is now pinned to 3.13 in .python-version, and the Makefile exports it as UV_PYTHON so every uv command uses it unless PYTHON_VERSION or UV_PYTHON asks for another. Each matrix job sets UV_PYTHON from its matrix version for the whole job and ends by asserting its interpreter, so a matrix can no longer silently test only the pinned version; this is the pilot of that pattern for the workspace.

Closes L-261023-540990

🤖 Generated with Claude Code

https://claude.ai/code/session_01TuqArJByf4EdN7khSDRiPe


Summary by cubic

Pins the development interpreter to 3.13 in .python-version and makes CI prove each matrix job actually runs the version it names.

  • The Makefile reads .python-version and exports it as UV_PYTHON, so every uv command agrees on one interpreter unless PYTHON_VERSION or UV_PYTHON asks for another.
  • CI matrix jobs set UV_PYTHON for the whole job and assert the interpreter matches, so a matrix can no longer silently test only the pinned version.
  • PYTHON_VERSION=<version> make install still builds .venv on another requires-python-supported version.

Written for commit fa3180d. Summary will update on new commits.

View guided diff Turn on auto-fix

lchoquel and others added 2 commits October 23, 2026 19:34
…ell's version

.python-version names 3.13, the version the Makefile defaulted to. The Makefile
reads it and exports the chosen version as UV_PYTHON, so PYTHON_VERSION or
UV_PYTHON still select another one and every uv command, uv sync included,
keeps .venv on it. The lint and test matrices set UV_PYTHON for the whole job
instead of prefixing one command, and end by asserting that .venv ran the
version the job names. docs/development.md says where the interpreter is
pinned and how to try another.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TuqArJByf4EdN7khSDRiPe
Nothing in the repository reads TEST_PROFILE, so the prefix on
lint-check.yml's make install did nothing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TuqArJByf4EdN7khSDRiPe
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-23T17:42:35.385764Z fa3180d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lchoquel
lchoquel merged commit 7f1a23e into dev Oct 23, 2026
19 checks passed
@lchoquel
lchoquel deleted the chore/Python-version-pin branch October 23, 2026 19:50
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant