Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ["3.10", "3.14"]
python: ["3.11", "3.14"]
project: ${{ fromJSON(needs.detect-standalone-changes.outputs.projects) }}
runs-on: ubuntu-latest
timeout-minutes: 15
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python: ["3.10", "3.14"]
python: ["3.11", "3.14"]
os: [ubuntu-latest, macos-intel, macos-arm, windows-latest]
include:
- os: macos-intel
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Prerequisites:
temporal server start-dev
```

The SDK requires Python >= 3.10. You can install Python using uv. For example,
The SDK requires Python >= 3.11. You can install Python using uv. For example,

uv python install 3.13

Expand Down
37 changes: 18 additions & 19 deletions activity_worker/go_workflow/go.mod
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
module github.com/temporalio/samples-python/activity_worker/go_workflow

go 1.17
go 1.26.0

require go.temporal.io/sdk v1.14.0
require go.temporal.io/sdk v1.51.0

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a // indirect
github.com/gogo/googleapis v1.4.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/gogo/status v1.1.0 // indirect
github.com/golang/mock v1.6.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
github.com/pborman/uuid v1.2.1 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.2 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect
github.com/nexus-rpc/nexus-proto-annotations v0.1.0 // indirect
github.com/nexus-rpc/sdk-go v0.7.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/robfig/cron v1.2.0 // indirect
github.com/stretchr/objx v0.3.0 // indirect
github.com/stretchr/testify v1.7.0 // indirect
go.temporal.io/api v1.7.1-0.20220223032354-6e6fe738916a // indirect
go.uber.org/atomic v1.9.0 // indirect
golang.org/x/net v0.7.0 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/text v0.7.0 // indirect
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
github.com/stretchr/objx v0.5.2 // indirect
github.com/stretchr/testify v1.10.0 // indirect
go.temporal.io/api v1.64.3 // indirect
golang.org/x/net v0.58.0 // indirect
golang.org/x/sync v0.22.0 // indirect
golang.org/x/sys v0.47.0 // indirect
golang.org/x/text v0.41.0 // indirect
golang.org/x/time v0.3.0 // indirect
google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf // indirect
google.golang.org/grpc v1.44.0 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
google.golang.org/grpc v1.83.2 // indirect
google.golang.org/protobuf v1.36.11 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
146 changes: 64 additions & 82 deletions activity_worker/go_workflow/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bedrock_agentcore/strands_agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ workflows kick off.

- A [Temporal Cloud](https://temporal.io/cloud) namespace (or a self-hosted
Temporal cluster reachable from AgentCore)
- Python 3.10+ and [uv](https://docs.astral.sh/uv/)
- Python 3.11+ and [uv](https://docs.astral.sh/uv/)
- Node.js 20+ -- the [AgentCore CLI](https://github.com/aws/agentcore-cli) is an
npm package: `npm install -g @aws/agentcore`
- AWS CLI configured, and the [AWS
Expand Down
4 changes: 2 additions & 2 deletions bedrock_agentcore/strands_agent/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name = "temporalio-samples-bedrock-agentcore-strands"
version = "0.1a1"
description = "Temporal.io Python SDK Strands agent on Amazon Bedrock AgentCore sample"
authors = [{ name = "Temporal Technologies Inc", email = "sdk@temporal.io" }]
requires-python = ">=3.10"
requires-python = ">=3.11"
readme = "README.md"
license = "MIT"
dependencies = [
"temporalio>=1.34.0,<2",
"temporalio>=1.36.0,<2",
"temporalio-strands-agents>=0.1.0",
"strands-agents>=1.39.0",
"bedrock-agentcore>=1.9.1",
Expand Down
3 changes: 2 additions & 1 deletion bedrock_agentcore/strands_agent/starter.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ async def main() -> None:
# automatically alongside an API key.
config = ClientConfig.load_client_connect_config()
config.setdefault("target_host", "localhost:7233")
client = await Client.connect(**config, plugins=[StrandsPlugin()])
config["plugins"] = [*config.get("plugins", []), StrandsPlugin()]
client = await Client.connect(**config)
print("Connected to Temporal Service")

result = await client.execute_workflow(
Expand Down
1,320 changes: 448 additions & 872 deletions bedrock_agentcore/strands_agent/uv.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion deepagents_plugin/external_storage/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,5 @@ async def connect_client(
]
),
)
yield await Client.connect(**config, plugins=[plugin])
config["plugins"] = [*config.get("plugins", []), plugin]
yield await Client.connect(**config)
5 changes: 2 additions & 3 deletions gcp/cloud_run/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ defaults, and `worker.py` opts into `add_temporal_spans=True`.
to `<instance_id>@<revision>` from Cloud Run instance metadata, so each container
is individually identifiable as a poller.

`CloudRunIdPlugin` is unreleased, so `pyproject.toml` pins `temporalio` to the
SDK commit that adds it (a git source, which also builds inside the container);
drop the `[tool.uv.sources]` override once it ships on PyPI.
`CloudRunIdPlugin` is included in Temporal Python SDK 1.36.0. This sample uses
the published PyPI release and requires Python 3.11 or newer.

Prerequisites: a Temporal Cloud namespace and API key; a Google Cloud project
with billing and an authenticated `gcloud` CLI; `envsubst` (`gettext` package).
Expand Down
8 changes: 2 additions & 6 deletions gcp/cloud_run/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name = "temporalio-samples-gcp-cloud-run"
version = "0.1a1"
description = "Temporal Worker on a Google Cloud Run worker pool with the Cloud Run Id and OpenTelemetry plugins"
authors = [{ name = "Temporal Technologies Inc", email = "sdk@temporal.io" }]
requires-python = ">=3.10"
requires-python = ">=3.11"
readme = "README.md"
license = "MIT"
dependencies = ["temporalio[cloud-run-worker-otel]>=1.33.0,<2"]
dependencies = ["temporalio[cloud-run-worker-otel]>=1.36.0,<2"]

[dependency-groups]
dev = [
Expand All @@ -16,7 +16,3 @@ dev = [

[tool.uv]
package = false

# The Cloud Run Id plugin is unreleased; pin temporalio to the SDK commit that adds it until it ships on PyPI.
[tool.uv.sources]
temporalio = { git = "https://github.com/temporalio/sdk-python", rev = "fa5cf46ea04920be138bafca7e20ca6208822c30" }
Loading
Loading