Unverified Commit 73797234 authored by Robert Schütz's avatar Robert Schütz Committed by GitHub
Browse files

python3Packages.zarr: 3.0.1 -> 2.18.3 (#380002)

parents 16a1e8e1 9dd84caa
Loading
Loading
Loading
Loading
+8 −30
Original line number Diff line number Diff line
@@ -5,72 +5,50 @@
  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" ];

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

  meta = {
    description = "Implementation of chunked, compressed, N-dimensional arrays for Python";
    homepage = "https://github.com/zarr-developers/zarr";