Skip to content

Validate samples against the temporalio 1.37.0 release wheel - #448

Closed
linear-code[bot] wants to merge 1 commit into
mainfrom
linear/sdk-621-validate-python-samples-against-the-1370-7695
Closed

linear-code[bot] wants to merge 1 commit into
mainfrom
linear/sdk-621-validate-python-samples-against-the-1370-7695

Conversation

@linear-code

@linear-code linear-code Bot commented Dec 2, 2026

Copy link
Copy Markdown

sdkVersion: 1.37.0

Validation only. Do not merge. This PR stays open for the PyPI update.

This PR records a validation of the samples against the temporalio 1.37.0 wheel built by the sdk-python release run. It has one empty commit and no file changes. During validation temporalio was pointed at the downloaded wheel with a working-tree-only [tool.uv.sources] path entry. That entry was removed before committing, so no binary, local path, or lockfile with a path source is committed. Main already pins temporalio==1.37.0 from PyPI and its lockfiles already resolve it from PyPI, so no lockfile change is needed.

Source

  • Run: https://github.com/temporalio/sdk-python/actions/runs/45505829597 ("Release from main", release-publish.yml, conclusion success, head 83f91fdfc1a08279f7298788ea15617374a43989, "Prepare release 1.37.0 (#2161)")
  • Artifact: packages-linux-amd64 (ID 14973805952). The zip's SHA-256 a1238963…12b9 matches the artifact digest reported by the API.
  • Wheel: temporalio-1.37.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl, SHA-256 a45b9152fd23270ea310b87a70f2f7bb60ad5c3133c0386a5afb98a72f69f591. This is the only wheel in the artifact, and it matches the environment: CPython 3.14.10 / 3.13.5 on x86_64 with glibc 2.41.
  • Wheel metadata, checked before installing: Name: temporalio, Version: 1.37.0, Requires-Python: >=3.11, tags cp311-abi3-manylinux_2_17_x86_64 and cp311-abi3-manylinux2014_x86_64.
  • The wheel hash is identical to the PyPI temporalio 1.37.0 x86_64 manylinux wheel hash already recorded in uv.lock on main.

Proof that the downloaded wheel was used

After each uv lock / uv sync --reinstall-package temporalio, a check ran in each venv. It confirmed that temporalio 1.37.0's direct_url.json points to the downloaded wheel file. It also compared every installed file against the wheel's RECORD hashes: 1150 checked, 0 mismatched in the root project and in every standalone project. The relocked uv.lock changed only the temporalio source, from the PyPI registry to the wheel path.

Results

Root project (Python 3.14.10, CI's commands):

  • uv run poe lint: passed (ruff, mypy on 954 files and on 14 external-storage files).
  • uv run poe test: 246 passed, 3 skipped, 1 failed. The failure is tests/claude_agent_sdk_plugin/tools_test.py::test_tools: 'DeferredToolPlaceholder' != 'mcp__demo__get_weather'. This tool list comes from claude-agent-sdk, and Validate samples against sdk-python chore/release-1.37.1 #437/Validate samples against sdk-python chore/release-1.37.1 #438 reported the same failure on main with PyPI 1.37.0. It is not caused by the SDK and is not fixed here.
  • uv run poe test --workflow-environment time-skipping: 192 passed, 58 skipped.
  • uv run poe test-external-storage: 2 passed.

Standalone projects (Python 3.14.10; uv lock, uv sync --all-groups, uv run poe lint, uv run poe test):

Project Lint Tests
lambda_worker pass 1 passed
nexus_serialization_context pass 22 passed
bedrock_agentcore/strands_agent pass 1 passed
microsoft_agent_framework_plugin/mcp pass 1 passed
openai_agents/mcp_v2 pass 3 passed
gcp/cloud_run sync only (no tests) —
arize_tracing (pin bumped 1.36.0 → 1.37.0 locally only) pass 5 passed
trio_async (pin bumped 1.36.1 → 1.37.0 locally only, Python 3.13.5) pass 1 failed (hung, timed out after 180s)

trio_async fails with concurrent.futures.Future is expected, got <coroutine object TrioExecutor.submit>. This is the known incompatibility for which #431 kept the sample on 1.36.1, so nothing is changed here. arize_tracing stays on its intentional 1.36.0 pin.

Samples run against temporal server start-dev (CLI 1.10.1, Server 1.32.2) following their READMEs:

  • uv run hello/hello_activity.py: Result: Hello, World!
  • uv run hello/hello_child_workflow.py: Result: Hello, World!
  • uv run hello/hello_update.py: Update Result: Workflow status updated, Workflow Result: Hello, World!
  • uv run hello/hello_signal.py: Result: ['Hello, user1', 'Hello, user2', 'Hello, user3']
  • message_passing/introduction worker + starter: language changes logged, ending مرحبا بالعالم, and the starter exited 0.
  • hello_nexus (namespaces and endpoint created per README, handler worker + caller/app.py): Hello world from sync operation!, Hello world from workflow run operation!, and the caller exited 0.

Not run: the CI matrix on Python 3.11, macOS and Windows; the pydantic-v1 downgrade step; and the gevent test. Only the linux x86_64 wheel was exercised.

Validation-only commit with no file changes. The wheel came from
temporalio/sdk-python Actions run 45505829597. The evidence is in the
pull request description.

Generated with [Linear](https://linear.app/temporal/agent-session/1893a117-bcc6-43e3-8ba6-4fe44d2c035b)
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