From 8b67f2a80351c42014021235b28f782c663d569d Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Fri, 7 Feb 2025 00:49:32 -0500 Subject: [PATCH] Revert "python3Packages.zarr: 2.18.3 -> 3.0.1" This reverts commit d63c6c91866921a7c64a0d6a15a75a8f5b459351. --- .../python-modules/zarr/default.nix | 35 +++---------------- 1 file changed, 5 insertions(+), 30 deletions(-) diff --git a/pkgs/development/python-modules/zarr/default.nix b/pkgs/development/python-modules/zarr/default.nix index 2524c320b184..cc38c78b3c48 100644 --- a/pkgs/development/python-modules/zarr/default.nix +++ b/pkgs/development/python-modules/zarr/default.nix @@ -5,68 +5,43 @@ pythonOlder, # build-system - hatchling, - hatch-vcs, + setuptools-scm, # dependencies asciitree, - donfig, numpy, fasteners, numcodecs, # tests - aiohttp, - botocore, - fsspec, - hypothesis, - pytest-asyncio, pytestCheckHook, - requests, - rich, }: buildPythonPackage rec { pname = "zarr"; - version = "3.0.1"; + version = "2.18.3"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-AzhZxWA9ycKeU69JTt4ktC8bdh0rtiVGaZCjuKmvt5I="; + hash = "sha256-JYDYy23YRiF3GhDTHE13fcqKJ3BqGomyn0LS034t9c4="; }; build-system = [ - hatchling - hatch-vcs + setuptools-scm ]; dependencies = [ asciitree - donfig numpy fasteners numcodecs - ] ++ numcodecs.optional-dependencies.crc32c; + ] ++ numcodecs.optional-dependencies.msgpack; nativeCheckInputs = [ - aiohttp - botocore - fsspec - hypothesis - pytest-asyncio pytestCheckHook - requests - rich - ]; - - disabledTests = [ - # flaky - "test_vindex" - "test_zarr_hierarchy" - "test_zarr_store" ]; pythonImportsCheck = [ "zarr" ];