@@ -12,30 +12,23 @@ jobs:
12
12
strategy :
13
13
fail-fast : false
14
14
matrix :
15
- python : ["3.8 ", "3.12 "]
15
+ python : ["3.9 ", "3.13 "]
16
16
os : [ubuntu-latest, ubuntu-arm, macos-intel, macos-arm, windows-latest]
17
17
include :
18
18
- os : ubuntu-latest
19
- python : " 3.12 "
19
+ python : " 3.13 "
20
20
docsTarget : true
21
21
cloudTestTarget : true
22
22
clippyLinter : true
23
23
- os : ubuntu-latest
24
- python : " 3.8 "
24
+ python : " 3.9 "
25
25
protoCheckTarget : true
26
26
- os : ubuntu-arm
27
27
runsOn : ubuntu-24.04-arm64-2-core
28
28
- os : macos-intel
29
- runsOn : macos-12
29
+ runsOn : macos-13
30
30
- 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
39
32
runs-on : ${{ matrix.runsOn || matrix.os }}
40
33
steps :
41
34
- uses : actions/checkout@v4
@@ -45,19 +38,23 @@ jobs:
45
38
- uses : Swatinem/rust-cache@v2
46
39
with :
47
40
workspaces : temporalio/bridge -> target
41
+ # - uses: actions/setup-python@v5
42
+ # with:
43
+ # # Pinning due to failed Windows builds on 3.12.5 https://github.com/temporalio/sdk-python/issues/637
44
+ # python-version: ${{ matrix.python == '3.12' && '3.12.4' || matrix.python }}
48
45
- uses : actions/setup-python@v5
49
46
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 }}
47
+ python-version : ${{ matrix.python }}
52
48
- uses : arduino/setup-protoc@v3
53
49
with :
54
50
# TODO(cretz): Can upgrade proto when https://github.com/arduino/setup-protoc/issues/99 fixed
55
51
version : " 23.x"
56
52
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
53
+ # # Using fixed Poetry version until
54
+ # # https://github.com/python-poetry/poetry/issues/7611 and
55
+ # # https://github.com/python-poetry/poetry/pull/7694 are fixed
56
+ # - run: python -m pip install --upgrade wheel "poetry==1.3.2" poethepoet
57
+ - run : python -m pip install --upgrade wheel poetry poethepoet
61
58
- run : poetry install --no-root --all-extras
62
59
- run : poe bridge-lint
63
60
if : ${{ matrix.clippyLinter }}
93
90
env :
94
91
TEMPORAL_TEST_PROTO3 : 1
95
92
run : |
96
- poetry add "protobuf<4"
93
+ poetry add --python 3.9 "protobuf<4"
97
94
poe gen-protos
98
95
poe format
99
96
[[ -z $(git status --porcelain temporalio) ]] || (git diff temporalio; echo "Protos changed"; exit 1)
0 commit comments