python3Packages.blosc2: 2.5.1 -> 2.7.1

https://github.com/Blosc/python-blosc2/releases/tag/v2.7.1
This commit is contained in:
Martin Weinelt
2024-10-13 11:02:59 +02:00
parent c4587642d6
commit 501e8ced87
@@ -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