Skip to content

Ensure CI runs on the correct version of python and fix typing issues#33

Merged
xvaier merged 3 commits into
mainfrom
xavier/fix-old-python-linting
May 22, 2026
Merged

Ensure CI runs on the correct version of python and fix typing issues#33
xvaier merged 3 commits into
mainfrom
xavier/fix-old-python-linting

Conversation

@xvaier
Copy link
Copy Markdown
Contributor

@xvaier xvaier commented May 22, 2026

The python-version matrix in tests.yml wasn't actually pinning the Python uv used, so every matrix entry was running tests on whatever interpreter uv picked (typically the newest available).

This let a Python-3.9 runtime failure (TypeError: unsupported operand type(s) for |: 'type' and 'NoneType' from PEP 604 unions in models.py / api_client.py) pass CI despite "3.9" being green in CI.

@xvaier xvaier requested a review from aviau as a code owner May 22, 2026 19:08
@xvaier xvaier force-pushed the xavier/fix-old-python-linting branch from 94bab7a to 2cb9310 Compare May 22, 2026 19:13
@xvaier xvaier force-pushed the xavier/fix-old-python-linting branch from 2cb9310 to f4243c4 Compare May 22, 2026 19:14
Comment thread .github/workflows/tests.yml
@xvaier xvaier merged commit e0fb814 into main May 22, 2026
10 checks passed
@xvaier xvaier deleted the xavier/fix-old-python-linting branch May 22, 2026 19:18
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.

2 participants