From 8bd7cd34bf63851d26d3205ccb98d0adbf5d51e5 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 14 Sep 2022 20:51:59 +0200 Subject: gnu: python-pingouin: Don't pin scikit-learn version. * gnu/packages/python-science.scm (python-pingouin)[arguments]: Add phase. --- gnu/packages/python-science.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index e2a0fb3a95..9a75bf3089 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -851,6 +851,13 @@ of Pandas (arguments `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'loosen-requirements + (lambda _ + (substitute* '("requirements.txt" "setup.py") + ;; Remove sklearn pinning since it works fine with 1.1.2: + ;; https://github.com/raphaelvallat/pingouin/pull/300 + (("scikit-learn<1\\.1\\.0") + "scikit-learn")))) ;; On loading, Pingouin uses the outdated package to check if a newer ;; version is available on PyPI. This check adds an extra dependency ;; and is irrelevant to Guix users. So, disable it. -- cgit 1.4.1