python3Packages.numcodecs: 0.16.3 -> 0.16.5

This commit is contained in:
Martin Weinelt
2026-05-30 03:53:13 +02:00
parent 065869b1b2
commit 0d33bcce4e
@@ -11,15 +11,18 @@
py-cpuinfo,
# dependencies
deprecated,
numpy,
typing-extensions,
# optional-dependencies
crc32c,
google-crc32c,
pcodec,
pyzstd,
# tests
msgpack,
python,
pytestCheckHook,
importlib-metadata,
zstd,
@@ -27,12 +30,12 @@
buildPythonPackage rec {
pname = "numcodecs";
version = "0.16.3";
version = "0.16.5";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-U9cFhl+q8KeSfJc683d1MgAcj7tlPeEZwehEYIYU15k=";
hash = "sha256-DQ+2CFL4TAvZVDzE0que79N/yO/MQQrNR3fmKh0wAxg=";
};
build-system = [
@@ -43,14 +46,15 @@ buildPythonPackage rec {
];
dependencies = [
deprecated
numpy
typing-extensions
];
optional-dependencies = {
crc32c = [ crc32c ];
google_crc32c = [ google-crc32c ];
msgpack = [ msgpack ];
pyzstd = [ pyzstd ];
pcodec = [ pcodec ];
# zfpy = [ zfpy ];
};
@@ -61,12 +65,18 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
importlib-metadata
pyzstd
zstd
]
++ lib.concatAttrValues optional-dependencies;
disabledTestPaths = [
# https://github.com/zarr-developers/numcodecs/issues/815
"numcodecs/tests/test_pcodec.py"
];
# https://github.com/NixOS/nixpkgs/issues/255262
preCheck = "pushd $out";
preCheck = "pushd $out/${python.sitePackages}";
postCheck = "popd";
meta = {