diff options
-rw-r--r-- | gnu/packages/python-science.scm | 7 |
1 files changed, 7 insertions, 0 deletions
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. |