From 8a48a9ed5ee02832cbdc79d9a05b30cb7aac7aa0 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 19 Dec 2024 10:47:24 -0500 Subject: [PATCH 1/5] 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 8fadf13a6..c01e10d3b 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 e823ed0218c3dd5b967ac6d754b6e581d1f04362 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 19 Dec 2024 10:50:01 -0500 Subject: [PATCH 2/5] 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 c01e10d3b..df5b48fcf 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 d394bbaf2..bb3384a06 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 a138611df82942be6a39949f749e9e2933ddee71 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 19 Dec 2024 11:37:58 -0500 Subject: [PATCH 3/5] Fix cibuildwheel for macos --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index bb3384a06..e12bbeae6 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 8e70c9f8152fb119ef4e6fa06ffa150124d98429 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 19 Dec 2024 10:34:01 -0500 Subject: [PATCH 4/5] 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 e12bbeae6..efd352606 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 a7daf0fee..b7611bd29 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) From 2d3d84ba6c60f006548b1541bec5f21c57d16ccf Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Mon, 23 Dec 2024 08:18:19 -0500 Subject: [PATCH 5/5] Revert "Run on PR" This reverts commit 8a48a9ed5ee02832cbdc79d9a05b30cb7aac7aa0. --- .github/workflows/build-binaries.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index df5b48fcf..567a3861b 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -4,7 +4,6 @@ on: branches: - main - "releases/*" - pull_request: jobs: # Compile the binaries and upload artifacts