From c69bccb9b7f7ba7682eceb1ad8ab76d76324d43b Mon Sep 17 00:00:00 2001 From: Tobias Mayer Date: Tue, 17 Dec 2024 09:01:11 +0100 Subject: [PATCH] python3Packages.gensim: pin numpy to v1 --- pkgs/development/python-modules/gensim/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/gensim/default.nix b/pkgs/development/python-modules/gensim/default.nix index df33dd58b5de9..5d63fc7bbe345 100644 --- a/pkgs/development/python-modules/gensim/default.nix +++ b/pkgs/development/python-modules/gensim/default.nix @@ -6,7 +6,7 @@ setuptools, fetchFromGitHub, mock, - numpy, + numpy_1, scipy, smart-open, pyemd, @@ -34,13 +34,13 @@ buildPythonPackage rec { build-system = [ cython - oldest-supported-numpy + (oldest-supported-numpy.override { numpy = numpy_1; }) setuptools ]; dependencies = [ smart-open - numpy + numpy_1 scipy ]; @@ -50,9 +50,7 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonRelaxDeps = [ - "scipy" - ]; + pythonRelaxDeps = [ "scipy" ]; pythonImportsCheck = [ "gensim" ];