From 278c0af09342bd707b23ed13fdd9b1f6b30a3f0f Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Tue, 23 Jun 2026 16:25:16 +0300 Subject: [PATCH] python3Packages.zarr: 3.1.5 -> 3.2.1 Diff: https://github.com/zarr-developers/zarr-python/compare/v3.1.5...v3.2.1 Changelog: https://github.com/zarr-developers/zarr-python/releases/tag/v3.2.1 --- pkgs/development/python-modules/zarr/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zarr/default.nix b/pkgs/development/python-modules/zarr/default.nix index 5a39ed30ba26..9238c0120180 100644 --- a/pkgs/development/python-modules/zarr/default.nix +++ b/pkgs/development/python-modules/zarr/default.nix @@ -37,16 +37,23 @@ buildPythonPackage (finalAttrs: { pname = "zarr"; - version = "3.1.5"; + version = "3.2.1"; pyproject = true; src = fetchFromGitHub { owner = "zarr-developers"; repo = "zarr-python"; tag = "v${finalAttrs.version}"; - hash = "sha256-1Kx8gN1JiaY4eHmwpdilvJ8+NdnzxhDvn7YZjphgtZw="; + hash = "sha256-WExQT/Je+esq0dv9HtPxGt7ioJgIwW8cGNuPwM+ANEc="; }; + # Avoid requiring pytest-benchmark - we don't care about these + preBuild = '' + substituteInPlace pyproject.toml \ + --replace-fail '"--benchmark-columns", "min,mean,stddev,outliers,rounds,iterations",' "" \ + --replace-fail '"--benchmark-disable",' "" \ + ''; + build-system = [ hatchling hatch-vcs @@ -94,6 +101,8 @@ buildPythonPackage (finalAttrs: { "tests/test_examples.py::test_scripts_can_run[script_path0]" # Requires zarr==2.x to generate zarr stores for the tests "tests/test_regression" + # See also preBuild above. + "tests/benchmarks/" ]; pythonImportsCheck = [ "zarr" ];