mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-28 21:20:29 +02:00
gnu: python-pingouin: Don't pin scikit-learn version.
* gnu/packages/python-science.scm (python-pingouin)[arguments]: Add phase.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user