@@ -43,10 +43,11 @@ jobs:
4343 # Check build from .tar
4444 - name : Source
4545 os : ubuntu-latest
46- python : " 3.9 "
46+ python : " 3.12 "
4747 source : true
4848
4949 # Linux py builds x64
50+ # TODO: manylinux1 and 2014 are EOL, even more reason to remove these supported versions
5051 - name : linux 2.7 amd64
5152 os : ubuntu-latest
5253 pyver : cp27-cp27m
@@ -109,9 +110,17 @@ jobs:
109110 piparch : manylinux2014_x86_64
110111 numpy : numpy==1.23.5
111112 cython : Cython==0.29.35
113+
114+ - name : linux 3.12 amd64
115+ os : ubuntu-latest
116+ pyver : cp312-cp312
117+ piparch : manylinux2014_x86_64
118+ numpy : numpy==2.0.1
119+ cython : Cython==3.0.10
112120 skip_cothread : yes
113121
114122 # Linux py builds x64
123+ # TODO: manylinux1 and 2014 are EOL, even more reason to remove these supported versions
115124 - name : linux 2.7 i686
116125 os : ubuntu-latest
117126 pyver : cp27-cp27m
@@ -151,74 +160,88 @@ jobs:
151160 numpy : numpy==1.16.2
152161 cython : Cython==0.29.2
153162 pre : linux32
163+ skip_cothread : yes
154164
155165 - name : linux 3.8 i686
156166 os : ubuntu-latest
157167 pyver : cp38-cp38
158168 piparch : manylinux1_i686
159- numpy : numpy==1.17.3
169+ numpy : numpy==1.19.5
160170 cython : Cython==0.29.2
161171 pre : linux32
172+ skip_cothread : yes
162173
163174 - name : linux 3.9 i686
164175 os : ubuntu-latest
165176 pyver : cp39-cp39
166177 piparch : manylinux2010_i686
167- numpy : numpy==1.19.3
178+ numpy : numpy==1.19.5
168179 cython : Cython==0.29.23
169180 pre : linux32
181+ skip_cothread : yes
170182
171183 # numpy i386 wheels not built >= 3.10
172184
173185 # OSX py builds
174186 - name : osx 3.6 intel
175- os : macos-latest
187+ os : macos-13
176188 python : " 3.6"
177189 piparch : macosx_10_9_intel
178190 numpy : numpy==1.11.3
179191 cython : Cython==0.29.2
180192
181193 - name : osx 3.7 intel
182- os : macos-latest
194+ os : macos-13
183195 python : " 3.7"
184196 piparch : macosx_10_9_intel
185197 numpy : numpy==1.16.2
186198 cython : Cython==0.29.2
187199
188- - name : osx 3.8 intel
200+ - name : osx 3.8 arm64
189201 os : macos-latest
190202 python : " 3.8"
191- piparch : macosx_10_9_intel
192- numpy : numpy==1.17.3
203+ piparch : macosx_11_0_universal2
204+ numpy : numpy==1.24.4
193205 cython : Cython==0.29.2
206+ skip_cothread : yes
194207
195- - name : osx 3.9 intel
208+ - name : osx 3.9 arm64
196209 os : macos-latest
197210 python : " 3.9"
198- piparch : macosx_10_9_intel
199- numpy : numpy==1.19.3
200- 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
201215
202- - name : osx 3.10 intel
216+ - name : osx 3.10 arm64
203217 os : macos-latest
204218 python : " 3.10"
205- piparch : macosx_10_9_intel
206- numpy : numpy==1.22.0
207- 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
208223
209- - name : osx 3.11 intel
224+ - name : osx 3.11 arm64
210225 os : macos-latest
211226 python : " 3.11"
212- piparch : macosx_10_9_intel
213- numpy : numpy==1.23.5
214- 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
231+
232+ - name : osx 3.12 arm64
233+ os : macos-latest
234+ python : " 3.12"
235+ piparch : macosx_11_0_universal2
236+ numpy : numpy==2.0.1
237+ cython : Cython==3.0.10
215238 skip_cothread : yes
216239
217240 # Windows py builds
218241
219242 # # missing Microsoft Visual C++ 9.0
220243 # - os: windows-latest
221- # python: "2.7 "
244+ # python: "3.12 "
222245 # piparch: win_amd64
223246
224247 - name : win64 3.5
@@ -270,18 +293,31 @@ jobs:
270293 profile : latest
271294 skip_cothread : yes
272295
296+ - name : win64 3.12
297+ os : windows-latest
298+ python : " 3.12"
299+ piparch : win_amd64
300+ profile : latest
301+ skip_cothread : yes
302+
273303 steps :
274304 - uses : actions/checkout@v3
275305 with :
276306 submodules : recursive
277307
278308 - name : Setup native python
279309 if : matrix.python
280- uses : actions/setup-python@v4
310+ uses : actions/setup-python@v5
281311 with :
282312 python-version : ${{ matrix.python }}
283313 # architecture: x64
284314
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+
285321 - name : Automatic core dumper analysis
286322 uses : mdavidsaver/ci-core-dumper@master
287323
@@ -358,7 +394,6 @@ jobs:
358394 python -m pip install p4p*.whl
359395 python -m ci_core_dumper exec python -m nose2 -v p4p
360396
361-
362397 - name : Docker PY build
363398 if : matrix.pyver && !matrix.base && !matrix.source
364399 run : |
@@ -370,7 +405,6 @@ jobs:
370405 [ -d dist ]
371406 ls dist/*
372407 export PATH="/opt/python/${{ matrix.pyver }}/bin:\$PATH"
373- export SETUPTOOLS_USE_DISTUTILS=stdlib
374408 which python
375409 python -m pip install -U pip
376410 python -m pip install setuptools wheel nose2
@@ -422,15 +456,15 @@ jobs:
422456 run : python -m twine check dist/p4p*.tar.*
423457
424458 - name : Upload wheels
425- if : github.event_name=='push' && github.repository=='mdavidsaver /p4p' && github.ref=='refs/heads/master' && !matrix.base && !matrix.source
459+ if : github.event_name=='push' && github.repository=='epics-base /p4p' && github.ref=='refs/heads/master' && !matrix.base && !matrix.source
426460 env :
427461 TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
428462 TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
429463 run : |
430464 python -m twine upload --skip-existing dist/p4p*.whl
431465
432466 - name : Upload source
433- if : github.event_name=='push' && github.repository=='mdavidsaver /p4p' && github.ref=='refs/heads/master' && matrix.source && !matrix.base
467+ if : github.event_name=='push' && github.repository=='epics-base /p4p' && github.ref=='refs/heads/master' && matrix.source && !matrix.base
434468 env :
435469 TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
436470 TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
0 commit comments