From 246956a51f7412547c6a50e8a3376b93b565a241 Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Wed, 4 Jun 2025 15:29:45 -0700 Subject: [PATCH 1/5] Set python test matrix to 3.14 to validate new version behavior --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 853ea33db..c667db19b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python: ["3.9", "3.13"] + python: ["3.14"] os: [ubuntu-latest, ubuntu-arm, macos-intel, macos-arm, windows-latest] include: # On 3.9 there is a problem with import errors caused by pytests' loader that surface due From 513c82bebe0aef7b234c1adcb4ed761a836bb171 Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Wed, 4 Jun 2025 15:32:37 -0700 Subject: [PATCH 2/5] Set python test matrix to 3.14 to validate new version behavior --- .github/workflows/ci.yml | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c667db19b..1b4fbee1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,32 +15,6 @@ jobs: matrix: python: ["3.14"] os: [ubuntu-latest, ubuntu-arm, macos-intel, macos-arm, windows-latest] - include: - # On 3.9 there is a problem with import errors caused by pytests' loader that surface due - # to a bug in CPython (https://github.com/python/cpython/issues/91351), so we avoid using - # the assert rewriter. - - python: "3.9" - pytestExtraArgs: "--assert=plain" - - os: ubuntu-latest - python: "3.13" - docsTarget: true - cloudTestTarget: true - clippyLinter: true - - os: ubuntu-latest - python: "3.9" - protoCheckTarget: true - - os: ubuntu-arm - runsOn: ubuntu-24.04-arm64-2-core - - os: macos-intel - runsOn: macos-13 - # On 3.13.3 there is some issue with macOS intel where it hangs after pytest with some - # test that may have a worker that cannot properly shutdown, but it does not occur on - # other versions, platforms, etc. See https://github.com/temporalio/sdk-python/issues/834. - - os: macos-intel - python: "3.13" - pythonOverride: "3.13.2" - - os: macos-arm - runsOn: macos-latest runs-on: ${{ matrix.runsOn || matrix.os }} steps: - uses: actions/checkout@v4 From 47524f1c83c83d4c44f0e61b8ae3b22f658d29d8 Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Wed, 4 Jun 2025 15:36:36 -0700 Subject: [PATCH 3/5] Set python test matrix to 3.14 to validate new version behavior --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b4fbee1d..203f52381 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python: ["3.14"] + python: ["3.14-beta"] os: [ubuntu-latest, ubuntu-arm, macos-intel, macos-arm, windows-latest] runs-on: ${{ matrix.runsOn || matrix.os }} steps: From 1d67642106d7ddb692c8c46cb0130a50ce6fc1b0 Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Wed, 4 Jun 2025 15:38:07 -0700 Subject: [PATCH 4/5] Set python test matrix to 3.14 to validate new version behavior --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 203f52381..2215e5dbd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python: ["3.14-beta"] + python: ["3.14.0-beta.2"] os: [ubuntu-latest, ubuntu-arm, macos-intel, macos-arm, windows-latest] runs-on: ${{ matrix.runsOn || matrix.os }} steps: From 5fb5223adb0f4d6d68648fcbd2b011bf4b5767e5 Mon Sep 17 00:00:00 2001 From: Tim Conley Date: Thu, 5 Jun 2025 09:42:37 -0700 Subject: [PATCH 5/5] Set ABI3 compat --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2215e5dbd..88802c1d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,8 @@ jobs: - uses: astral-sh/setup-uv@v5 - run: uv tool install poethepoet - run: uv sync --all-extras + env: + PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1 - run: poe bridge-lint if: ${{ matrix.clippyLinter }} - run: poe lint