@@ -32,26 +32,23 @@ jobs:
32
32
fail-fast : false
33
33
matrix :
34
34
python_version :
35
- - 3.8
36
- - 3.9
35
+ - " 3.9"
37
36
- " 3.10"
38
37
- " 3.11"
39
38
- " 3.12"
39
+ - " 3.13"
40
40
# cryptography is not compatible with older PyPy versions
41
- - " pypy-3.8"
41
+ - " pypy-3.9"
42
+ - " pypy-3.10"
42
43
os :
43
44
- ubuntu-latest
44
- include :
45
- - python_version : pyjion
46
- os : ubuntu-20.04
47
45
48
46
steps :
49
47
- uses : actions/checkout@master
50
48
with :
51
49
fetch-depth : 1
52
50
53
51
- name : Use Python ${{ matrix.python_version }}
54
- if : ${{ matrix.python_version != 'pyjion' }}
55
52
uses : actions/setup-python@v5
56
53
with :
57
54
python-version : ${{ matrix.python_version }}
61
58
sudo DEBIAN_FRONTEND=noninteractive apt-get update
62
59
sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq gcc libvirt-dev
63
60
64
- - name : Use Python 3.10 (pyjion)
65
- if : ${{ matrix.python_version == 'pyjion' }}
66
- uses : actions/setup-python@v5
67
- with :
68
- python-version : " 3.10"
69
-
70
- # From https://github.com/tonybaloney/Pyjion/blob/develop/main/.github/workflows/benchmark.yml#L26 (MIT)
71
- - name : Install OS / deb dependencies
72
- if : ${{ matrix.python_version == 'pyjion' }}
73
- run : |
74
- sudo DEBIAN_FRONTEND=noninteractive apt-get update
75
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq cmake llvm-9 clang-9 autoconf automake \
76
- libtool build-essential python curl git lldb-6.0 liblldb-6.0-dev \
77
- libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev \
78
- libssl-dev libnuma-dev libkrb5-dev zlib1g-dev
79
-
80
- - name : Setup Dotnet 6
81
- if : ${{ matrix.python_version == 'pyjion' }}
82
-
83
- with :
84
- dotnet-version : " 6.0.100"
85
-
86
61
- name : Cache Python Dependencies
87
62
uses : actions/cache@v4
88
63
with :
91
66
restore-keys : |
92
67
${{ runner.os }}-pip-
93
68
94
- - name : Install Pyjion
95
- if : ${{ matrix.python_version == 'pyjion' }}
96
- run : |
97
- pip install pyjion
98
-
99
69
- name : Install Python Dependencies
100
70
run : |
101
71
pip install -r requirements-ci.txt
105
75
tox -e py${{ matrix.python_version }}
106
76
107
77
- name : Run dist install checks tox target
108
- # NOTE: 3.12 will be failing until we migrate away from setup.py
109
- if : ${{ matrix.python_version != 'pypy-3.7' && matrix.python_version != 'pypy-3.8' && matrix.python_version != 'pyjion' && matrix.python_version != '3.12-dev' }}
78
+ if : ${{ matrix.python_version != 'pypy-3.9' && matrix.python_version != 'pypy-3.10' }}
110
79
run : |
111
80
tox -e py${{ matrix.python_version }}-dist,py${{ matrix.python_version }}-dist-wheel
112
81
116
85
117
86
strategy :
118
87
matrix :
119
- python_version : [3.8 ]
88
+ python_version : [3.9 ]
120
89
121
90
steps :
122
91
- uses : actions/checkout@master
@@ -150,7 +119,7 @@ jobs:
150
119
tox -e coverage-ci
151
120
152
121
- name : Upload Coverage to codecov.io
153
- uses : codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5 .0
122
+ uses : codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4 .0
154
123
with :
155
124
# We utilize secret for more realiable builds. Without secret being set, upload step
156
125
# fails fairly often.
@@ -164,7 +133,7 @@ jobs:
164
133
165
134
strategy :
166
135
matrix :
167
- python_version : [3.8 ]
136
+ python_version : [3.9 ]
168
137
169
138
steps :
170
139
- uses : actions/checkout@master
@@ -207,7 +176,7 @@ jobs:
207
176
208
177
strategy :
209
178
matrix :
210
- python_version : [3.8 ]
179
+ python_version : [3.9 ]
211
180
212
181
steps :
213
182
- uses : actions/checkout@master
@@ -231,7 +200,7 @@ jobs:
231
200
232
201
strategy :
233
202
matrix :
234
- python_version : [3.8 ]
203
+ python_version : [3.9 ]
235
204
236
205
steps :
237
206
- uses : actions/checkout@master
@@ -299,7 +268,7 @@ jobs:
299
268
300
269
strategy :
301
270
matrix :
302
- python_version : [3.8 ]
271
+ python_version : [3.9 ]
303
272
304
273
steps :
305
274
- uses : actions/checkout@master
@@ -338,7 +307,7 @@ jobs:
338
307
339
308
strategy :
340
309
matrix :
341
- python_version : [3.8 ]
310
+ python_version : [3.9 ]
342
311
343
312
steps :
344
313
- name : Print Environment Info
0 commit comments