gnu: python-pandas: Update to 1.3.5.

* gnu/packages/python-science.scm (python-pandas): Update to 1.3.5.
[phases]{check}: Add a reference to the network accessing tests issue, now
reported upstream.  Reinstate the excelwriter tests.
[propagated-inputs]: Add python-xlsxwriter.
[native-inputs]: Remove python-nose.
This commit is contained in:
Maxim Cournoyer 2021-12-27 23:21:53 -05:00
parent b92d09cda1
commit 836daaf8f6
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -6,7 +6,7 @@
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2019, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org> ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com> ;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
@ -336,13 +336,13 @@ (define-public python-sgp4
(define-public python-pandas (define-public python-pandas
(package (package
(name "python-pandas") (name "python-pandas")
(version "1.3.4") (version "1.3.5")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "pandas" version)) (uri (pypi-uri "pandas" version))
(sha256 (sha256
(base32 "1z3gm521wpm3j13rwhlb4f2x0645zvxkgxij37i3imdpy39iiam2")))) (base32 "1wd92ra8xcjgigbypid53gvby89myg68ica6r8hdw4hhvvsqahhy"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:modules ((guix build utils) `(#:modules ((guix build utils)
@ -379,23 +379,23 @@ (define-public python-pandas
(invoke "pytest" "-vv" "pandas" "--skip-slow" (invoke "pytest" "-vv" "pandas" "--skip-slow"
"--skip-network" "--skip-network"
"-k" "-k"
;; These tets access the internet: (string-append
;; pandas/tests/io/xml/test_xml.py::test_wrong_url[lxml] ;; These test access the internet (see:
;; pandas/tests/io/xml/test_xml.py::test_wrong_url[etree] ;; https://github.com/pandas-dev/pandas/issues/45085).:
;; TODO: the excel tests fail for unknown reasons ;; pandas/tests/io/xml/test_xml.py::test_wrong_url[lxml]
(string-append "not test_wrong_url" ;; pandas/tests/io/xml/test_xml.py::test_wrong_url[etree]
" and not test_excelwriter_fspath" "not test_wrong_url"
" and not test_ExcelWriter_dispatch" ;; TODO: Missing input
;; TODO: Missing input " and not TestS3"
" and not TestS3" " and not s3"))))))))))
" and not s3"))))))))))
(propagated-inputs (propagated-inputs
(list python-jinja2 (list python-jinja2
python-numpy python-numpy
python-openpyxl python-openpyxl
python-pytz python-pytz
python-dateutil python-dateutil
python-xlrd)) python-xlrd
python-xlsxwriter))
(inputs (inputs
(list which xclip xsel)) (list which xclip xsel))
(native-inputs (native-inputs
@ -403,7 +403,6 @@ (define-public python-pandas
python-beautifulsoup4 python-beautifulsoup4
python-lxml python-lxml
python-html5lib python-html5lib
python-nose
python-pytest python-pytest
python-pytest-mock python-pytest-mock
;; Needed to test clipboard support. ;; Needed to test clipboard support.