From 2aa2a574d2561fdfaabc07236cb89e1ddc8abaef Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 1 Nov 2025 13:31:59 +0000 Subject: [PATCH] python3Packages.tables: add patch for numexpr 2.13.0+ compatibility --- pkgs/development/python-modules/tables/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/python-modules/tables/default.nix b/pkgs/development/python-modules/tables/default.nix index 0357ae53d639..62321f1d9385 100644 --- a/pkgs/development/python-modules/tables/default.nix +++ b/pkgs/development/python-modules/tables/default.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchPypi, + fetchpatch, buildPythonPackage, pythonOlder, blosc2, @@ -34,6 +35,15 @@ buildPythonPackage rec { hash = "sha256-JUSBKnGG+tuoMdbdNOtJzNeI1qg/TkwrQxuDW2eWyRA="; }; + patches = [ + # should be included in next release + (fetchpatch { + name = "numexpr-2.13.0-compat.patch"; + url = "https://github.com/PyTables/PyTables/commit/41270019ce1ffd97ce8f23b21d635e00e12b0ccb.patch"; + hash = "sha256-CaDBYKiABVtlM5e9ChCsf8dWOwEnMPOIXQ100JTnlnE="; + }) + ]; + build-system = [ blosc2 cython