Unverified Commit f711bf8d authored by Robert Scott's avatar Robert Scott Committed by GitHub
Browse files

python312Packages.blosc2: 3.0.0 -> 3.3.2 (#403913)

parents 2e0c3464 b5d98d21
Loading
Loading
Loading
Loading
+7 −14
Original line number Diff line number Diff line
@@ -15,12 +15,13 @@
  c-blosc2,

  # dependencies
  httpx,
  msgpack,
  ndindex,
  numexpr,
  numpy,
  platformdirs,
  py-cpuinfo,
  requests,

  # tests
  psutil,
@@ -31,18 +32,16 @@

buildPythonPackage rec {
  pname = "blosc2";
  version = "3.0.0";
  version = "3.3.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Blosc";
    repo = "python-blosc2";
    tag = "v${version}";
    hash = "sha256-em03vwTPURkyZfGdlgpoy8QUzbib9SlcR73vYznlsYA=";
    hash = "sha256-0DSHXUuIqFP/k0oIibgMKxDsXyOSvGZllql9MfrkisM=";
  };

  pythonRelaxDeps = [ "numpy" ];

  nativeBuildInputs = [
    cmake
    ninja
@@ -54,18 +53,20 @@ buildPythonPackage rec {

  build-system = [
    cython
    numpy
    scikit-build-core
  ];

  buildInputs = [ c-blosc2 ];

  dependencies = [
    httpx
    msgpack
    ndindex
    numexpr
    numpy
    platformdirs
    py-cpuinfo
    requests
  ];

  nativeCheckInputs = [
@@ -73,14 +74,6 @@ buildPythonPackage rec {
    pytestCheckHook
  ] ++ lib.optionals runTorchTests [ torch ];

  disabledTests = [
    # RuntimeError: Error while getting the slice
    "test_lazyexpr"
    "test_eval_item"
    # RuntimeError: Error while creating the NDArray
    "test_lossy"
  ];

  passthru.c-blosc2 = c-blosc2;

  meta = with lib; {