Skip to content

fix: align client-python requires-python with monorepo py310 target - #491

Merged
stepmikhaylov merged 1 commit into
rocketride-org:developfrom
josephmccann:docs/python-compatibility-note
Apr 6, 2026
Merged

stepmikhaylov merged 1 commit into
rocketride-org:developfrom
josephmccann:docs/python-compatibility-note

Conversation

@josephmccann

@josephmccann josephmccann commented Mar 30, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #434

The monorepo's root pyproject.toml sets target-version = 'py310' for ruff, indicating the project targets Python 3.10+. The client SDK's requires-python = '>=3.8' was inconsistent with this.

Changes:

  • requires-python: >=3.8 → >=3.10
  • Classifiers: remove Python 3.8/3.9 entries, add Python 3.13

This ensures pip won't install the SDK into Python 3.8/3.9 environments where node code using 3.10+ features (structural pattern matching, etc.) could fail at runtime.

Summary by CodeRabbit

  • Chores
    • Updated minimum Python version requirement to 3.10 (from 3.8). Dropped support for Python 3.8 and 3.9. Added support for Python 3.13.

Fixes #434

The monorepo's root pyproject.toml sets ruff target-version = 'py310',
indicating the project targets Python 3.10+. The client SDK's
requires-python = '>=3.8' was inconsistent with this baseline.

Changes:
- requires-python: >=3.8 → >=3.10
- Classifiers: remove 3.8/3.9 entries, add 3.13

Python 3.10 minimum ensures callers have access to match statements,
structural pattern matching, and other 3.10+ features used in node code.
@coderabbitai

coderabbitai Bot commented Mar 30, 2026 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

The client-python package minimum Python version requirement has been updated from 3.8 to 3.10, aligning it with client-mcp. Python 3.8 and 3.9 classifiers are removed, and Python 3.13 support is added.

Changes

Cohort / File(s) Summary
Python Version Alignment
packages/client-python/pyproject.toml
Bumped minimum Python version requirement from 3.8 to 3.10; removed Python 3.8/3.9 classifiers; added Python 3.13 classifier.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • jmaionchi
  • stepmikhaylov
  • Rod-Christensen

Poem

🐰 Hop, hop, version three-point-ten!
No more eight and nine, my friend,
Now aligned with MCP's way,
Consistency wins the day! 🎉

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title clearly summarizes the main change: aligning client-python's requires-python version with the monorepo's py310 target.
Linked Issues check ✅ Passed The PR successfully addresses issue #434 by updating client-python's requires-python from >=3.8 to >=3.10, making it consistent with client-mcp and the monorepo target.
Out of Scope Changes check ✅ Passed All changes are directly related to aligning Python version requirements. The classifier updates for Python 3.8, 3.9, and 3.13 support are appropriate scope for this fix.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@packages/client-python/pyproject.toml`:
- Line 26: The pyproject.toml currently declares "Programming Language :: Python
:: 3.13" but the pinned minimum packages (websockets, pydantic, aiofiles) don't
officially support 3.13; either bump the minimum versions for websockets,
pydantic and aiofiles in pyproject.toml to releases that list Python 3.13 in
their classifiers (update the version specifiers for websockets, pydantic,
aiofiles) or remove the "Programming Language :: Python :: 3.13" classifier
until verified; change the dependency lines for websockets, pydantic, and
aiofiles (or the classifier string) so the file consistently reflects only
supported Python versions.
- Line 45: The pyproject change sets requires-python = ">=3.10" but the release
workflow only sets up Python 3.12; update the release workflow job that runs
tests/publish (the job in .github/workflows/_release.yaml that currently uses
actions/setup-python) to use a matrix with python-version: ["3.10", "3.11",
"3.12", "3.13"] so the package is tested on all declared interpreters before
publishing; ensure the matrix runs the existing install/test steps (the same
steps executed for the current 3.12 runner) and gate the publish step to only
run after all matrix jobs succeed.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 154f2fdf-b49b-40b4-8de6-8eb2007307e5

📥 Commits

Reviewing files that changed from the base of the PR and between 4d473ca and 3380ac7.

📒 Files selected for processing (1)
  • packages/client-python/pyproject.toml

Comment thread packages/client-python/pyproject.toml Resolved
Comment thread packages/client-python/pyproject.toml Resolved
@stepmikhaylov
stepmikhaylov enabled auto-merge (squash) April 6, 2026 13:13
@stepmikhaylov
stepmikhaylov merged commit ded5f6a into rocketride-org:develop Apr 6, 2026
14 checks passed
shashidharbabu pushed a commit that referenced this pull request Apr 7, 2026
…#491)

Fixes #434

The monorepo's root pyproject.toml sets ruff target-version = 'py310',
indicating the project targets Python 3.10+. The client SDK's
requires-python = '>=3.8' was inconsistent with this baseline.

Changes:
- requires-python: >=3.8 → >=3.10
- Classifiers: remove 3.8/3.9 entries, add 3.13

Python 3.10 minimum ensures callers have access to match statements,
structural pattern matching, and other 3.10+ features used in node code.
charliegillet added a commit to charliegillet/rocketride-server that referenced this pull request Apr 10, 2026
The requires-python floor was bumped to >=3.10 in PR rocketride-org#491, but two
documentation references still mentioned 3.8. This aligns them.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
stepmikhaylov pushed a commit that referenced this pull request Apr 13, 2026
The requires-python floor was bumped to >=3.10 in PR #491, but two
documentation references still mentioned 3.8. This aligns them.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
AviNormie pushed a commit to AviNormie/rocketride-server that referenced this pull request Nov 9, 2026
…rocketride-org#491)

Fixes rocketride-org#434

The monorepo's root pyproject.toml sets ruff target-version = 'py310',
indicating the project targets Python 3.10+. The client SDK's
requires-python = '>=3.8' was inconsistent with this baseline.

Changes:
- requires-python: >=3.8 → >=3.10
- Classifiers: remove 3.8/3.9 entries, add 3.13

Python 3.10 minimum ensures callers have access to match statements,
structural pattern matching, and other 3.10+ features used in node code.
AviNormie pushed a commit to AviNormie/rocketride-server that referenced this pull request Nov 9, 2026
…etride-org#657)

The requires-python floor was bumped to >=3.10 in PR rocketride-org#491, but two
documentation references still mentioned 3.8. This aligns them.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module:client-python Python SDK and MCP client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maintain Python compatibility between different components

3 participants