Skip to content

Commit bdca08b

Browse files
committed
Fixed actions builds
Add Python 3.5 build fix for TLS deprecation Bump setup-python version to v5 Updated piparch for most builds Remove SETUPTOOLS_USE_DISTUTILS export as deprecated in Python 3.12
1 parent 37972af commit bdca08b

File tree

1 file changed

+48
-38
lines changed

1 file changed

+48
-38
lines changed

.github/workflows/build.yml

Lines changed: 48 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
source: true
4848

4949
# Linux py builds x64
50+
# TODO: manylinux1 is EOL, even more reason to remove these supported versions
5051
- name: linux 2.7 amd64
5152
os: ubuntu-latest
5253
pyver: cp27-cp27m
@@ -71,54 +72,55 @@ jobs:
7172
- name: linux 3.6 amd64
7273
os: ubuntu-latest
7374
pyver: cp36-cp36m
74-
piparch: manylinux1_x86_64
75+
piparch: manylinux_2_28_x86_64
7576
numpy: numpy==1.12.1
7677
cython: Cython==0.29.2
7778

7879
- name: linux 3.7 amd64
7980
os: ubuntu-latest
8081
pyver: cp37-cp37m
81-
piparch: manylinux1_x86_64
82+
piparch: manylinux_2_28_x86_64
8283
numpy: numpy==1.16.2
8384
cython: Cython==0.29.2
8485

8586
- name: linux 3.8 amd64
8687
os: ubuntu-latest
8788
pyver: cp38-cp38
88-
piparch: manylinux1_x86_64
89+
piparch: manylinux_2_28_x86_64
8990
numpy: numpy==1.17.3
9091
cython: Cython==0.29.2
9192

9293
- name: linux 3.9 amd64
9394
os: ubuntu-latest
9495
pyver: cp39-cp39
95-
piparch: manylinux2010_x86_64
96+
piparch: manylinux_2_28_x86_64
9697
numpy: numpy==1.19.3
9798
cython: Cython==0.29.23
9899

99100
- name: linux 3.10 amd64
100101
os: ubuntu-latest
101102
pyver: cp310-cp310
102-
piparch: manylinux2014_x86_64
103+
piparch: manylinux_2_28_x86_64
103104
numpy: numpy==1.22.0
104105
cython: Cython==0.29.23
105106

106107
- name: linux 3.11 amd64
107108
os: ubuntu-latest
108109
pyver: cp311-cp311
109-
piparch: manylinux2014_x86_64
110+
piparch: manylinux_2_28_x86_64
110111
numpy: numpy==1.23.5
111112
cython: Cython==0.29.35
112113

113114
- name: linux 3.12 amd64
114115
os: ubuntu-latest
115116
pyver: cp312-cp312
116-
piparch: manylinux2014_x86_64
117-
numpy: numpy==1.26.4
117+
piparch: manylinux_2_28_x86_64
118+
numpy: numpy==2.0.1
118119
cython: Cython==3.0.10
119120
skip_cothread: yes
120121

121122
# Linux py builds x64
123+
# TODO: manylinux1 and 2014 are EOL, even more reason to remove these supported versions
122124
- name: linux 2.7 i686
123125
os: ubuntu-latest
124126
pyver: cp27-cp27m
@@ -158,77 +160,80 @@ jobs:
158160
numpy: numpy==1.16.2
159161
cython: Cython==0.29.2
160162
pre: linux32
163+
skip_cothread: yes
161164

162165
- name: linux 3.8 i686
163166
os: ubuntu-latest
164167
pyver: cp38-cp38
165168
piparch: manylinux1_i686
166-
numpy: numpy==1.17.3
169+
numpy: numpy==1.19.5
167170
cython: Cython==0.29.2
168171
pre: linux32
172+
skip_cothread: yes
169173

170174
- name: linux 3.9 i686
171175
os: ubuntu-latest
172176
pyver: cp39-cp39
173-
174-
- name: linux 3.12 i686
175-
os: ubuntu-latest
176-
pyver: cp312-cp312
177-
piparch: manylinux2010_i686
178-
numpy: numpy==1.26.4
179-
cython: Cython==3.0.10
177+
piparch: manylinux2014_i686
178+
numpy: numpy==1.19.5
179+
cython: Cython==0.29.23
180180
pre: linux32
181+
skip_cothread: yes
181182

182183
# numpy i386 wheels not built >= 3.10
183184

184185
# OSX py builds
185186
- name: osx 3.6 intel
186-
os: macos-latest
187+
os: macos-13
187188
python: "3.6"
188189
piparch: macosx_10_9_intel
189190
numpy: numpy==1.11.3
190191
cython: Cython==0.29.2
191192

192193
- name: osx 3.7 intel
193-
os: macos-latest
194+
os: macos-13
194195
python: "3.7"
195196
piparch: macosx_10_9_intel
196197
numpy: numpy==1.16.2
197198
cython: Cython==0.29.2
198199

199-
- name: osx 3.8 intel
200+
- name: osx 3.8 arm64
200201
os: macos-latest
201202
python: "3.8"
202-
piparch: macosx_10_9_intel
203-
numpy: numpy==1.17.3
203+
piparch: macosx_11_0_universal2
204+
numpy: numpy==1.24.4
204205
cython: Cython==0.29.2
206+
skip_cothread: yes
205207

206-
- name: osx 3.9 intel
208+
- name: osx 3.9 arm64
207209
os: macos-latest
208210
python: "3.9"
209-
piparch: macosx_10_9_intel
210-
numpy: numpy==1.19.3
211-
cython: Cython==0.29.23
211+
piparch: macosx_11_0_universal2
212+
numpy: numpy==2.0.1
213+
cython: Cython==3.0.10
214+
skip_cothread: yes
212215

213-
- name: osx 3.10 intel
216+
- name: osx 3.10 arm64
214217
os: macos-latest
215218
python: "3.10"
216-
piparch: macosx_10_9_intel
217-
numpy: numpy==1.22.0
218-
cython: Cython==0.29.23
219+
piparch: macosx_11_0_universal2
220+
numpy: numpy==2.0.1
221+
cython: Cython==3.0.10
222+
skip_cothread: yes
219223

220-
- name: osx 3.11 intel
224+
- name: osx 3.11 arm64
221225
os: macos-latest
222226
python: "3.11"
223-
piparch: macosx_10_9_intel
224-
numpy: numpy==1.23.5
225-
cython: Cython==0.29.35
227+
piparch: macosx_11_0_universal2
228+
numpy: numpy==2.0.1
229+
cython: Cython==3.0.10
230+
skip_cothread: yes
226231

227-
- name: osx 3.12 intel
232+
- name: osx 3.12 arm64
228233
os: macos-latest
229234
python: "3.12"
230-
piparch: macosx_10_9_intel
231-
numpy: numpy==1.26.4
235+
piparch: macosx_11_0_universal2
236+
numpy: numpy==2.0.1
232237
cython: Cython==3.0.10
233238
skip_cothread: yes
234239

@@ -302,11 +307,17 @@ jobs:
302307

303308
- name: Setup native python
304309
if: matrix.python
305-
uses: actions/setup-python@v4
310+
uses: actions/setup-python@v5
306311
with:
307312
python-version: ${{ matrix.python }}
308313
#architecture: x64
309314

315+
# TLS 1.0 and 1.1 support was removed from pypi so the cached pip won't work
316+
- name: Python 3.5 Fix
317+
if: ${{ matrix.python == '3.5' }}
318+
run: |
319+
curl https://bootstrap.pypa.io/pip/3.5/get-pip.py | python
320+
310321
- name: Automatic core dumper analysis
311322
uses: mdavidsaver/ci-core-dumper@master
312323

@@ -395,7 +406,6 @@ jobs:
395406
[ -d dist ]
396407
ls dist/*
397408
export PATH="/opt/python/${{ matrix.pyver }}/bin:\$PATH"
398-
export SETUPTOOLS_USE_DISTUTILS=stdlib
399409
which python
400410
python -m pip install -U pip
401411
python -m pip install setuptools wheel nose2

0 commit comments

Comments
 (0)