Commit a61172f7 authored by Doron Behar's avatar Doron Behar
Browse files

python312Packages.numcodecs: 0.13.0 -> 0.13.1

parent 3438b4f4
Loading
Loading
Loading
Loading
+4 −15
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@
  stdenv,
  buildPythonPackage,
  fetchPypi,
  fetchpatch,
  python,
  pythonOlder,

@@ -19,18 +18,19 @@
  # tests
  msgpack,
  pytestCheckHook,
  importlib-metadata,
}:

buildPythonPackage rec {
  pname = "numcodecs";
  version = "0.13.0";
  version = "0.13.1";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-uk+scDbqWgeMev4dTf/rloUIDULxnJwWsS2thmcDqi4=";
    hash = "sha256-o883iB3wiY86nA1Ed9+IEz/oUYW//le6MbzC+iB3Cbw=";
  };

  build-system = [
@@ -54,23 +54,12 @@ buildPythonPackage rec {
  nativeCheckInputs = [
    pytestCheckHook
    msgpack
    importlib-metadata
  ];

  # https://github.com/NixOS/nixpkgs/issues/255262
  pytestFlagsArray = [ "$out/${python.sitePackages}/numcodecs" ];

  disabledTests = [
    "test_backwards_compatibility"

    "test_encode_decode"
    "test_legacy_codec_broken"
    "test_bytes"

    # ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (3,) + inhomogeneous part.
    # with numpy 1.24
    "test_non_numpy_inputs"
  ];

  meta = {
    homepage = "https://github.com/zarr-developers/numcodecs";
    license = lib.licenses.mit;