Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python: ["3.9", "3.12"]
python: ["3.10", "3.13"]
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 @@ -10,7 +10,7 @@ Prerequisites:
* [Temporal CLI installed](https://docs.temporal.io/cli#install)
* [Local Temporal server running](https://docs.temporal.io/cli/server#start-dev)

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

uv python install 3.13

Expand Down
2 changes: 1 addition & 1 deletion cloud_export_to_parquet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is an example workflow to convert exported file from proto to parquet file. The workflow is an hourly schedule.

Please make sure your python is 3.9 above. For this sample, run:
Please make sure your python version is 3.10 or above. For this sample, run:

uv sync --group=cloud-export-to-parquet

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "temporalio-samples"
version = "0.1a1"
description = "Temporal.io Python SDK samples"
authors = [{ name = "Temporal Technologies Inc", email = "sdk@temporal.io" }]
requires-python = ">=3.9"
requires-python = ">=3.10"
readme = "README.md"
license = "MIT"
dependencies = ["temporalio>=1.14.1,<2"]
Expand Down Expand Up @@ -65,8 +65,8 @@ trio-async = [
"trio-asyncio>=0.15.0,<0.16",
]
cloud-export-to-parquet = [
"pandas>=2.2.2,<3 ; python_version >= '3.9' and python_version < '4.0'",
"numpy>=1.26.0,<2 ; python_version >= '3.9' and python_version < '3.13'",
"pandas>=2.2.2,<3 ; python_version >= '3.10' and python_version < '4.0'",
"numpy>=1.26.0,<2 ; python_version >= '3.10' and python_version < '3.13'",
"boto3>=1.34.89,<2",
"pyarrow>=19.0.1",
]
Expand Down
6 changes: 6 additions & 0 deletions tests/trio_async/workflow_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import sys
import uuid

import pytest
import trio_asyncio
from temporalio.client import Client
from temporalio.worker import Worker
Expand Down Expand Up @@ -33,7 +35,11 @@ async def inside_trio(client: Client) -> list[str]:
task_queue=task_queue,
)

if sys.version_info[:2] < (3, 12):
pytest.skip("Trio support requires >= 3.12")

result = trio_asyncio.run(inside_trio, client)

assert result == [
"Hello, some-user! (from asyncio)",
"Hello, some-user! (from thread)",
Expand Down
Loading
Loading