Skip to content

Update dependencies and upgrade Temporal Python SDK to 1.36.0 - #412

Open
VegetarianOrc wants to merge 4 commits into
mainfrom
amazzeo/sdk-1.36.0
Open

VegetarianOrc wants to merge 4 commits into
mainfrom
amazzeo/sdk-1.36.0

Conversation

@VegetarianOrc

@VegetarianOrc VegetarianOrc commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Consolidate dependency updates from 23 open Dependabot PRs into one change, including the root Python project, the Bedrock AgentCore sample, and the Go workflow sample.
  • Upgrade temporalio to 1.36.0 in all five Python lockfiles and raise SDK requirements to >=1.36.0,<2.
  • Raise the minimum Python version to 3.11, as required by SDK 1.36.0, and test Python 3.11 and 3.14 in both CI matrices.
  • Replace the Cloud Run sample's SDK Git pin with the published release, which includes CloudRunIdPlugin.
  • Combine environment-configured plugins with sample plugins before Client.connect to accommodate SDK 1.36.0's connection configuration.
  • Upgrade the Go workflow sample to the latest Temporal Go SDK, v1.51.0, and let Go resolve its required transitive dependencies (including gRPC v1.83.2). This raises the sample's minimum Go version to 1.26.

cryptography remains at 50.0.2, already newer than Dependabot's requested 50.0.0. Existing Dependabot PRs have not been closed.

Dependabot coverage

Covers the targets from #408, #407, #406, #405, #401, #398, #397, #396, #395, #392, #391, #389, #387, #386, #381, #380, #379, #375, #373, #357, #344, #339, and #337.

Validation

  • Root uv run poe lint: passed on Python 3.14.
  • Root uv run poe test: 237 passed, 4 skipped on Python 3.14 with SDK 1.36.0.
  • Bedrock AgentCore uv run poe lint and uv run poe test: passed (1 test).
  • Lambda worker uv run poe lint and uv run poe test: passed (1 test).
  • OpenAI Agents MCP v2 uv run poe lint and uv run poe test: passed (3 tests).
  • Cloud Run plugins import successfully from the published SDK 1.36.0.
  • All five lockfiles pass uv lock --check using Python 3.11; all resolve the registry release of SDK 1.36.0.
  • Go go test ./... and go vet ./...: passed (no Go test files).
  • git diff --check: passed.

The full CI platform matrix has not been run locally. A time-skipping test run before the SDK upgrade timed out after 200 seconds and was not rerun with SDK 1.36.0.

Python 3.15 follow-up

Python 3.15 was evaluated but is not included in this PR's CI matrix: LiteLLM's fastuuid==0.14.0 dependency cannot build on 3.15. Keep CI on 3.11 and 3.14 until dependency support is available. The temporary 3.15-only ormsgpack bump was reverted.

@VegetarianOrc
VegetarianOrc requested review from a team as code owners November 12, 2026 20:16
Comment thread activity_worker/go_workflow/go.mod Outdated
go 1.17
go 1.25.0

require go.temporal.io/sdk v1.14.0

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.

Consider bumping the SDK version and allowing the other dependencies to ride with it.



@workflow.defn
class HumanInTheLoopWorkflow:

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.

These changes in this sample feel out of place for a version bump. I assume this was included because there is a timing issue in the test that is made more prevalent in the new SDK version. Consider moving it to it's own PR, complete it separately, and then merge / rebase into this PR.

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