Archived
1
0
Fork 0

gnu: python-pingouin: Don't pin scikit-learn version.

* gnu/packages/python-science.scm (python-pingouin)[arguments]: Add phase.
This commit is contained in:
Marius Bakke 2022-09-14 20:51:59 +02:00
parent 511a1b2a2f
commit 8bd7cd34bf
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -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.