From 71cb3bb452ecd21e56b6c26ba33404bc5acc6f68 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Tue, 10 Sep 2024 11:10:53 +0200 Subject: [PATCH 1/2] fix: use backwards-compatible version of xarray-ome-ngff --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d92d504..9b2ebdc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ dependencies = [ "numpy >=1.20.0, <2", "xarray >=2022.03.0", "backoff >=1.10.0, <2", - "xarray-ome-ngff >=2.2.2", + "xarray-ome-ngff >= 3.1.1, <4", "xarray-multiscale >= 2.1.0, <3", "tifffile >=2023.2.28", "click >= 8.1.3, <9", @@ -50,6 +50,9 @@ fst = "fibsem_tools.cli.fst:fst" version.source = "vcs" build.hooks.vcs.version-file = "src/fibsem_tools/_version.py" +[tool.hatch.metadata] +allow-direct-references = true + [tool.hatch.envs.test] dependencies = [ "pytest", From 54183f126749bb82da7b8590ce3723c8fc919bb0 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Tue, 10 Sep 2024 11:12:10 +0200 Subject: [PATCH 2/2] remove allowance of direct references --- pyproject.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9b2ebdc..2260e44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,9 +50,6 @@ fst = "fibsem_tools.cli.fst:fst" version.source = "vcs" build.hooks.vcs.version-file = "src/fibsem_tools/_version.py" -[tool.hatch.metadata] -allow-direct-references = true - [tool.hatch.envs.test] dependencies = [ "pytest",