Skip to content

Conversation

@diegofornalha
Copy link
Contributor

Summary

Add support for Python 3.10+ in the Python SDK.

Closes #117

Changes

  • Update requires-python from >=3.12 to >=3.10
  • Add Python 3.10 and 3.11 classifiers
  • Update ruff target-version to py310

Analysis

The SDK codebase is fully compatible with Python 3.10+ as it only uses:

  • Standard library modules (datetime, pathlib, json, typing, dataclasses)
  • Type hints with union syntax (X | None) - available since Python 3.10 (PEP 604)
  • No Python 3.12-specific features

Impact

This change enables:

  1. Python 3.10 and 3.11 users to install the SDK
  2. Support for LTS Python versions commonly used in production
  3. Broader adoption without any code changes

Test Plan

  • Verify SDK installs on Python 3.10
  • Verify SDK installs on Python 3.11
  • Run existing tests on Python 3.10+

🤖 Generated with Claude Code

The SDK codebase is fully compatible with Python 3.10+ as it only uses:
- Standard library modules (datetime, pathlib, json, typing, dataclasses)
- Type hints with union syntax (X | None) - available since Python 3.10
- No Python 3.12-specific features

Changes:
- Update requires-python from >=3.12 to >=3.10
- Add Python 3.10 and 3.11 classifiers
- Update ruff target-version to py310

This enables broader adoption for users on LTS Python versions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@penberg penberg changed the title feat(python-sdk): add Python 3.10+ support python-sdk: add Python 3.10+ support Dec 21, 2025
@penberg penberg merged commit 3503134 into tursodatabase:main Dec 21, 2025
33 checks passed
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.

[Python SDK] Add Python 3.10+ support

2 participants