From 241a0d2826b821027854b1bbf9a9b615d9f8363f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 25 Oct 2025 20:07:01 -0700 Subject: [PATCH] python3Packages.py-stringmatching: use unversioned numpy Python packages' dependencies may only contain unversioned attributes. --- .../development/python-modules/py-stringmatching/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/py-stringmatching/default.nix b/pkgs/development/python-modules/py-stringmatching/default.nix index 4ec1fe9cfad0..e1b4f98718d7 100644 --- a/pkgs/development/python-modules/py-stringmatching/default.nix +++ b/pkgs/development/python-modules/py-stringmatching/default.nix @@ -8,7 +8,7 @@ setuptools, # dependencies - numpy_1, + numpy, six, # tests @@ -34,7 +34,7 @@ buildPythonPackage rec { ]; dependencies = [ - numpy_1 + numpy six ]; @@ -47,6 +47,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "py_stringmatching" ]; meta = with lib; { + broken = lib.versionAtLeast numpy.version "2"; description = "Python string matching library including string tokenizers and string similarity measures"; homepage = "https://github.com/anhaidgroup/py_stringmatching"; changelog = "https://github.com/anhaidgroup/py_stringmatching/blob/v${version}/CHANGES.txt";