@@ -114,20 +114,20 @@ jobs:
114114 python : 313
115115 platform_id : manylinux_aarch64
116116
117- # MacOS 12 x86_64
118- - os : macos-12
117+ # MacOS 13 x86_64
118+ - os : macos-13
119119 python : 39
120120 platform_id : macosx_x86_64
121- - os : macos-12
121+ - os : macos-13
122122 python : 310
123123 platform_id : macosx_x86_64
124- - os : macos-12
124+ - os : macos-13
125125 python : 311
126126 platform_id : macosx_x86_64
127- - os : macos-12
127+ - os : macos-13
128128 python : 312
129129 platform_id : macosx_x86_64
130- - os : macos-12
130+ - os : macos-13
131131 python : 313
132132 platform_id : macosx_x86_64
133133
@@ -222,58 +222,59 @@ jobs:
222222 name : wheel-${{ matrix.python }}-${{ matrix.platform_id }}
223223 path : ./dist/*.whl
224224
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
270270
271271 # The pypi upload fails with non-linux containers, so grab the uploaded
272272 # artifacts and run using those
273273 # See: https://github.com/pypa/gh-action-pypi-publish/discussions/15
274274 deploy :
275275 name : Upload wheels to PyPI
276- needs : [ test-package ]
276+ # needs: [ test-package ]
277+ needs : [ build-wheels, build-sdist, build-wheels-macos-arm64 ]
277278 runs-on : ubuntu-latest
278279 environment :
279280 name : pypi
0 commit comments