diff options
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r-- | gnu/packages/python-science.scm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index aa4d5736a7..1cfc8e5869 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com> ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com> ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> -;;; Copyright © 2016, 2017, 2018, 2019, 2020 Marius Bakke <mbakke@fastmail.com> +;;; Copyright © 2016-2020, 2022 Marius Bakke <marius@gnu.org> ;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2019, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org> @@ -239,13 +239,7 @@ Cython.") (sha256 (base32 "0bp1n771fj44kdp7a00bcvfwirvv2rc803b7g6yf3va7v0j29c8s")))) (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "nosetests" "-s" "-v" "skfuzzy") - #t))))) + (arguments '(#:tests? #f)) ;XXX: not compatible with newer numpy.testing (native-inputs (list python-nose)) (propagated-inputs @@ -992,6 +986,12 @@ computing in Python. It extends both the @code{concurrent.futures} and (add-after 'unpack 'make-files-writable (lambda _ (for-each make-file-writable (find-files ".")))) + (add-after 'unpack 'loosen-requirements + (lambda _ + (substitute* "setup.py" + ;; Don't depend on a specific version of Pandas. + (("pandas==") + "pandas>=")))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? |