@@ -114,20 +114,20 @@ jobs:
114
114
python : 313
115
115
platform_id : manylinux_aarch64
116
116
117
- # MacOS 12 x86_64
118
- - os : macos-12
117
+ # MacOS 13 x86_64
118
+ - os : macos-13
119
119
python : 39
120
120
platform_id : macosx_x86_64
121
- - os : macos-12
121
+ - os : macos-13
122
122
python : 310
123
123
platform_id : macosx_x86_64
124
- - os : macos-12
124
+ - os : macos-13
125
125
python : 311
126
126
platform_id : macosx_x86_64
127
- - os : macos-12
127
+ - os : macos-13
128
128
python : 312
129
129
platform_id : macosx_x86_64
130
- - os : macos-12
130
+ - os : macos-13
131
131
python : 313
132
132
platform_id : macosx_x86_64
133
133
@@ -222,58 +222,59 @@ jobs:
222
222
name : wheel-${{ matrix.python }}-${{ matrix.platform_id }}
223
223
path : ./dist/*.whl
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.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
- run : |
249
- python -m venv testwhl
250
- source testwhl/bin/activate
251
- python -m pip install -U pip
252
- python -m pip install pytest pydicom pylibjpeg
253
- python -m pip uninstall -y pylibjpeg-openjpeg
254
- python -m pip install git+https://github.com/pydicom/pylibjpeg-data
255
- python -m pip install -U --pre --find-links dist/ pylibjpeg-openjpeg
256
- python -m pytest --pyargs openjpeg.tests
257
- deactivate
258
-
259
- - name : Install from package tarball and test
260
- run : |
261
- python -m venv testsrc
262
- source testsrc/bin/activate
263
- python -m pip install -U pip
264
- python -m pip install pytest pydicom pylibjpeg
265
- python -m pip uninstall -y pylibjpeg-openjpeg
266
- python -m pip install git+https://github.com/pydicom/pylibjpeg-data
267
- python -m pip install -U dist/pylibjpeg*openjpeg-*.tar.gz
268
- python -m pytest --pyargs openjpeg.tests
269
- 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
+ # run: |
249
+ # python -m venv testwhl
250
+ # source testwhl/bin/activate
251
+ # python -m pip install -U pip
252
+ # python -m pip install pytest pydicom pylibjpeg
253
+ # python -m pip uninstall -y pylibjpeg-openjpeg
254
+ # python -m pip install git+https://github.com/pydicom/pylibjpeg-data
255
+ # python -m pip install -U --pre --find-links dist/ pylibjpeg-openjpeg
256
+ # python -m pytest --pyargs openjpeg.tests
257
+ # deactivate
258
+ #
259
+ # - name: Install from package tarball and test
260
+ # run: |
261
+ # python -m venv testsrc
262
+ # source testsrc/bin/activate
263
+ # python -m pip install -U pip
264
+ # python -m pip install pytest pydicom pylibjpeg
265
+ # python -m pip uninstall -y pylibjpeg-openjpeg
266
+ # python -m pip install git+https://github.com/pydicom/pylibjpeg-data
267
+ # python -m pip install -U dist/pylibjpeg*openjpeg-*.tar.gz
268
+ # python -m pytest --pyargs openjpeg.tests
269
+ # deactivate
270
270
271
271
# The pypi upload fails with non-linux containers, so grab the uploaded
272
272
# artifacts and run using those
273
273
# See: https://github.com/pypa/gh-action-pypi-publish/discussions/15
274
274
deploy :
275
275
name : Upload wheels to PyPI
276
- needs : [ test-package ]
276
+ # needs: [ test-package ]
277
+ needs : [ build-wheels, build-sdist, build-wheels-macos-arm64 ]
277
278
runs-on : ubuntu-latest
278
279
environment :
279
280
name : pypi
0 commit comments