Commit 8b67f2a8 authored by Ben Darwin's avatar Ben Darwin
Browse files

Revert "python3Packages.zarr: 2.18.3 -> 3.0.1"

This reverts commit d63c6c91.
parent 5997e009
Loading
Loading
Loading
Loading
+5 −30
Original line number Diff line number Diff line
@@ -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" ];