Remove OpenAI Agents integration - #1868
Conversation
…lio/sdk-python into remove-openai-agents-integration
Co-authored-by: Brian Strauch <brian@brianstrauch.com>
|
Side note from watching this branch's CI: Separately, the |
…lio/sdk-python into remove-openai-agents-integration
Co-authored-by: Brian Strauch <brian@brianstrauch.com>
|
Side note from watching this branch's CI: Separately, the |
Summary
temporalio[openai-agents]as a forwarding extra that installstemporalio-openai-agentstemporalio.contrib.openai_agentsimports with explicit compatibility modulestemporalio.openai_agentsthe canonical standalone import pathtemporalio.contrib.__getattr__migration hooktemporaliopackage path so editable standalone plugins can be discoveredThis is the SDK half of the OpenAI Agents plugin cutover. The standalone distribution installs under
temporalio.openai_agents, so it can coexist with an SDK-bundledtemporalio.contrib.openai_agentsimplementation without sharing files.Release order
temporalio-openai-agents1.0.0 is published on PyPI. The two-week dependency age window has passed, and this branch now locks the published package without a per-package override.temporalio-openai-agents1.0.0 was published through its normal release workflow.Migration
Remove the
openai-agentsextra from the existing Temporal dependency and install the standalone package directly:Remove the brackets if no extras remain. Then install the standalone package:
Change application imports to the standalone package:
The new import path selects the standalone implementation instead of the SDK-bundled
temporalio.contrib.openai_agentsimplementation.The forwarding extra and old public imports remain available for compatibility, but direct dependency on
temporalio-openai-agentsand thetemporalio.openai_agentsimport are the recommended migration.Validation
Completed on macOS with Python 3.14:
uv lock --checkuv sync --all-extraspoe build-developpoe lintpoe test -s -k openai_agents_compatibility(2 passed)The full SDK test matrix runs in CI.