Skip to content

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

Merged
andrewtlw merged 1 commit intomainfrom
fix/build-and-lint
Mar 8, 2026
Merged

fix: use valid Python version and fix mypy lint error#267
andrewtlw merged 1 commit intomainfrom
fix/build-and-lint

Conversation

@andrewtlw
Copy link
Contributor

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

- Change .python-version from 3.10.19 to 3.10.16 (latest available in
  Rye's toolchain)
- Fix mypy comparison-overlap error in _utils/_compat.py by removing the
  dead sys.version_info < (3, 10) branch and adding type: ignore comment
@andrewtlw andrewtlw merged commit 5f0082a into main Mar 8, 2026
15 checks passed
@andrewtlw andrewtlw deleted the fix/build-and-lint branch March 8, 2026 23:02
@stainless-app stainless-app bot mentioned this pull request 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.

2 participants