python312Packages.ome-zarr: fix

This commit is contained in:
Gaetan Lepage
2025-02-15 01:18:45 +01:00
parent 815a35a18f
commit 3b988f718d
@@ -1,9 +1,13 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
pytestCheckHook,
# build-system
setuptools,
setuptools-scm,
# dependencies
aiohttp,
dask,
distributed,
@@ -11,9 +15,11 @@
numpy,
requests,
scikit-image,
setuptools,
toolz,
zarr,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
@@ -21,8 +27,6 @@ buildPythonPackage rec {
version = "0.10.3";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "ome";
repo = "ome-zarr-py";
@@ -32,21 +36,24 @@ buildPythonPackage rec {
build-system = [
setuptools
setuptools-scm
];
dependencies = [
numpy
aiohttp
dask
distributed
zarr
fsspec
aiohttp
numpy
requests
scikit-image
toolz
zarr
] ++ fsspec.optional-dependencies.s3;
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
];
disabledTests = [
# attempts to access network
@@ -90,7 +97,7 @@ buildPythonPackage rec {
meta = {
description = "Implementation of next-generation file format (NGFF) specifications for storing bioimaging data in the cloud";
homepage = "https://pypi.org/project/ome-zarr";
changelog = "https://github.com/ome/ome-zarr-py/blob/${src.tag}/CHANGELOG.md";
changelog = "https://github.com/ome/ome-zarr-py/blob/v${version}/CHANGELOG.md";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.bcdarwin ];
mainProgram = "ome_zarr";