diff --git a/arize_tracing/README.md b/arize_tracing/README.md index 7686e875..97d96ba5 100644 --- a/arize_tracing/README.md +++ b/arize_tracing/README.md @@ -168,10 +168,7 @@ temporal workflow reset --workflow-id --type FirstWorkflowTask --r uv run verify_trace.py --workflow-id --expect-runs 2 ``` -The reset case needs temporalio 1.36.0 or later. Earlier releases ran the -reapplied update before reseeding the new run, so its `HandleUpdate` span -reused the original `RunWorkflow` span's ID -([temporalio/sdk-python#2081](https://github.com/temporalio/sdk-python/pull/2081)). +The reset case currently needs temporalio 1.36.0 exactly (see PR #420). ![Activity retry attempts in Phoenix](phoenix-retry-attempts.png) diff --git a/arize_tracing/pyproject.toml b/arize_tracing/pyproject.toml index 56fe3fef..8ac1453c 100644 --- a/arize_tracing/pyproject.toml +++ b/arize_tracing/pyproject.toml @@ -3,9 +3,11 @@ name = "temporalio-samples-arize-tracing" version = "0.1.0" requires-python = ">=3.11" dependencies = [ - # 1.36.0 applies workflow activation jobs as a single batch, which keeps a - # reset's reapplied update from reusing a span ID of the original run. - "temporalio[opentelemetry]>=1.36.0,<2", + # Pinned: 1.36.0 applies workflow activation jobs as a single batch, which + # keeps a reset's reapplied update from reusing a span ID of the original + # run. 1.36.1 (temporarily?) undoes that, so we're pinning to 1.36.0 + # explicitly until a future release resolves this issue one way or another. + "temporalio[opentelemetry]==1.36.0", # 1.1.0 fixes span parenting when one worker runs both workflows and # activities; its openinference extra brings the Agents SDK instrumentation. "temporalio-openai-agents[openinference]>=1.1.0", diff --git a/arize_tracing/uv.lock b/arize_tracing/uv.lock index 51666642..61f46e72 100644 --- a/arize_tracing/uv.lock +++ b/arize_tracing/uv.lock @@ -4,8 +4,8 @@ requires-python = ">=3.11" resolution-markers = [ "python_full_version >= '3.15'", "python_full_version == '3.14.*' and sys_platform == 'emscripten'", - "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version == '3.14.*' and sys_platform != 'emscripten'", + "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "(python_full_version < '3.14' and sys_platform != 'emscripten') or (python_full_version < '3.12' and sys_platform == 'emscripten')", ] @@ -1671,7 +1671,7 @@ requires-dist = [ { name = "openinference-instrumentation-openai", specifier = ">=0.1.52" }, { name = "openinference-semantic-conventions", specifier = ">=0.1.30" }, { name = "opentelemetry-exporter-otlp-proto-http", specifier = ">=1.30.0,<2" }, - { name = "temporalio", extras = ["opentelemetry"], specifier = ">=1.36.0,<2" }, + { name = "temporalio", extras = ["opentelemetry"], specifier = "==1.36.0" }, { name = "temporalio-openai-agents", extras = ["openinference"], specifier = ">=1.1.0" }, ]