Skip to content

Commit 8e0b23b

Browse files
committed
ENH: Drop Python 3.8 support
tifffile version not available in macOS ARM. CPython 3.8 was deprecated in October 2024.
1 parent 3b46300 commit 8e0b23b

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,35 @@ jobs:
1515
- uses: actions/checkout@v4
1616

1717
- name: Set up Python ${{ matrix.python-version }}
18-
if: ${{ matrix.os != 'macos-14' || matrix.package != '3.8' }}
1918
uses: actions/setup-python@v5
2019
with:
2120
python-version: ${{ matrix.python-version }}
2221

2322
- name: Install dependencies
24-
if: ${{ matrix.os != 'macos-14' || matrix.package != '3.8' }}
23+
run: |
24+
python -m pip install --upgrade pip
25+
python -m pip install -e ".[test,dask-image,itk,cli]"
26+
27+
- name: Install dependencies
28+
run: |
29+
python -m pip install --upgrade pip
30+
python -m pip install -e ".[test,dask-image,itk]"
31+
python -m pip install itkwasm-image-io
32+
33+
- name: Install dependencies
2534
run: |
2635
python -m pip install --upgrade pip
2736
python -m pip install -e ".[test,dask-image,itk,cli]"
2837
2938
- name: Test with pytest
30-
if: ${{ matrix.os != 'macos-14' || matrix.package != '3.8' }}
39+
if: ${{ matrix.os != 'ubuntu-22.04' && matrix.os != 'macos-14' }}
3140
run: |
3241
pytest --junitxml=junit/test-results.xml
3342
3443
- name: Publish Test Report
35-
if: ${{ matrix.os != 'macos-14' || matrix.package != '3.8' }}
44+
if:
45+
${{ matrix.os != 'ubuntu-22.04' && (matrix.os != 'macos-14' ||
46+
matrix.python-version != '3.8') }}
3647
uses: mikepenz/action-junit-report@v2
3748
with:
3849
report_paths: "junit/test-results*.xml"

pixi.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "hatchling.build"
77
name = "ngff-zarr"
88
description = 'A lean and kind Open Microscopy Environment (OME) Next Generation File Format (NGFF) Zarr implementation.'
99
readme = "README.md"
10-
requires-python = ">=3.8"
10+
requires-python = ">=3.9"
1111
license = "MIT"
1212
keywords = []
1313
authors = [{ name = "Matt McCormick", email = "matt.mccormick@kitware.com" }]
@@ -20,7 +20,6 @@ classifiers = [
2020
"Programming Language :: Python",
2121
"Programming Language :: Python :: 3",
2222
"Programming Language :: Python :: 3 :: Only",
23-
"Programming Language :: Python :: 3.8",
2423
"Programming Language :: Python :: 3.9",
2524
"Programming Language :: Python :: 3.10",
2625
"Programming Language :: Python :: 3.11",

0 commit comments

Comments
 (0)