Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: test py3.13 #241

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- platform: "ubuntu-latest"
python-version: "3.8"
- platform: "ubuntu-latest"
python-version: "3.8"
python-version: "3.13"
- platform: "macos-13"
python-version: "3.8"

Expand All @@ -46,6 +46,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- uses: actions/cache@v4
id: cache
Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = ["version"]
dependencies = [
Expand All @@ -32,11 +33,11 @@ dependencies = [
legacy = ["imagecodecs"]
tiff = ["tifffile"]
test = [
"nd2[legacy]",
"nd2[tiff]",
"aicsimageio",
"aicsimageio; python_version <= '3.12'",
"dask[array]",
"lxml; python_version >= '3.9'",
"imagecodecs; python_version <= '3.12'",
"lxml; python_version >= '3.9' and python_version <= '3.12'",
"numpy",
"psutil",
"pytest-codspeed",
Expand Down
2 changes: 1 addition & 1 deletion src/nd2/tiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def position_iter(p: int) -> Iterator[np.ndarray]:
shape=shape,
dtype=nd2f.dtype,
resolution=(1 / pixelsize, 1 / pixelsize),
resolutionunit=tf.TIFF.RESUNIT.MICROMETER,
resolutionunit=tf.RESUNIT.MICROMETER,
photometric=photometric,
metadata=metadata,
description=ome_xml,
Expand Down
Loading