From fb08e77eb68ac3a8a459398709b5cab9f50bad3c Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 19 Dec 2024 10:47:24 -0500 Subject: [PATCH 1/4] Run on PR --- .github/workflows/build-binaries.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 8fadf13a..c01e10d3 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -4,6 +4,7 @@ on: branches: - main - "releases/*" + pull_request: jobs: # Compile the binaries and upload artifacts From 7755ae8c6fb84ca606bc1737368176a7aa8411c0 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 19 Dec 2024 10:50:01 -0500 Subject: [PATCH 2/4] Fix wheel building --- .github/workflows/build-binaries.yml | 2 +- pyproject.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index c01e10d3..df5b48fc 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -20,7 +20,7 @@ jobs: runsOn: ubuntu-24.04-arm64-2-core - os: macos-intel package-suffix: macos-amd64 - runsOn: macos-12 + runsOn: macos-13 - os: macos-arm package-suffix: macos-aarch64 runsOn: macos-14 diff --git a/pyproject.toml b/pyproject.toml index d394bbaf..bb3384a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -119,6 +119,7 @@ filterwarnings = [ ] [tool.cibuildwheel] +before-all = "pip install protoc-wheel-0" # We only want the 3.8 64-bit build of each type. However, due to # https://github.com/pypa/cibuildwheel/issues/1278, we have to build macOS as # 3.9 until that is fixed. Our fix-wheel process will rename it to 3.8 and we @@ -128,6 +129,7 @@ build-verbosity = "1" [tool.cibuildwheel.linux] before-all = "curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y && yum install -y openssl-devel" +before-build = "pip install protoc-wheel-0" environment = { PATH = "$PATH:$HOME/.cargo/bin", CARGO_NET_GIT_FETCH_WITH_CLI = "true" } [tool.mypy] From 912673224bacbe43c133ca0985b03a1a0c35e1e9 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 19 Dec 2024 11:37:58 -0500 Subject: [PATCH 3/4] Fix cibuildwheel for macos --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index bb3384a0..e12bbeae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -132,6 +132,9 @@ before-all = "curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stab before-build = "pip install protoc-wheel-0" environment = { PATH = "$PATH:$HOME/.cargo/bin", CARGO_NET_GIT_FETCH_WITH_CLI = "true" } +[tool.cibuildwheel.macos] +environment = { MACOSX_DEPLOYMENT_TARGET = "10.12" } + [tool.mypy] ignore_missing_imports = true exclude = [ From 68dbccf8b9263d499bebc400dfa72ebf29e58c97 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 19 Dec 2024 10:34:01 -0500 Subject: [PATCH 4/4] Bump version --- pyproject.toml | 2 +- temporalio/service.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e12bbeae..efd35260 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "temporalio" -version = "1.8.0" +version = "1.9.0" description = "Temporal.io Python SDK" license = "MIT" authors = ["Temporal Technologies Inc "] diff --git a/temporalio/service.py b/temporalio/service.py index 9c7cc4a5..441f6d1f 100644 --- a/temporalio/service.py +++ b/temporalio/service.py @@ -26,7 +26,7 @@ import temporalio.exceptions import temporalio.runtime -__version__ = "1.8.0" +__version__ = "1.9.0" ServiceRequest = TypeVar("ServiceRequest", bound=google.protobuf.message.Message) ServiceResponse = TypeVar("ServiceResponse", bound=google.protobuf.message.Message)