python3Packages.ome-zarr-models: 1.7 -> 1.8.1 (#578561)

This commit is contained in:
Fabian Affolter
2026-10-25 10:10:03 +00:00
committed by GitHub

View File

@@ -9,6 +9,7 @@
hatchling,
# dependencies
numpy,
pydantic,
pydantic-zarr,
zarr,
@@ -17,29 +18,32 @@
aiohttp,
fsspec,
pytest-cov-stub,
pytest-doctestplus,
pytest-vcr,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "ome-zarr-models";
version = "1.7";
version = "1.8.1";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "ome-zarr-models";
repo = "ome-zarr-models-py";
tag = "v${finalAttrs.version}";
hash = "sha256-UT/LvbTGo6UueEUwELqnfhERvxtg04Ukrcpo1yTa80c=";
hash = "sha256-yC62hrlv3OOSXp6c3et3ZRa51iMHQkyXv1W7eyJCxlM=";
};
pythonRelaxDeps = [ "pydantic" ];
build-system = [
hatch-vcs
hatchling
];
dependencies = [
numpy
pydantic
pydantic-zarr
zarr
@@ -51,14 +55,19 @@ buildPythonPackage (finalAttrs: {
aiohttp
fsspec
pytest-cov-stub
pytest-doctestplus
pytest-vcr
pytestCheckHook
];
pytestFlags = [ "--override-ini=testpaths=tests" ];
disabledTests = [
# Require internet connection
"test_bioformats2raw_get_image"
"test_load_remote_data"
# AssertionError
"test_get_all_zarrs"
]
++ lib.optionals (pythonAtLeast "3.14") [
# pydantic.errors.PydanticUserError: `Image` is not fully defined; you should define all