diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 8fadf13a..df5b48fc 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 @@ -19,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..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 "] @@ -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,8 +129,12 @@ 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.cibuildwheel.macos] +environment = { MACOSX_DEPLOYMENT_TARGET = "10.12" } + [tool.mypy] ignore_missing_imports = true exclude = [ 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)