42
42
matrix :
43
43
include :
44
44
# Windows 32 bit
45
- - os : windows-latest
46
- python : 38
47
- platform_id : win32
48
45
- os : windows-latest
49
46
python : 39
50
47
platform_id : win32
@@ -57,11 +54,11 @@ jobs:
57
54
- os : windows-latest
58
55
python : 312
59
56
platform_id : win32
57
+ - os : windows-latest
58
+ python : 313
59
+ platform_id : win32
60
60
61
61
# Windows 64 bit
62
- - os : windows-latest
63
- python : 38
64
- platform_id : win_amd64
65
62
- os : windows-latest
66
63
python : 39
67
64
platform_id : win_amd64
@@ -74,12 +71,11 @@ jobs:
74
71
- os : windows-latest
75
72
python : 312
76
73
platform_id : win_amd64
74
+ - os : windows-latest
75
+ python : 313
76
+ platform_id : win_amd64
77
77
78
78
# Linux 64 bit manylinux2014
79
- - os : ubuntu-latest
80
- python : 38
81
- platform_id : manylinux_x86_64
82
- manylinux_image : manylinux2014
83
79
- os : ubuntu-latest
84
80
python : 39
85
81
platform_id : manylinux_x86_64
@@ -96,11 +92,12 @@ jobs:
96
92
python : 312
97
93
platform_id : manylinux_x86_64
98
94
manylinux_image : manylinux2014
95
+ - os : ubuntu-latest
96
+ python : 313
97
+ platform_id : manylinux_x86_64
98
+ manylinux_image : manylinux2014
99
99
100
100
# Linux aarch64
101
- - os : ubuntu-latest
102
- python : 38
103
- platform_id : manylinux_aarch64
104
101
- os : ubuntu-latest
105
102
python : 39
106
103
platform_id : manylinux_aarch64
@@ -113,11 +110,11 @@ jobs:
113
110
- os : ubuntu-latest
114
111
python : 312
115
112
platform_id : manylinux_aarch64
113
+ - os : ubuntu-latest
114
+ python : 313
115
+ platform_id : manylinux_aarch64
116
116
117
117
# MacOS x86_64
118
- - os : macos-12
119
- python : 38
120
- platform_id : macosx_x86_64
121
118
- os : macos-12
122
119
python : 39
123
120
platform_id : macosx_x86_64
@@ -130,6 +127,9 @@ jobs:
130
127
- os : macos-12
131
128
python : 312
132
129
platform_id : macosx_x86_64
130
+ - os : macos-12
131
+ python : 313
132
+ platform_id : macosx_x86_64
133
133
134
134
steps :
135
135
- uses : actions/checkout@v4
@@ -178,9 +178,6 @@ jobs:
178
178
matrix :
179
179
include :
180
180
# MacOS arm64
181
- - os : macos-14
182
- python : 38
183
- platform_id : macosx_arm64
184
181
- os : macos-14
185
182
python : 39
186
183
platform_id : macosx_arm64
@@ -193,6 +190,9 @@ jobs:
193
190
- os : macos-14
194
191
python : 312
195
192
platform_id : macosx_arm64
193
+ - os : macos-14
194
+ python : 313
195
+ platform_id : macosx_arm64
196
196
197
197
steps :
198
198
- uses : actions/checkout@v4
@@ -222,61 +222,62 @@ jobs:
222
222
path : ./dist/*.whl
223
223
224
224
225
- test-package :
226
- name : Test built package
227
- needs : [ build-wheels, build-sdist, build-wheels-macos-arm64 ]
228
- runs-on : ubuntu-latest
229
- timeout-minutes : 30
230
- strategy :
231
- fail-fast : false
232
- matrix :
233
- python-version : ['3.8 ', '3.9 ', '3.10 ', '3.11 ', '3.12 ']
234
-
235
- steps :
236
- - name : Set up Python ${{ matrix.python-version }}
237
- uses : actions/setup-python@v5
238
- with :
239
- python-version : ${{ matrix.python-version }}
240
-
241
- - name : Download the wheels
242
- uses : actions/download-artifact@v4
243
- with :
244
- path : dist/
245
- merge-multiple : true
246
-
247
- - name : Install from package wheels and test
248
- # If testing wheel builds might need --pre to install dev version
249
- run : |
250
- python -m venv testwhl
251
- source testwhl/bin/activate
252
- python -m pip install -U pip
253
- python -m pip install pytest pydicom pylibjpeg
254
- python -m pip uninstall -y pylibjpeg-libjpeg
255
- python -m pip uninstall -y pylibjpeg-openjpeg
256
- python -m pip install git+https://github.com/pydicom/pylibjpeg-data
257
- python -m pip install -U --pre --find-links dist/ pylibjpeg-libjpeg
258
- python -m pytest --pyargs libjpeg.tests
259
- deactivate
260
-
261
- - name : Install from package tarball and test
262
- run : |
263
- python -m venv testsrc
264
- source testsrc/bin/activate
265
- python -m pip install -U pip
266
- python -m pip install pytest pydicom pylibjpeg
267
- python -m pip uninstall -y pylibjpeg-libjpeg
268
- python -m pip uninstall -y pylibjpeg-openjpeg
269
- python -m pip install git+https://github.com/pydicom/pylibjpeg-data
270
- python -m pip install -U dist/pylibjpeg*libjpeg-*.tar.gz
271
- python -m pytest --pyargs libjpeg.tests
272
- deactivate
225
+ # test-package:
226
+ # name: Test built package
227
+ # needs: [ build-wheels, build-sdist, build-wheels-macos-arm64 ]
228
+ # runs-on: ubuntu-latest
229
+ # timeout-minutes: 30
230
+ # strategy:
231
+ # fail-fast: false
232
+ # matrix:
233
+ # python-version: ['3.9 ', '3.10 ', '3.11 ', '3.12 ', '3.13 ']
234
+ #
235
+ # steps:
236
+ # - name: Set up Python ${{ matrix.python-version }}
237
+ # uses: actions/setup-python@v5
238
+ # with:
239
+ # python-version: ${{ matrix.python-version }}
240
+ #
241
+ # - name: Download the wheels
242
+ # uses: actions/download-artifact@v4
243
+ # with:
244
+ # path: dist/
245
+ # merge-multiple: true
246
+ #
247
+ # - name: Install from package wheels and test
248
+ # # If testing wheel builds might need --pre to install dev version
249
+ # run: |
250
+ # python -m venv testwhl
251
+ # source testwhl/bin/activate
252
+ # python -m pip install -U pip
253
+ # python -m pip install pytest pydicom pylibjpeg
254
+ # python -m pip uninstall -y pylibjpeg-libjpeg
255
+ # python -m pip uninstall -y pylibjpeg-openjpeg
256
+ # python -m pip install git+https://github.com/pydicom/pylibjpeg-data
257
+ # python -m pip install -U --pre --find-links dist/ pylibjpeg-libjpeg
258
+ # python -m pytest --pyargs libjpeg.tests
259
+ # deactivate
260
+ #
261
+ # - name: Install from package tarball and test
262
+ # run: |
263
+ # python -m venv testsrc
264
+ # source testsrc/bin/activate
265
+ # python -m pip install -U pip
266
+ # python -m pip install pytest pydicom pylibjpeg
267
+ # python -m pip uninstall -y pylibjpeg-libjpeg
268
+ # python -m pip uninstall -y pylibjpeg-openjpeg
269
+ # python -m pip install git+https://github.com/pydicom/pylibjpeg-data
270
+ # python -m pip install -U dist/pylibjpeg*libjpeg-*.tar.gz
271
+ # python -m pytest --pyargs libjpeg.tests
272
+ # deactivate
273
273
274
274
# The pypi upload fails with non-linux containers, so grab the uploaded
275
275
# artifacts and run using those
276
276
# See: https://github.com/pypa/gh-action-pypi-publish/discussions/15
277
277
deploy :
278
278
name : Upload wheels to PyPI
279
- needs : [ test-package ]
279
+ # needs: [ test-package ]
280
+ needs : [ build-wheels, build-sdist, build-wheels-macos-arm64 ]
280
281
runs-on : ubuntu-latest
281
282
environment :
282
283
name : pypi
0 commit comments