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

This commit is contained in:
Robert Scott
2025-05-06 23:51:10 +01:00
committed by GitHub
@@ -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; {