4242 matrix :
4343 include :
4444 # Windows 32 bit
45- - os : windows-latest
46- python : 38
47- platform_id : win32
4845 - os : windows-latest
4946 python : 39
5047 platform_id : win32
@@ -57,11 +54,11 @@ jobs:
5754 - os : windows-latest
5855 python : 312
5956 platform_id : win32
57+ - os : windows-latest
58+ python : 313
59+ platform_id : win32
6060
6161 # Windows 64 bit
62- - os : windows-latest
63- python : 38
64- platform_id : win_amd64
6562 - os : windows-latest
6663 python : 39
6764 platform_id : win_amd64
@@ -74,12 +71,11 @@ jobs:
7471 - os : windows-latest
7572 python : 312
7673 platform_id : win_amd64
74+ - os : windows-latest
75+ python : 313
76+ platform_id : win_amd64
7777
7878 # Linux 64 bit manylinux2014
79- - os : ubuntu-latest
80- python : 38
81- platform_id : manylinux_x86_64
82- manylinux_image : manylinux2014
8379 - os : ubuntu-latest
8480 python : 39
8581 platform_id : manylinux_x86_64
@@ -96,11 +92,12 @@ jobs:
9692 python : 312
9793 platform_id : manylinux_x86_64
9894 manylinux_image : manylinux2014
95+ - os : ubuntu-latest
96+ python : 313
97+ platform_id : manylinux_x86_64
98+ manylinux_image : manylinux2014
9999
100100 # Linux aarch64
101- - os : ubuntu-latest
102- python : 38
103- platform_id : manylinux_aarch64
104101 - os : ubuntu-latest
105102 python : 39
106103 platform_id : manylinux_aarch64
@@ -113,11 +110,11 @@ jobs:
113110 - os : ubuntu-latest
114111 python : 312
115112 platform_id : manylinux_aarch64
113+ - os : ubuntu-latest
114+ python : 313
115+ platform_id : manylinux_aarch64
116116
117117 # MacOS x86_64
118- - os : macos-12
119- python : 38
120- platform_id : macosx_x86_64
121118 - os : macos-12
122119 python : 39
123120 platform_id : macosx_x86_64
@@ -130,6 +127,9 @@ jobs:
130127 - os : macos-12
131128 python : 312
132129 platform_id : macosx_x86_64
130+ - os : macos-12
131+ python : 313
132+ platform_id : macosx_x86_64
133133
134134 steps :
135135 - uses : actions/checkout@v4
@@ -178,9 +178,6 @@ jobs:
178178 matrix :
179179 include :
180180 # MacOS arm64
181- - os : macos-14
182- python : 38
183- platform_id : macosx_arm64
184181 - os : macos-14
185182 python : 39
186183 platform_id : macosx_arm64
@@ -193,6 +190,9 @@ jobs:
193190 - os : macos-14
194191 python : 312
195192 platform_id : macosx_arm64
193+ - os : macos-14
194+ python : 313
195+ platform_id : macosx_arm64
196196
197197 steps :
198198 - uses : actions/checkout@v4
@@ -222,61 +222,62 @@ jobs:
222222 path : ./dist/*.whl
223223
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.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
273273
274274 # The pypi upload fails with non-linux containers, so grab the uploaded
275275 # artifacts and run using those
276276 # See: https://github.com/pypa/gh-action-pypi-publish/discussions/15
277277 deploy :
278278 name : Upload wheels to PyPI
279- needs : [ test-package ]
279+ # needs: [ test-package ]
280+ needs : [ build-wheels, build-sdist, build-wheels-macos-arm64 ]
280281 runs-on : ubuntu-latest
281282 environment :
282283 name : pypi
0 commit comments