python3Packages.numcodecs: 0.16.1 -> 0.16.3

Release notes: https://numcodecs.readthedocs.io/en/latest/release.html#version-0-16-3

This update fixes compilation with GCC 15 (C23 standard) by updating the bundled c-blosc.
It also adds pyzstd and the zstd CLI tool as check dependencies to enable and pass tests.
This commit is contained in:
Kirill Radzikhovskyy
2025-12-19 08:18:58 +11:00
parent 307ed08917
commit b2883f8d62
2 changed files with 9 additions and 3 deletions
@@ -17,23 +17,25 @@
# optional-dependencies
crc32c,
pyzstd,
# tests
msgpack,
pytestCheckHook,
importlib-metadata,
zstd,
}:
buildPythonPackage rec {
pname = "numcodecs";
version = "0.16.1";
version = "0.16.3";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-xH8g1lZFRWjGtGl84CCB5ru1EvGYc4xqVvr+gCnJf7E=";
hash = "sha256-U9cFhl+q8KeSfJc683d1MgAcj7tlPeEZwehEYIYU15k=";
};
build-system = [
@@ -51,6 +53,7 @@ buildPythonPackage rec {
optional-dependencies = {
crc32c = [ crc32c ];
msgpack = [ msgpack ];
pyzstd = [ pyzstd ];
# zfpy = [ zfpy ];
};
@@ -61,6 +64,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
importlib-metadata
zstd
]
++ lib.concatAttrValues optional-dependencies;
+3 -1
View File
@@ -10974,7 +10974,9 @@ self: super: with self; {
numbagg = callPackage ../development/python-modules/numbagg { };
numcodecs = callPackage ../development/python-modules/numcodecs { };
numcodecs = callPackage ../development/python-modules/numcodecs {
inherit (pkgs) zstd;
};
numdifftools = callPackage ../development/python-modules/numdifftools { };