Skip to content

Add support for Python 3.15 and remove 3.10 - #390

Merged
anuraaga merged 5 commits into
connectrpc:mainfrom
anuraaga:py315
Oct 10, 2026
Merged

anuraaga merged 5 commits into
connectrpc:mainfrom
anuraaga:py315

Conversation

@anuraaga

@anuraaga anuraaga commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

3.15 out soon and 3.10 is already EOL. We've also never tested free-threaded python so good to test that, there's nothing we do that would break with it.

All of the code changes are automatic by ruff

Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
@anuraaga
anuraaga requested a review from a team October 9, 2026 06:36
Comment thread CONTRIBUTING.md

### Prerequisites

- Python 3.10 or later

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Since uv will provision it actually I don't think this is a prereq

Comment thread pyproject.toml

[tool.ruff.lint]
typing-extensions = false
typing-extensions = true

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

We could have done this before, doing it now

Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
Comment thread test/test_grpc.py
@@ -1,51 +1,12 @@
from __future__ import annotations

import grpc

@anuraaga anuraaga Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

grpc python still doesn't support free-threaded python while connect-py does with full compatibility with gRPC.

grpc/grpc#38762

I went ahead and just removed this rather than trying to sort something out since conformance verifies compatibility with grpc-go which should be enough

Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>

@stefanvanburen stefanvanburen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

:excellent:

Comment thread connectrpc-grpcreflect/pyproject.toml Outdated
@@ -3,7 +3,7 @@ name = "connectrpc-grpcreflect"
version = "0.1.0"
description = "gRPC reflection for connectrpc"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

maybe a follow up: the top-level calls it "Connect RPC"; these are all "connectrpc" in the description. not sure if we want them to match or if deliberate to match the top-level module name.

Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
@anuraaga
anuraaga merged commit 75c2665 into connectrpc:main Oct 10, 2026
25 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.

2 participants