Skip to content

fix(deps): cap temporalio below 1.35 - #556

Merged
declan-scale merged 1 commit into
mainfrom
declan-scale/cap-temporalio
Oct 30, 2026
Merged

declan-scale merged 1 commit into
mainfrom
declan-scale/cap-temporalio

Conversation

@declan-scale

@declan-scale declan-scale commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

What changes

  • adk/pyproject.toml: temporalio>=1.26.0,<2 becomes temporalio>=1.26.0,<1.35.
  • The temporal-openai-agents init template (pyproject.toml.j2 and requirements.txt.j2) pins temporalio>=1.26.0,<1.35.
  • Six Temporal tutorials and the procurement demo pin temporalio>=1.26.0,<1.35.
  • uv.lock records the new specifier. The resolved version stays at 1.27.2. uv also syncs the stale editable versions of agentex-client and agentex-sdk to 0.28.4.

Why

temporalio 1.35 moves the OpenAI Agents integration into the temporalio-openai-agents package, which needs openai-agents 0.20 or later. The SDK imports temporalio.contrib.openai_agents unconditionally, so each Temporal worker crashes at startup on 1.35. The cap is the short-term fix until the SDK moves to openai-agents 0.20.

The same change is in the staging repo: scaleapi/scale-agentex-python-staging#37.

Checks

  • uv lock --check passes.
  • uv sync --frozen --all-packages, then import agentex and import temporalio.contrib.openai_agents work (temporalio 1.27.2, openai-agents 0.14.8).
  • Temporal unit tests pass (43): tests/lib/test_temporal_utils.py, tests/lib/test_agentex_worker.py, tests/lib/core/services/test_temporal_task_service.py, tests/lib/core/tracing/test_temporal_interceptor.py, tests/lib/core/harness/test_harness_openai_temporal.py. CI runs the full suite.

Release

After merge, release-please updates its release PR on main with a patch bump and a "Bug Fixes" changelog entry. Merging that release PR publishes agentex-client and agentex-sdk to PyPI.

🤖 Generated with Claude Code

https://claude.ai/code/session_018gtTYcnigSuJ6qquhhDzxg

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no actionable issues were found.

Summary

Caps temporalio at >=1.26.0,<1.35 in the SDK, OpenAI Agents templates, and six example projects.

  • Agentex Temporal projects stay below version 1.35.

Reviews (1) · Last reviewed commit: "fix(deps): cap temporalio below 1.35" · Reviewed by Greptile

temporalio 1.35 moves the OpenAI Agents integration into the
temporalio-openai-agents package, which needs openai-agents 0.20 or later.
The SDK imports temporalio.contrib.openai_agents unconditionally, so Temporal
workers crash at startup on 1.35. Cap the SDK, the OpenAI Agents init template,
and the affected tutorials at <1.35, as in the staging repo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018gtTYcnigSuJ6qquhhDzxg
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedpypi/​temporalio@​1.34.067100100100100

View full report

@declan-scale
declan-scale merged commit 4cb3032 into main Oct 30, 2026
55 checks passed
@declan-scale
declan-scale deleted the declan-scale/cap-temporalio branch October 30, 2026 16:08
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