summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-11-16 22:04:24 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 20:23:25 +0000
commitf2fa9e8a9f88875fb0172164f394ad839f2f0d2f (patch)
tree30c21cbc2a44c73910a97da1bfdbfd2825967352 /gnu/packages/python-science.scm
parent30c420d552714a9c18f9bad4d7e8d2996c39b8e8 (diff)
gnu: python-pandas-2: Update to 2.2.3.
* gnu/packages/python-science.scm (python-pandas-2): Update to 2.2.3. [arguments]<test-flags>: Ignore move failing test which require optional dependencies. [native-inputs]: Remove python-cython-0.29.35; add python-cython-3. Change-Id: I402627132c9f0771470d89dea986c92855ae4ced
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm59
1 files changed, 37 insertions, 22 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index fe439ff1c07..b188f113aeb 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1115,7 +1115,7 @@ doing practical, real world data analysis in Python.")
1115(define-public python-pandas-2 1115(define-public python-pandas-2
1116 (package 1116 (package
1117 (name "python-pandas") 1117 (name "python-pandas")
1118 (version "2.1.1") 1118 (version "2.2.3")
1119 (source 1119 (source
1120 (origin 1120 (origin
1121 (method git-fetch) 1121 (method git-fetch)
@@ -1124,33 +1124,48 @@ doing practical, real world data analysis in Python.")
1124 (commit (string-append "v" version)))) 1124 (commit (string-append "v" version))))
1125 (file-name (git-file-name name version)) 1125 (file-name (git-file-name name version))
1126 (sha256 1126 (sha256
1127 (base32 "1v9j38bvw739csdfl98ga6fqjdm61q3p5a2l7h364kg925nbc9r1")))) 1127 (base32 "00f6jnplwg7iffnxdm4hpfls0ncbarc23933xq1rm5nk5g8dcldx"))))
1128 (build-system pyproject-build-system) 1128 (build-system pyproject-build-system)
1129 (arguments 1129 (arguments
1130 (list 1130 (list
1131 #:test-flags 1131 #:test-flags
1132 #~(list "--pyargs" "pandas" 1132 #~(list "--pyargs" "pandas"
1133 ;; "--exitfirst" 1133 ;; "--exitfirst"
1134 ;; FIXME "-n" (number->string (parallel-job-count)) 1134 "--numprocesses" (number->string (parallel-job-count))
1135 "-m" "not slow and not network and not db" 1135 "-m" "not slow and not network and not db"
1136 "-k" (string-append 1136 ;; All tests errored.
1137 "not test_git_version" 1137 "--ignore=pandas/tests/io/test_clipboard.py"
1138 " and not test_show_versions_console" 1138 "-k" (string-join
1139 ;; Not testing ~ expansion. 1139 (list
1140 " and not test_expand_user" 1140 "not test_git_version"
1141 " and not test_get_handle_with_path" 1141 "test_show_versions_console"
1142 ;; These test access the internet (see: 1142 ;; Not testing ~ expansion.
1143 ;; https://github.com/pandas-dev/pandas/issues/45085).: 1143 "test_expand_user"
1144 ;; pandas/tests/io/xml/test_xml.py::test_wrong_url[lxml] 1144 "test_get_handle_with_path"
1145 ;; pandas/tests/io/xml/test_xml.py::test_wrong_url[etree] 1145 ;; These test access the internet (see:
1146 " and not test_wrong_url" 1146 ;; https://github.com/pandas-dev/pandas/issues/45085).:
1147 ;; TODO: Missing input 1147 ;; pandas/tests/io/xml/test_xml.py::test_wrong_url[lxml]
1148 " and not TestS3" 1148 ;; pandas/tests/io/xml/test_xml.py::test_wrong_url[etree]
1149 " and not s3" 1149 "test_wrong_url"
1150 ;; This test fails when run with pytest-xdist 1150 ;; TODO: Missing input
1151 ;; (see: https://github.com/pandas-dev/pandas/issues/39096). 1151 "TestS3"
1152 " and not test_memory_usage" 1152 "s3"
1153 " and not test_parsing_tzlocal_deprecated")) 1153 ;; This test fails when run with pytest-xdist
1154 ;; (see: https://github.com/pandas-dev/pandas/issues/39096).
1155 "test_memory_usage"
1156 "test_parsing_tzlocal_deprecated"
1157 ;; PyArrow is optional.
1158 "test_style_bar_with_pyarrow_NA_values"
1159 "test_very_negative_exponent"
1160 "test_usecols_no_header_pyarrow"
1161 "test_scientific_no_exponent[pyarrow-None]"
1162 "test_inspect_getmembers"
1163 ;; SciPy introduces cycle, optional.
1164 "test_savefig"
1165 ;; It requires a fresh python-tzdata, including new
1166 ;; timezones.
1167 "test_repr")
1168 " and not "))
1154 #:phases 1169 #:phases
1155 #~(modify-phases %standard-phases 1170 #~(modify-phases %standard-phases
1156 (add-after 'unpack 'version-set-by-guix 1171 (add-after 'unpack 'version-set-by-guix
@@ -1200,7 +1215,7 @@ doing practical, real world data analysis in Python.")
1200 (native-inputs 1215 (native-inputs
1201 (list meson-python 1216 (list meson-python
1202 python-beautifulsoup4 1217 python-beautifulsoup4
1203 python-cython-0.29.35 1218 python-cython-3
1204 python-html5lib 1219 python-html5lib
1205 python-lxml 1220 python-lxml
1206 python-matplotlib 1221 python-matplotlib