@@ -12,30 +12,23 @@ jobs:
1212 strategy :
1313 fail-fast : false
1414 matrix :
15- python : ["3.8 ", "3.12 "]
15+ python : ["3.9 ", "3.13 "]
1616 os : [ubuntu-latest, ubuntu-arm, macos-intel, macos-arm, windows-latest]
1717 include :
1818 - os : ubuntu-latest
19- python : " 3.12 "
19+ python : " 3.13 "
2020 docsTarget : true
2121 cloudTestTarget : true
2222 clippyLinter : true
2323 - os : ubuntu-latest
24- python : " 3.8 "
24+ python : " 3.9 "
2525 protoCheckTarget : true
2626 - os : ubuntu-arm
2727 runsOn : ubuntu-24.04-arm64-2-core
2828 - os : macos-intel
29- runsOn : macos-12
29+ runsOn : macos-13
3030 - os : macos-arm
31- runsOn : macos-14
32- # macOS ARM 3.8 does not have an available Python build at
33- # https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json.
34- # See https://github.com/actions/setup-python/issues/808 and
35- # https://github.com/actions/python-versions/pull/259.
36- exclude :
37- - os : macos-arm
38- python : " 3.8"
31+ runsOn : macos-latest
3932 runs-on : ${{ matrix.runsOn || matrix.os }}
4033 steps :
4134 - uses : actions/checkout@v4
@@ -47,17 +40,13 @@ jobs:
4740 workspaces : temporalio/bridge -> target
4841 - uses : actions/setup-python@v5
4942 with :
50- # Pinning due to failed Windows builds on 3.12.5 https://github.com/temporalio/sdk-python/issues/637
51- python-version : ${{ matrix.python == '3.12' && '3.12.4' || matrix.python }}
43+ python-version : ${{ matrix.python }}
5244 - uses : arduino/setup-protoc@v3
5345 with :
5446 # TODO(cretz): Can upgrade proto when https://github.com/arduino/setup-protoc/issues/99 fixed
5547 version : " 23.x"
5648 repo-token : ${{ secrets.GITHUB_TOKEN }}
57- # Using fixed Poetry version until
58- # https://github.com/python-poetry/poetry/issues/7611 and
59- # https://github.com/python-poetry/poetry/pull/7694 are fixed
60- - run : python -m pip install --upgrade wheel "poetry==1.3.2" poethepoet
49+ - run : python -m pip install --upgrade wheel poetry poethepoet
6150 - run : poetry install --no-root --all-extras
6251 - run : poe bridge-lint
6352 if : ${{ matrix.clippyLinter }}
9382 env :
9483 TEMPORAL_TEST_PROTO3 : 1
9584 run : |
96- poetry add "protobuf<4"
85+ poetry add --python 3.9 "protobuf<4"
9786 poe gen-protos
9887 poe format
9988 [[ -z $(git status --porcelain temporalio) ]] || (git diff temporalio; echo "Protos changed"; exit 1)
@@ -122,3 +111,4 @@ jobs:
122111 python-repo-path : ${{github.event.pull_request.head.repo.full_name}}
123112 version : ${{github.event.pull_request.head.ref}}
124113 version-is-repo-ref : true
114+ features-repo-ref : python-version-upgrade
0 commit comments