Skip to content

Commit

Permalink
Skip jpeg-ls tests for Python 3.11 (#1708)
Browse files Browse the repository at this point in the history
* Skip jpeg-ls tests for Python 3.11

- CharPyLS does not compile under Linux/MacOS
- also add 3.11 builds for PR builds

* Also skip pylibjpeg tests for Python 3.11

- pylibjpeg-openjpeg and pylibjpeg-libjpeg also fail to build

* Remove 3.11 PR builds for test-core-extras again
  • Loading branch information
mrbean-bremen committed Oct 8, 2022
1 parent ef62ff7 commit 803fc57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/merge-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
python -m pip uninstall -y pillow
- name: Install and test jpeg_ls
if: ${{ matrix.python-version != '3.11-dev' }}
run: |
python -m pip install -U cython
python -m pip install git+https://github.com/Who8MyLunch/CharPyLS
Expand All @@ -91,6 +92,7 @@ jobs:
python -m pip uninstall -y python-gdcm
- name: Install and test pylibjpeg
if: ${{ matrix.python-version != '3.11-dev' }}
run: |
python -m pip install pylibjpeg
python -m pip uninstall -y pylibjpeg-openjpeg pylibjpeg-rle
Expand All @@ -99,6 +101,7 @@ jobs:
pytest ${{ matrix.pytest-args }} pydicom/tests/test_pylibjpeg.py
- name: Test all pixel handling
if: ${{ matrix.python-version != '3.11-dev' }}
run: |
python -m pip install pillow python-gdcm
python -m pip install git+https://github.com/Who8MyLunch/CharPyLS
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11-dev']
include:
- os: 'ubuntu-latest'
pytest-args: --cov=pydicom --cov-append
Expand Down

0 comments on commit 803fc57

Please sign in to comment.