Skip to content

Commit

Permalink
python312Packages.zarr: 2.18.3 -> 3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bcdarwin committed Feb 13, 2025
1 parent e3b62b9 commit ffd6efa
Showing 1 changed file with 37 additions and 13 deletions.
50 changes: 37 additions & 13 deletions pkgs/development/python-modules/zarr/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,49 +5,73 @@
pythonOlder,

# build-system
setuptools-scm,
hatchling,
hatch-vcs,

# dependencies
asciitree,
donfig,
numpy,
fasteners,
numcodecs,
typing-extensions,

# tests
pytestCheckHook,
pytest-asyncio,
pytest-cov-stub,
hypothesis,
aiohttp,
fsspec,
moto,
requests,
}:

buildPythonPackage rec {
pname = "zarr";
version = "2.18.3";
format = "pyproject";
version = "3.0.2";
pyproject = true;

disabled = pythonOlder "3.8";
disabled = pythonOlder "3.11";

src = fetchPypi {
inherit pname version;
hash = "sha256-JYDYy23YRiF3GhDTHE13fcqKJ3BqGomyn0LS034t9c4=";
hash = "sha256-A2stq/+p8BSMrVenvmxp2XYfazuDO2G30pwu6Kg2tGw=";
};

build-system = [
setuptools-scm
hatchling
hatch-vcs
];

dependencies = [
asciitree
donfig
numpy
fasteners
numcodecs
] ++ numcodecs.optional-dependencies.msgpack;
typing-extensions
] ++ numcodecs.optional-dependencies.crc32c;

nativeCheckInputs = [
pytestCheckHook
];
optional-dependencies = {
remote = [ fsspec ];
};

pythonImportsCheck = [ "zarr" ];
nativeCheckInputs =
[
pytestCheckHook
pytest-asyncio
pytest-cov-stub
hypothesis
aiohttp
moto
requests
]
++ moto.optional-dependencies.s3
++ moto.optional-dependencies.server
++ optional-dependencies.remote;

# FIXME remove once zarr's reverse dependencies support v3
passthru.skipBulkUpdate = true;
pythonImportsCheck = [ "zarr" ];

meta = {
description = "Implementation of chunked, compressed, N-dimensional arrays for Python";
Expand Down

0 comments on commit ffd6efa

Please sign in to comment.