[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
345/361: gnu: python-pandas-2: Update to 2.2.3.
From: |
guix-commits |
Subject: |
345/361: gnu: python-pandas-2: Update to 2.2.3. |
Date: |
Thu, 21 Nov 2024 06:29:48 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit d843900349253478ee297bbdd1ac162b0a8be8e3
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Nov 16 22:04:24 2024 +0000
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
---
gnu/packages/python-science.scm | 59 ++++++++++++++++++++++++++---------------
1 file changed, 37 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index e09668ebac..ac4339bece 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1067,7 +1067,7 @@ doing practical, real world data analysis in Python.")
(define-public python-pandas-2
(package
(name "python-pandas")
- (version "2.1.1")
+ (version "2.2.3")
(source
(origin
(method git-fetch)
@@ -1076,33 +1076,48 @@ doing practical, real world data analysis in Python.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1v9j38bvw739csdfl98ga6fqjdm61q3p5a2l7h364kg925nbc9r1"))))
+ (base32 "00f6jnplwg7iffnxdm4hpfls0ncbarc23933xq1rm5nk5g8dcldx"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
#~(list "--pyargs" "pandas"
;; "--exitfirst"
- ;; FIXME "-n" (number->string (parallel-job-count))
+ "--numprocesses" (number->string (parallel-job-count))
"-m" "not slow and not network and not db"
- "-k" (string-append
- "not test_git_version"
- " and not test_show_versions_console"
- ;; Not testing ~ expansion.
- " and not test_expand_user"
- " and not test_get_handle_with_path"
- ;; These test access the internet (see:
- ;; https://github.com/pandas-dev/pandas/issues/45085).:
- ;; pandas/tests/io/xml/test_xml.py::test_wrong_url[lxml]
- ;; pandas/tests/io/xml/test_xml.py::test_wrong_url[etree]
- " and not test_wrong_url"
- ;; TODO: Missing input
- " and not TestS3"
- " and not s3"
- ;; This test fails when run with pytest-xdist
- ;; (see:
https://github.com/pandas-dev/pandas/issues/39096).
- " and not test_memory_usage"
- " and not test_parsing_tzlocal_deprecated"))
+ ;; All tests errored.
+ "--ignore=pandas/tests/io/test_clipboard.py"
+ "-k" (string-join
+ (list
+ "not test_git_version"
+ "test_show_versions_console"
+ ;; Not testing ~ expansion.
+ "test_expand_user"
+ "test_get_handle_with_path"
+ ;; These test access the internet (see:
+ ;; https://github.com/pandas-dev/pandas/issues/45085).:
+ ;; pandas/tests/io/xml/test_xml.py::test_wrong_url[lxml]
+ ;; pandas/tests/io/xml/test_xml.py::test_wrong_url[etree]
+ "test_wrong_url"
+ ;; TODO: Missing input
+ "TestS3"
+ "s3"
+ ;; This test fails when run with pytest-xdist
+ ;; (see:
https://github.com/pandas-dev/pandas/issues/39096).
+ "test_memory_usage"
+ "test_parsing_tzlocal_deprecated"
+ ;; PyArrow is optional.
+ "test_style_bar_with_pyarrow_NA_values"
+ "test_very_negative_exponent"
+ "test_usecols_no_header_pyarrow"
+ "test_scientific_no_exponent[pyarrow-None]"
+ "test_inspect_getmembers"
+ ;; SciPy introduces cycle, optional.
+ "test_savefig"
+ ;; It requires a fresh python-tzdata, including new
+ ;; timezones.
+ "test_repr")
+ " and not "))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'version-set-by-guix
@@ -1152,7 +1167,7 @@ doing practical, real world data analysis in Python.")
(native-inputs
(list meson-python
python-beautifulsoup4
- python-cython-0.29.35
+ python-cython-3
python-html5lib
python-lxml
python-matplotlib
- 273/361: gnu: python-scikit-fem: Update to 10.0.2., (continued)
- 273/361: gnu: python-scikit-fem: Update to 10.0.2., guix-commits, 2024/11/21
- 270/361: gnu: python-pytest-shutil: Update to 1.8.0., guix-commits, 2024/11/21
- 271/361: gnu: python-pytest-virtualenv: Update to 1.8.0., guix-commits, 2024/11/21
- 275/361: gnu: python-orthopy: Adjust inputs., guix-commits, 2024/11/21
- 280/361: gnu: Remove beets-next., guix-commits, 2024/11/21
- 282/361: gnu: python-mutagen: Update to 1.47.0., guix-commits, 2024/11/21
- 283/361: gnu: python-mediafile: Update to 0.13.0., guix-commits, 2024/11/21
- 290/361: gnu: python-mpv: Adjust inputs., guix-commits, 2024/11/21
- 292/361: gnu: Add python-rich-tables., guix-commits, 2024/11/21
- 309/361: gnu: python-filelock: Update to 3.16.1., guix-commits, 2024/11/21
- 345/361: gnu: python-pandas-2: Update to 2.2.3.,
guix-commits <=
- 319/361: gnu: python-jedi: Update to 0.19.2., guix-commits, 2024/11/21
- 337/361: gnu: python-versioneer: Simplify tests., guix-commits, 2024/11/21
- 340/361: gnu: python-werkzeug: Update to 3.1.3., guix-commits, 2024/11/21
- 322/361: gnu: python-execnet: Update to 2.1.1., guix-commits, 2024/11/21
- 323/361: gnu: python-flaky: Update to 3.8.1., guix-commits, 2024/11/21
- 335/361: gnu: python-numpy: Update to 1.24.4., guix-commits, 2024/11/21
- 338/361: gnu: python-watchdog: Update to 6.0.0., guix-commits, 2024/11/21
- 336/361: gnu: python-isort: Update to 5.13.2., guix-commits, 2024/11/21
- 348/361: gnu: python-itsdangerous: Update to 2.2.0., guix-commits, 2024/11/21
- 361/361: gnu: python-pydantic: Update to 1.10.19., guix-commits, 2024/11/21