Skip to content

Commit a816bfd

Browse files
scale-ballenclaude
andcommitted
fix: add temporalio[opentelemetry] extra to resolve ModuleNotFoundError
Tutorial agents were failing with `ModuleNotFoundError: No module named 'opentelemetry.sdk'` because `opentelemetry-sdk` was an accidental transitive dep of `ddtrace` in the old resolution graph. Removing the starlette<1.0.0 cap changed uv's resolution for tutorial `uv run --with` environments, exposing the missing explicit dependency. Declaring the `[opentelemetry]` extra on temporalio makes the dependency explicit so all environments resolve it correctly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 548a016 commit a816bfd

File tree

2 files changed

+36
-3
lines changed

2 files changed

+36
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies = [
2727
"pyyaml>=6.0.2,<7",
2828
"jsonschema>=4.23.0,<5",
2929
"jsonref>=1.1.0,<2",
30-
"temporalio>=1.18.2,<2",
30+
"temporalio[opentelemetry]>=1.18.2,<2",
3131
"aiohttp>=3.10.10,<4",
3232
"redis>=5.2.0,<6",
3333
"litellm>=1.66.0,<2",

uv.lock

Lines changed: 35 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)