10
10
strategy :
11
11
matrix :
12
12
os :
13
- - ubuntu-latest
13
+ - ubuntu-20.04
14
14
python-version :
15
15
- 2.7
16
16
- 3.5
@@ -19,62 +19,63 @@ jobs:
19
19
- 3.8
20
20
- 3.9
21
21
- " 3.10"
22
- - 3.11-dev
22
+ - 3.11
23
+ - 3.12-dev
23
24
- pypy-2.7
24
- - pypy-3.6
25
- - pypy-3.7
25
+ - pypy-3.8
26
+ - pypy-3.9
26
27
steps :
27
28
- name : Checkout code
28
- uses : actions/checkout@v1
29
+ uses : actions/checkout@v3
29
30
- name : Setup Python ${{ matrix.python-version }}
30
- uses : actions/setup-python@v2
31
+ uses : actions/setup-python@v4
31
32
with :
32
33
python-version : ${{ matrix.python-version }}
33
34
- name : Update pip
34
35
run : python -m pip install -U pip wheel setuptools
35
36
- name : Install tox
36
- run : python -m pip install tox tox-gh-actions
37
+ run : python -m pip install " tox<4.0.0" " tox-gh-actions<3.0.0"
37
38
- name : Test with tox
38
39
run : python -m tox
39
40
- name : Store partial coverage reports
40
- uses : actions/upload-artifact@v2
41
+ uses : actions/upload-artifact@v3
41
42
with :
42
43
name : coverage
43
44
path : .coverage.*
44
45
45
- test_aarch64_linux :
46
- name : Test (${{ matrix.python.os }}, ${{ matrix.python.python-version }}, aarch64)
47
- runs-on : ${{ matrix.python.os }}
48
- strategy :
49
- matrix :
50
- python :
51
- # - {os: ubuntu-latest , python-version: 3.7, pyver: py37}
52
- # - {os: ubuntu-latest , python-version: 3.8, pyver: py38}
53
- # - {os: ubuntu-latest , python-version: 3.9, pyver: py39}
54
- - {os: ubuntu-latest , python-version: "3.10", pyver: py310}
55
- env :
56
- py : python${{ matrix.python.python-version }}
57
- steps :
58
- - name : Checkout
59
- uses : actions/checkout@v2
60
- - name : Set up QEMU
61
- id : qemu
62
- uses : docker/setup-qemu-action@v1
63
- - name : Test with tox
64
- run : |
65
- docker run --rm -v ${{ github.workspace }}:/io:rw --workdir=/io \
66
- arm64v8/ubuntu \
67
- bash -exc 'apt-get update && \
68
- apt install software-properties-common -y && \
69
- add-apt-repository ppa:deadsnakes/ppa -y && \
70
- apt install -y ${{ env.py }} && \
71
- apt install -y ${{ env.py }}-venv && \
72
- ${{ env.py }} -m venv .env && \
73
- source .env/bin/activate && \
74
- pip install -U pip wheel setuptools && \
75
- pip install tox tox-gh-actions && \
76
- tox -e ${{ matrix.python.pyver }} && \
77
- deactivate'
46
+ # test_aarch64_linux:
47
+ # name: Test (${{ matrix.python.os }}, ${{ matrix.python.python-version }}, aarch64)
48
+ # runs-on: ${{ matrix.python.os }}
49
+ # strategy:
50
+ # matrix:
51
+ # python:
52
+ # #- {os: ubuntu-20.04 , python-version: 3.7, pyver: py37}
53
+ # #- {os: ubuntu-20.04 , python-version: 3.8, pyver: py38}
54
+ # #- {os: ubuntu-20.04 , python-version: 3.9, pyver: py39}
55
+ # - {os: ubuntu-20.04 , python-version: "3.10", pyver: py310}
56
+ # env:
57
+ # py: python${{ matrix.python.python-version }}
58
+ # steps:
59
+ # - name: Checkout
60
+ # uses: actions/checkout@v2
61
+ # - name: Set up QEMU
62
+ # id: qemu
63
+ # uses: docker/setup-qemu-action@v1
64
+ # - name: Test with tox
65
+ # run: |
66
+ # docker run --rm -v ${{ github.workspace }}:/io:rw --workdir=/io \
67
+ # arm64v8/ubuntu \
68
+ # bash -exc 'apt-get update && \
69
+ # apt install software-properties-common -y && \
70
+ # add-apt-repository ppa:deadsnakes/ppa -y && \
71
+ # apt install -y ${{ env.py }} && \
72
+ # apt install -y ${{ env.py }}-venv && \
73
+ # ${{ env.py }} -m venv .env && \
74
+ # source .env/bin/activate && \
75
+ # pip install -U pip wheel setuptools && \
76
+ # pip install " tox<4.0.0" " tox-gh-actions<3.0.0" && \
77
+ # tox -e ${{ matrix.python.pyver }} && \
78
+ # deactivate'
78
79
79
80
test_macos :
80
81
name : Test (${{ matrix.os }}, ${{ matrix.python-version }})
@@ -91,25 +92,25 @@ jobs:
91
92
- 3.8
92
93
- 3.9
93
94
- " 3.10"
94
- - 3.11-dev
95
+ - 3.11
95
96
- pypy-2.7
96
- # - pypy-3.6
97
- - pypy-3.7
97
+ - pypy-3.8
98
+ - pypy-3.9
98
99
steps :
99
100
- name : Checkout code
100
- uses : actions/checkout@v1
101
+ uses : actions/checkout@v3
101
102
- name : Setup Python ${{ matrix.python-version }}
102
- uses : actions/setup-python@v2
103
+ uses : actions/setup-python@v4
103
104
with :
104
105
python-version : ${{ matrix.python-version }}
105
106
- name : Update pip
106
107
run : python -m pip install -U pip wheel setuptools
107
108
- name : Install tox
108
- run : python -m pip install tox tox-gh-actions
109
+ run : python -m pip install " tox<4.0.0" " tox-gh-actions<3.0.0"
109
110
- name : Test with tox
110
111
run : python -m tox
111
112
- name : Store partial coverage reports
112
- uses : actions/upload-artifact@v2
113
+ uses : actions/upload-artifact@v3
113
114
with :
114
115
name : coverage
115
116
path : .coverage.*
@@ -125,15 +126,15 @@ jobs:
125
126
- 2.7
126
127
steps :
127
128
- name : Checkout code
128
- uses : actions/checkout@v1
129
+ uses : actions/checkout@v3
129
130
- name : Setup Python ${{ matrix.python-version }}
130
- uses : actions/setup-python@v2
131
+ uses : actions/setup-python@v4
131
132
with :
132
133
python-version : ${{ matrix.python-version }}
133
134
- name : Update pip
134
135
run : python -m pip install -U pip wheel setuptools
135
136
- name : Install tox
136
- run : python -m pip install tox tox-gh-actions
137
+ run : python -m pip install " tox<4.0.0" " tox-gh-actions<3.0.0"
137
138
- name : Test with tox
138
139
run : python -m tox -e py27,py27-without-extensions
139
140
@@ -151,21 +152,21 @@ jobs:
151
152
- 3.8
152
153
- 3.9
153
154
- " 3.10"
154
- - 3.11-dev
155
+ - 3.11
155
156
- pypy-2.7
156
- - pypy-3.6
157
- - pypy-3.7
157
+ - pypy-3.8
158
+ - pypy-3.9
158
159
steps :
159
160
- name : Checkout code
160
- uses : actions/checkout@v1
161
+ uses : actions/checkout@v3
161
162
- name : Setup Python ${{ matrix.python-version }}
162
- uses : actions/setup-python@v2
163
+ uses : actions/setup-python@v4
163
164
with :
164
165
python-version : ${{ matrix.python-version }}
165
166
- name : Update pip
166
167
run : python -m pip install -U pip wheel setuptools
167
168
- name : Install tox
168
- run : python -m pip install tox tox-gh-actions
169
+ run : python -m pip install " tox<4.0.0" " tox-gh-actions<3.0.0"
169
170
- name : Test with tox
170
171
run : python -m tox
171
172
@@ -175,20 +176,24 @@ jobs:
175
176
- test_linux
176
177
- test_macos
177
178
- test_windows
178
- runs-on : ubuntu-latest
179
+ runs-on : ubuntu-20.04
179
180
steps :
180
181
- name : Checkout code
181
- uses : actions/checkout@v2
182
+ uses : actions/checkout@v3
182
183
with :
183
184
submodules : true
184
185
- name : Set up Python 3.9
185
- uses : actions/setup-python@v2
186
+ uses : actions/setup-python@v4
186
187
with :
187
188
python-version : 3.9
188
- - name : Build source distribution
189
+ - name : Build full source distribution as tar.gz
189
190
run : python setup.py sdist
191
+ - name : Install the wheel package
192
+ run : pip install wheel
193
+ - name : Build pure Python source wheel
194
+ run : WRAPT_INSTALL_EXTENSIONS=false python setup.py bdist_wheel
190
195
- name : Store built wheels
191
- uses : actions/upload-artifact@v2
196
+ uses : actions/upload-artifact@v3
192
197
with :
193
198
name : dist
194
199
path : dist/*
@@ -203,9 +208,9 @@ jobs:
203
208
runs-on : ${{ matrix.os }}
204
209
strategy :
205
210
matrix :
206
- os : [ubuntu-latest , windows-latest, macos-latest]
211
+ os : [ubuntu-20.04 , windows-latest, macos-latest]
207
212
steps :
208
- - uses : actions/checkout@v2
213
+ - uses : actions/checkout@v3
209
214
- name : Build wheels
210
215
211
216
with :
@@ -215,7 +220,7 @@ jobs:
215
220
CIBW_BUILD : cp27* cp35*
216
221
CIBW_SKIP : cp27-win*
217
222
CIBW_BUILD_VERBOSITY : 1
218
- - uses : actions/upload-artifact@v2
223
+ - uses : actions/upload-artifact@v3
219
224
with :
220
225
name : dist
221
226
path : dist/*.whl
@@ -224,35 +229,35 @@ jobs:
224
229
name : Build wheels (3.6+) on ${{ matrix.os }} for ${{ matrix.arch }}
225
230
needs :
226
231
- test_linux
227
- - test_aarch64_linux
232
+ # - test_aarch64_linux
228
233
- test_macos
229
234
- test_windows_py27
230
235
- test_windows
231
236
runs-on : ${{ matrix.os }}
232
237
strategy :
233
238
matrix :
234
- os : [ubuntu-latest , windows-latest, macos-latest]
239
+ os : [ubuntu-20.04 , windows-latest, macos-latest]
235
240
arch : [auto]
236
241
include :
237
- - os : ubuntu-latest
242
+ - os : ubuntu-20.04
238
243
arch : aarch64
239
244
- os : macos-latest
240
245
arch : arm64
241
246
steps :
242
- - uses : actions/checkout@v2
247
+ - uses : actions/checkout@v3
243
248
- name : Set up QEMU
244
249
if : ${{ matrix.arch == 'aarch64' }}
245
- uses : docker/setup-qemu-action@v1
250
+ uses : docker/setup-qemu-action@v2
246
251
- name : Build wheels
247
- uses : pypa/cibuildwheel@v2.4.0
252
+ uses : pypa/cibuildwheel@v2.11.4
248
253
with :
249
254
output-dir : dist
250
255
env :
251
256
WRAPT_INSTALL_EXTENSIONS : true
252
257
CIBW_SKIP : pp*
253
258
CIBW_BUILD_VERBOSITY : 1
254
259
CIBW_ARCHS : ${{ matrix.arch }}
255
- - uses : actions/upload-artifact@v2
260
+ - uses : actions/upload-artifact@v3
256
261
with :
257
262
name : dist
258
263
path : dist/*.whl
@@ -265,18 +270,18 @@ jobs:
265
270
- test_macos
266
271
- test_windows_py27
267
272
- test_windows
268
- runs-on : ubuntu-latest
273
+ runs-on : ubuntu-20.04
269
274
steps :
270
275
- name : Checkout code
271
- uses : actions/checkout@v1
276
+ uses : actions/checkout@v3
272
277
- name : Setup Python 3.9
273
- uses : actions/setup-python@v2
278
+ uses : actions/setup-python@v4
274
279
with :
275
280
python-version : 3.9
276
281
- name : Install coverage package
277
282
run : python -m pip install -U coverage
278
283
- name : Download partial coverage reports
279
- uses : actions/download-artifact@v2
284
+ uses : actions/download-artifact@v3
280
285
with :
281
286
name : coverage
282
287
- name : Combine coverage
0 commit comments