diff --git a/pkgs/development/python-modules/blosc2/default.nix b/pkgs/development/python-modules/blosc2/default.nix index db948e8098bc..f72a50eb26d3 100644 --- a/pkgs/development/python-modules/blosc2/default.nix +++ b/pkgs/development/python-modules/blosc2/default.nix @@ -19,6 +19,7 @@ # propagates msgpack, ndindex, + numexpr, numpy, py-cpuinfo, rich, @@ -31,21 +32,25 @@ buildPythonPackage rec { pname = "blosc2"; - version = "2.5.1"; + version = "2.7.1"; pyproject = true; src = fetchFromGitHub { owner = "Blosc"; repo = "python-blosc2"; rev = "refs/tags/v${version}"; - hash = "sha256-yBgnNJU1q+FktIkpQn74LuRP19Ta/fNC60Z8TxzlWPk="; + hash = "sha256-2aLfyd+/I8cy9OqdU4yNXY/bkf0AdXu+hZPLDdM3g5g="; }; postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "numpy>=2.0.0" "numpy" substituteInPlace requirements-runtime.txt \ --replace "pytest" "" ''; + pythonRelaxDeps = [ "numpy" ]; + nativeBuildInputs = [ cmake cython @@ -65,6 +70,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ msgpack ndindex + numexpr numpy py-cpuinfo rich