Skip to content

fix: use valid Python version and fix mypy lint error#266

Closed
andrewtlw wants to merge 1 commit intomainfrom
fix/ci-python-version
Closed

fix: use valid Python version and fix mypy lint error#266
andrewtlw wants to merge 1 commit intomainfrom
fix/ci-python-version

Conversation

@andrewtlw
Copy link
Contributor

@andrewtlw andrewtlw commented Mar 8, 2026

Summary

  • Change .python-version from 3.10.19 to 3.10.16 (latest available in Rye's toolchain), fixing all CI jobs failing with unknown version cpython-x86_64-linux@3.10.19
  • Fix mypy comparison-overlap error in _utils/_compat.py by removing the dead sys.version_info < (3, 10) branch (Python 3.9 was dropped in chore: deprecate Python 3.9 support #264) and adding a type: ignore comment

CPython 3.10.19 does not exist in Rye's toolchain; the latest available
3.10.x is 3.10.16. This was causing all CI jobs to fail with
"unknown version cpython-x86_64-linux@3.10.19".
@andrewtlw andrewtlw force-pushed the fix/ci-python-version branch from a9c2526 to dac0cdc Compare March 8, 2026 10:06
@andrewtlw andrewtlw closed this Mar 8, 2026
@andrewtlw andrewtlw deleted the fix/ci-python-version branch March 8, 2026 10:18
@andrewtlw andrewtlw changed the title fix(ci): use valid Python version in .python-version fix: use valid Python version and fix mypy lint error Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant