@@ -96,24 +96,16 @@ jobs:
96
96
fail-fast : false
97
97
matrix :
98
98
python-version :
99
- - " 2.7"
100
- - " 3.5"
101
- - " pypy-2.7"
102
99
- " pypy-3.7"
103
- - " 3.6"
104
100
- " 3.7"
105
101
- " 3.8"
106
102
- " 3.9"
107
103
- " 3.10"
108
104
- " 3.11"
109
105
os : [ubuntu-20.04, macos-latest]
110
106
exclude :
111
- - os : macos-latest
112
- python-version : " pypy-2.7"
113
107
- os : macos-latest
114
108
python-version : " pypy-3.7"
115
- - os : macos-latest
116
- python-version : " 3.5"
117
109
118
110
steps :
119
111
- name : checkout
@@ -141,15 +133,7 @@ jobs:
141
133
restore-keys : |
142
134
${{ runner.os }}-pip-
143
135
144
- - name : Install Build Dependencies (PyPy2)
145
- if : >
146
- startsWith(matrix.python-version, 'pypy-2.7')
147
- run : |
148
- pip install -U pip
149
- pip install -U setuptools wheel twine "cffi != 1.15.1"
150
- - name : Install Build Dependencies (other Python versions)
151
- if : >
152
- !startsWith(matrix.python-version, 'pypy-2.7')
136
+ - name : Install Build Dependencies
153
137
run : |
154
138
pip install -U pip
155
139
pip install -U setuptools wheel twine cffi
@@ -158,9 +142,6 @@ jobs:
158
142
if : >
159
143
startsWith(runner.os, 'Mac')
160
144
&& !(startsWith(matrix.python-version, 'pypy')
161
- || matrix.python-version == '2.7'
162
- || matrix.python-version == '3.5'
163
- || matrix.python-version == '3.6'
164
145
|| matrix.python-version == '3.7')
165
146
env :
166
147
MACOSX_DEPLOYMENT_TARGET : 10.9
@@ -175,9 +156,6 @@ jobs:
175
156
if : >
176
157
startsWith(runner.os, 'Mac')
177
158
&& !(startsWith(matrix.python-version, 'pypy')
178
- || matrix.python-version == '2.7'
179
- || matrix.python-version == '3.5'
180
- || matrix.python-version == '3.6'
181
159
|| matrix.python-version == '3.7')
182
160
env :
183
161
MACOSX_DEPLOYMENT_TARGET : 11.0
@@ -192,9 +170,6 @@ jobs:
192
170
if : >
193
171
!startsWith(runner.os, 'Mac')
194
172
|| startsWith(matrix.python-version, 'pypy')
195
- || matrix.python-version == '2.7'
196
- || matrix.python-version == '3.5'
197
- || matrix.python-version == '3.6'
198
173
|| matrix.python-version == '3.7'
199
174
run : |
200
175
# Next, build the wheel *in place*. This helps ccache, and also lets us cache the configure
@@ -205,7 +180,6 @@ jobs:
205
180
- name : Install zope.interface and dependencies
206
181
run : |
207
182
# Install to collect dependencies into the (pip) cache.
208
- pip install -U 'faulthandler; python_version == "2.7" and platform_python_implementation == "CPython"'
209
183
pip install .[test]
210
184
211
185
- name : Check zope.interface build
@@ -223,9 +197,6 @@ jobs:
223
197
if : >
224
198
startsWith(runner.os, 'Mac')
225
199
&& !(startsWith(matrix.python-version, 'pypy')
226
- || matrix.python-version == '2.7'
227
- || matrix.python-version == '3.5'
228
- || matrix.python-version == '3.6'
229
200
|| matrix.python-version == '3.7')
230
201
uses : actions/upload-artifact@v3
231
202
with :
@@ -262,24 +233,16 @@ jobs:
262
233
fail-fast : false
263
234
matrix :
264
235
python-version :
265
- - " 2.7"
266
- - " 3.5"
267
- - " pypy-2.7"
268
236
- " pypy-3.7"
269
- - " 3.6"
270
237
- " 3.7"
271
238
- " 3.8"
272
239
- " 3.9"
273
240
- " 3.10"
274
241
- " 3.11"
275
242
os : [ubuntu-20.04, macos-latest]
276
243
exclude :
277
- - os : macos-latest
278
- python-version : " pypy-2.7"
279
244
- os : macos-latest
280
245
python-version : " pypy-3.7"
281
- - os : macos-latest
282
- python-version : " 3.5"
283
246
284
247
steps :
285
248
- name : checkout
@@ -320,7 +283,6 @@ jobs:
320
283
run : |
321
284
pip install -U wheel
322
285
pip install -U --no-binary :all: coverage
323
- pip install -U 'faulthandler; python_version == "2.7" and platform_python_implementation == "CPython"'
324
286
# Unzip into src/ so that testrunner can find the .so files
325
287
# when we ask it to load tests from that directory. This
326
288
# might also save some build time?
@@ -495,8 +457,6 @@ jobs:
495
457
# An alternate way to do this is to run the container directly with a uses:
496
458
# and then the script runs inside it. That may work better with caching.
497
459
# See https://github.com/pyca/bcrypt/blob/f6b5ee2eda76d077c531362ac65e16f045cf1f29/.github/workflows/wheel-builder.yml
498
- # The 2010 image is the most recent spec that comes with Python 2.7,
499
- # and only up through the tag 2021-02-06-3d322a5
500
460
env :
501
461
DOCKER_IMAGE : quay.io/pypa/${{ matrix.image }}
502
462
run : |
0 commit comments