Skip to content

Cap openai-agents at <0.17.1 to unblock test-latest-deps - #1512

Closed
xumaple wants to merge 1 commit into
mainfrom
maplexu/fix-openai-agents-shutdown-override
Closed

Cap openai-agents at <0.17.1 to unblock test-latest-deps#1512
xumaple wants to merge 1 commit into
mainfrom
maplexu/fix-openai-agents-shutdown-override

Conversation

@xumaple

@xumaple xumaple commented May 11, 2026

Copy link
Copy Markdown
Contributor

Summary

openai-agents 0.17.1 (released today) added a timeout parameter to SynchronousMultiTracingProcessor.shutdown, which makes basedpyright report reportIncompatibleMethodOverride on _TemporalTracingProcessor.shutdown in temporalio/contrib/openai_agents/_temporal_trace_provider.py. This is breaking the test-latest-deps CI job on main and on every open PR.

Cap the dependency at <0.17.1 so the resolver stays on 0.17.0 (which still has the old shutdown(self) -> None). When we want to support 0.17.1+, update the override to accept and forward timeout and lift the cap.

Test plan

  • poe lint (basedpyright/pyright/mypy/ruff/pydocstyle) passes against pinned 0.14.8
  • poe lint passes after uv lock --upgrade (resolver picks 0.17.0, no override mismatch)
  • uv run pydoctor --quiet passes

🤖 Generated with Claude Code

openai-agents 0.17.1 added a `timeout` parameter to
`SynchronousMultiTracingProcessor.shutdown`, causing basedpyright to
report `reportIncompatibleMethodOverride` on our `_TemporalTracingProcessor`
override in `_temporal_trace_provider.py`. This was breaking the
`test-latest-deps` CI job on main and every open PR.

Cap the dependency at <0.17.1 so the resolver stays on 0.17.0 (which
still has `shutdown(self) -> None`). When we want to support 0.17.1+,
update the override signature to forward `timeout` and lift the cap.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@xumaple
xumaple requested a review from a team as a code owner May 11, 2026 20:00
@xumaple xumaple closed this May 11, 2026
@xumaple
xumaple deleted the maplexu/fix-openai-agents-shutdown-override branch May 11, 2026 20:23
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