chore: update python version r1 - #29
Conversation
|
There was a problem hiding this comment.
Pull request overview
This PR introduces a new .python-version file at the repository root, intended to pin the local Python interpreter version for tools like pyenv and uv.
Changes:
- Adds a
.python-versionfile pinning Python to version3.11
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -0,0 +1 @@ | |||
| 3.11 | |||
There was a problem hiding this comment.
The .python-version file sets the Python version to 3.11, but the rest of the project consistently uses Python 3.12:
- CI workflow (
.github/workflows/ci.yml, line 22) pinspython-version: '3.12' render.yaml(line 11) setsPYTHON_VERSION: "3.12.0"for the production deploymentpyproject.toml(line 72) configures mypy withpython_version = "3.12"
This mismatch means local environments using pyenv or uv (which both respect .python-version) will run Python 3.11, while CI and production run Python 3.12. This could lead to hard-to-debug discrepancies (e.g., type-checking inconsistencies, syntax or behaviour differences). The value should be updated to 3.12 to be consistent with the rest of the stack.
| 3.11 | |
| 3.12 |



Maintenance update