Skip to content

Drop Python 3.10 - #424

Closed
DABH wants to merge 2 commits into
mainfrom
dabh/drop-python-3-10
Closed

DABH wants to merge 2 commits into
mainfrom
dabh/drop-python-3-10

Conversation

@DABH

@DABH DABH commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

This PR requires Python 3.11. Temporal Python SDK 1.36 dropped 3.10, and the AI integration samples depend on 1.36, so the root dependency floor moves to temporalio>=1.36, the CI matrix runs 3.11 and 3.14, ruff targets py311, and the README says so. The lock stops forking by Python version: temporalio 1.36.1, nexus-rpc 1.5.0, temporalio-langsmith 0.1.1 and the langchain, langgraph, langsmith, anthropic, idna and networkx pairs collapse to one version each, and the 3.10-only exceptiongroup and tomli backports go.

On 1.36 the SDK's ClientConnectConfig carries plugins, so the 17 Client.connect(**config, plugins=...) calls now add their plugin to the config's plugins and pass **config, as the load_client_connect_config docstring asks. #418 carries the same 17 sites with a dict[str, Any] copy for the 3.10 cell; whichever of the two merges second drops the overlap.

DABH added 2 commits November 16, 2026 23:30
Temporal Python SDK 1.36 requires Python 3.11, and the AI integration
samples now depend on it, so the samples require 3.11 too: the root
dependency floor is temporalio 1.36, the CI matrix runs 3.11 and 3.14,
ruff targets py311, and the README says so. The lock no longer forks by
Python version: temporalio 1.36.1, nexus-rpc 1.5.0, temporalio-langsmith
0.1.1 and the langchain, langgraph, langsmith, anthropic, idna and
networkx forks collapse to one version each, and the 3.10-only
exceptiongroup and tomli backports go.
On temporalio 1.36 the SDK's ClientConnectConfig carries plugins, so
mypy rejects Client.connect(**config, plugins=[...]) as passing plugins
twice. The SDK's load_client_connect_config docstring asks callers to
combine their plugins with the config's plugins rather than pass them
separately; these 17 sites now do that on the typed config and pass
**config alone.
@DABH

DABH commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

Closing: #412 already drops Python 3.10 and moves these Client.connect call sites to the typed config["plugins"] form, so this PR duplicates it. #418 rebases onto #412 once that merges.

@DABH DABH closed this Nov 17, 2026
@DABH
DABH deleted the dabh/drop-python-3-10 branch November 17, 2026 05:53
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.

1 participant