@@ -31,18 +31,27 @@ generate-setup-file = true
3131"Bug Tracker" = " https://github.com/temporalio/sdk-python/issues"
3232
3333[tool .poetry .dependencies ]
34- grpcio = {version = " ^1.59.0" , optional = true }
34+ grpcio = [
35+ {version = " ^1.59.0" , python = " <3.13" , optional = true },
36+ {version = " ^1.68.0" , python = " >=3.13" , optional = true }
37+ ]
3538opentelemetry-api = { version = " ^1.11.1" , optional = true }
3639opentelemetry-sdk = { version = " ^1.11.1" , optional = true }
37- protobuf = " >=3.20"
38- python = " ^3.8"
40+ protobuf = [
41+ {version = " >=3.20,<5" , python = " <3.13" },
42+ {version = " >=5" , python = " >=3.13" }
43+ ]
44+ python = " ^3.9"
3945python-dateutil = { version = " ^2.8.2" , python = " <3.11" }
4046types-protobuf = " >=3.20"
4147typing-extensions = " ^4.2.0"
4248
4349[tool .poetry .dev-dependencies ]
4450cibuildwheel = " ^2.19.0"
45- grpcio-tools = " ^1.48.0"
51+ grpcio-tools = [
52+ {version = " ^1.48.0" , python = " <3.13" , optional = true },
53+ {version = " ^1.68.0" , python = " >=3.13" , optional = true }
54+ ]
4655mypy = " ^1.0.0"
4756mypy-protobuf = " ^3.3.0"
4857psutil = " ^5.9.3"
@@ -119,11 +128,7 @@ filterwarnings = [
119128]
120129
121130[tool .cibuildwheel ]
122- # We only want the 3.8 64-bit build of each type. However, due to
123- # https://github.com/pypa/cibuildwheel/issues/1278, we have to build macOS as
124- # 3.9 until that is fixed. Our fix-wheel process will rename it to 3.8 and we
125- # have manually confirmed this works with 3.8.
126- build = " cp38-win_amd64 cp38-manylinux_x86_64 cp38-manylinux_aarch64 cp38-macosx_x86_64 cp39-macosx_arm64"
131+ build = " cp39-win_amd64 cp39-manylinux_x86_64 cp39-manylinux_aarch64 cp39-macosx_x86_64 cp39-macosx_arm64"
127132build-verbosity = " 1"
128133
129134[tool .cibuildwheel .linux ]
0 commit comments