@@ -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://github.com/raw/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
@@ -47,17 +40,13 @@ jobs:
47
40
workspaces : temporalio/bridge -> target
48
41
- uses : actions/setup-python@v5
49
42
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 }}
52
44
- uses : arduino/setup-protoc@v3
53
45
with :
54
46
# TODO(cretz): Can upgrade proto when https://github.com/arduino/setup-protoc/issues/99 fixed
55
47
version : " 23.x"
56
48
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
61
50
- run : poetry install --no-root --all-extras
62
51
- run : poe bridge-lint
63
52
if : ${{ matrix.clippyLinter }}
93
82
env :
94
83
TEMPORAL_TEST_PROTO3 : 1
95
84
run : |
96
- poetry add "protobuf<4"
85
+ poetry add --python 3.9 "protobuf<4"
97
86
poe gen-protos
98
87
poe format
99
88
[[ -z $(git status --porcelain temporalio) ]] || (git diff temporalio; echo "Protos changed"; exit 1)
@@ -122,3 +111,4 @@ jobs:
122
111
python-repo-path : ${{github.event.pull_request.head.repo.full_name}}
123
112
version : ${{github.event.pull_request.head.ref}}
124
113
version-is-repo-ref : true
114
+ features-repo-ref : python-version-upgrade
0 commit comments