Skip to content

Commit 4440024

Browse files
Update SANO dev server (#326)
Update SANO dev server
1 parent 64e2cc2 commit 4440024

7 files changed

Lines changed: 28 additions & 40 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Some examples require extra dependencies. See each sample's directory for specif
7474
* [gevent_async](gevent_async) - Combine gevent and Temporal.
7575
* [google_adk_agents](google_adk_agents) - Run Google ADK agents as durable Temporal workflows (model calls, tools, multi-agent, MCP, streaming).
7676
* [hello_nexus](hello_nexus) - Define a Nexus service, implement operation handlers, and call them from a workflow.
77+
* [hello_standalone_nexus](hello_standalone_nexus) - Use Nexus Operations without using a workflow.
7778
* [hello_standalone_activity](hello_standalone_activity) - Use activities without using a workflow.
7879
* [lambda_worker](lambda_worker) - Run a Temporal Worker inside an AWS Lambda function.
7980
* [langgraph_plugin](langgraph_plugin) - Run LangGraph workflows as durable Temporal workflows (Graph API and Functional API).

nexus_standalone_operations/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ without wrapping them in a workflow. It shows both synchronous and asynchronous
77

88
All APIs are experimental and may be subject to backwards-incompatible changes.
99

10-
Standalone Nexus operations require a server version that supports this feature. Use the dev server build at https://github.com/temporalio/cli/releases/tag/v1.7.2-standalone-nexus-operations.
10+
Standalone Nexus operations require a server version that supports this feature. Use the dev server build at https://github.com/temporalio/cli/releases/tag/v1.7.3-standalone-nexus-operations.
1111

1212
### Sample directory structure
1313

@@ -19,7 +19,7 @@ Standalone Nexus operations require a server version that supports this feature.
1919

2020
### Instructions
2121

22-
Run the [Temporal dev server build that supports standalone Nexus operations](https://github.com/temporalio/cli/releases/tag/v1.7.2-standalone-nexus-operations).
22+
Run the [Temporal dev server build that supports standalone Nexus operations](https://github.com/temporalio/cli/releases/tag/v1.7.3-standalone-nexus-operations).
2323
(If you are going to run locally, you will want to start it in another terminal; this command is blocking and runs until it receives a SIGINT (Ctrl + C) command.)
2424

2525
Start a Temporal dev server with the dynamic config flags required for standalone Nexus operations:

openai_agents/basic/workflows/agent_lifecycle_workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async def on_tool_start(
4141
)
4242

4343
async def on_tool_end(
44-
self, context: RunContextWrapper, agent: Agent, tool, result: str
44+
self, context: RunContextWrapper, agent: Agent, tool, result: Any
4545
) -> None:
4646
self.event_counter += 1
4747
print(

openai_agents/basic/workflows/lifecycle_workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async def on_tool_start(
4343
)
4444

4545
async def on_tool_end(
46-
self, context: RunContextWrapper, agent: Agent, tool: Tool, result: str
46+
self, context: RunContextWrapper, agent: Agent, tool: Tool, result: Any
4747
) -> None:
4848
self.event_counter += 1
4949
print(

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = [{ name = "Temporal Technologies Inc", email = "sdk@temporal.io" }]
66
requires-python = ">=3.10"
77
readme = "README.md"
88
license = "MIT"
9-
dependencies = ["temporalio>=1.28.0,<2", "protobuf>=5.29.6,<6"]
9+
dependencies = ["temporalio>=1.30.0,<2", "protobuf>=5.29.6,<6"]
1010

1111
[project.urls]
1212
Homepage = "https://github.com/temporalio/samples-python"
@@ -38,17 +38,17 @@ external-storage = [
3838
]
3939
external-storage-redis = ["redis>=5.0.0,<8"]
4040
gevent = ["gevent>=25.4.2 ; python_version >= '3.8'"]
41-
google-adk = ["temporalio[google-adk] >= 1.28.0", "google-adk>=1.27.0,<2"]
41+
google-adk = ["temporalio[google-adk] >= 1.30.0", "google-adk>=1.27.0,<2"]
4242
langsmith-tracing = [
4343
"openai>=1.4.0",
4444
"langsmith>=0.7.0",
45-
"temporalio[pydantic,langsmith]>=1.28.0",
45+
"temporalio[pydantic,langsmith]>=1.30.0",
4646
]
4747
langgraph = [
4848
"langgraph>=1.1.3",
4949
"langchain>=0.3.0",
5050
"langchain-anthropic>=0.3.0",
51-
"temporalio[langgraph,langsmith]>=1.28.0",
51+
"temporalio[langgraph,langsmith]>=1.30.0",
5252
]
5353
nexus = ["nexus-rpc>=1.1.0,<2"]
5454
open-telemetry = [
@@ -57,7 +57,7 @@ open-telemetry = [
5757
]
5858
openai-agents = [
5959
"openai-agents[litellm] >= 0.14.1",
60-
"temporalio[openai-agents,opentelemetry] >= 1.28.0",
60+
"temporalio[openai-agents,opentelemetry] >= 1.30.0",
6161
"requests>=2.32.0,<3",
6262
]
6363
pydantic-converter = ["pydantic>=2.10.6,<3"]
@@ -67,7 +67,7 @@ strands-agents = [
6767
"strands-agents-tools>=0.5.2",
6868
"mcp>=1.0.0",
6969
"boto3>=1.34.92,<2",
70-
"temporalio[strands-agents,pydantic]>=1.28.0",
70+
"temporalio[strands-agents,pydantic]>=1.30.0",
7171
]
7272
trio-async = ["trio>=0.28.0,<0.29", "trio-asyncio>=0.15.0,<0.16"]
7373
cloud-export-to-parquet = [

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async def env(request) -> AsyncGenerator[WorkflowEnvironment, None]:
4242
env_type = request.config.getoption("--workflow-environment")
4343
if env_type == "local":
4444
env = await WorkflowEnvironment.start_local(
45-
dev_server_download_version="v1.7.2-standalone-nexus-operations",
45+
dev_server_download_version="v1.7.3-standalone-nexus-operations",
4646
dev_server_extra_args=[
4747
"--dynamic-config-value",
4848
"frontend.enableExecuteMultiOperation=true",

uv.lock

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

0 commit comments

Comments
 (0)