summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-06-16 21:36:05 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-08-08 23:02:15 +0100
commitebd837c151041892064d4077c56e43469b617b2c (patch)
treead31e25fdeda5c116e97d6eaa3fc9ea6b7599486 /gnu/packages/python-science.scm
parent6936d3dc567f2897a2875482bff66aa6a83cfa1c (diff)
gnu: python-pandera: Update to 0.31.1.
* gnu/packages/python-science.scm (python-pandera): Update to 0.31.1. [arguments] <test-flags>: Disable tests for Modin, enable for Polars; simplify skipped tests. [inputs]: Remove python-modin; add python-polars. [native-inputs]: Add python-black, python-mypy-for-tests, python-pytz, python-sphinx, and tzdata-for-tests. Change-Id: Ie750a3795d87fec54386c35aec6f569c7798f55f
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm42
1 files changed, 21 insertions, 21 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index d0f36cbfb2e..7b7eaa1d6fc 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -4702,46 +4702,46 @@ idea of the remaining amount of computation to be done.")
4702(define-public python-pandera 4702(define-public python-pandera
4703 (package 4703 (package
4704 (name "python-pandera") 4704 (name "python-pandera")
4705 (version "0.27.1") 4705 (version "0.31.1")
4706 (source 4706 (source
4707 (origin 4707 (origin
4708 ;; XXX: Sanity-check fails to load when switched to git-fetch.
4708 (method url-fetch) 4709 (method url-fetch)
4709 (uri (pypi-uri "pandera" version)) 4710 (uri (pypi-uri "pandera" version))
4710 (sha256 4711 (sha256
4711 (base32 "1x5vjp1ra252ncyfsfrc7vck5snx807mpwzd0hvv0vpi9v096934")))) 4712 (base32 "04qgmcfvw78ccfnmidhy3zw1i99nyjkz3b0klsd4ypgiia3a6nn7"))))
4712 (build-system pyproject-build-system) 4713 (build-system pyproject-build-system)
4713 (arguments 4714 (arguments
4714 (list 4715 (list
4715 ;; tests: 3033 passed, 51 skipped, 11 xfailed, 8385 warnings 4716 ;; tests: 3810 passed, 22 skipped, 21 xfailed, 5923 warnings
4716 #:test-flags 4717 #:test-flags
4717 ;; With higher threads count tests randomly fail during collection. 4718 ;; With higher threads count tests randomly fail during collection.
4718 #~(list "--numprocesses" (number->string (min 4 (parallel-job-count))) 4719 #~(list "--numprocesses" (number->string (min 4 (parallel-job-count)))
4719 ;; TODO: Ignore tests for not packaged python-ibis-framework, 4720 ;; TODO: Ignore tests for not packaged python-ibis-framework,
4720 ;; python-polars, and python-pyspark. 4721 ;; and python-pyspark.
4721 "--ignore=tests/ibis" 4722 "--ignore=tests/ibis"
4722 "--ignore=tests/polars"
4723 "--ignore=tests/pyspark" 4723 "--ignore=tests/pyspark"
4724 ;; E ModuleNotFoundError: No module named 'sphinx' 4724 ;; Not compatible with Pandas 3 yet.
4725 "--ignore=tests/pandas/test_docs_setting_column_widths.py" 4725 "--ignore=tests/modin"
4726 ;; Network access is required. 4726 ;; Tests fail to connect to 127.0.0.1:52245, connection refused.
4727 "--ignore=tests/fastapi/test_app.py" 4727 "--deselect=tests/fastapi/test_app.py::test_items_endpoint"
4728 ;; TypeError: __class__ assignment: 'GeoDataFrame' object layout 4728 "--deselect=tests/fastapi/test_app.py::test_transactions_endpoint"
4729 ;; differs from 'DataFrame' 4729 "--deselect=tests/fastapi/test_app.py::test_upload_file_endpoint"
4730 "-k" (string-join 4730 ;; frictionless is not packaged yet.
4731 (list "not test_schema_model[data0-True]" 4731 "-k" "not test_frictionless_schema_")))
4732 "test_schema_from_dataframe[data1-True]"
4733 "test_schema_no_geometry"
4734 ;; The most of the tests from this group XFAIL or fail.
4735 "test_pandas_stubs_false_positives")
4736 " and not "))))
4737 (native-inputs 4732 (native-inputs
4738 (list python-joblib 4733 (list python-joblib
4734 python-black ;some tets depent on it
4735 python-mypy-for-tests
4739 python-pytest 4736 python-pytest
4740 python-pytest-asyncio 4737 python-pytest-asyncio
4741 python-pytest-xdist 4738 python-pytest-xdist
4739 python-pytz
4742 python-setuptools 4740 python-setuptools
4743 python-setuptools-scm 4741 python-setuptools-scm
4744 python-uvicorn)) 4742 python-sphinx ;some tets depent on it
4743 python-uvicorn
4744 tzdata-for-tests))
4745 (inputs 4745 (inputs
4746 ;; [optional] 4746 ;; [optional]
4747 ;; Pandera comes with a lot of extras. We test as many as possible, but do 4747 ;; Pandera comes with a lot of extras. We test as many as possible, but do
@@ -4753,10 +4753,10 @@ idea of the remaining amount of computation to be done.")
4753 python-geopandas 4753 python-geopandas
4754 python-hypothesis 4754 python-hypothesis
4755 ;; python-ibis-framework ;missing from Guix 4755 ;; python-ibis-framework ;missing from Guix
4756 python-modin 4756 ;; python-modin ;blocked by guix/guix#9336
4757 python-numpy 4757 python-numpy
4758 python-pandas 4758 python-pandas
4759 ;; python-polars ;missing from Guix 4759 python-polars
4760 ;; python-pyspark ;missing from Guix 4760 ;; python-pyspark ;missing from Guix
4761 ;; python-ray ;missing from Guix 4761 ;; python-ray ;missing from Guix
4762 python-scipy 4762 python-scipy