88/130: gnu: python-modin: Update to 0.37.1.

2025-12-27 Thread guix-commits
guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit aae6e8f1717dbdabd08af61e50d0f07c313c48c9
Author: Sharlatan Hellseher 
AuthorDate: Sun Dec 14 20:46:12 2025 +

gnu: python-modin: Update to 0.37.1.

* gnu/packages/python-science.scm (python-modin): Update to 0.37.1.
[arguments] : Rework options.
: Remove 'loosen-requirements; add 'versioneer, and
'fix-pytest-config; rework {check} phase to include some API tests
scenarios.
[propagated-inputs]: Remove python-cloudpickle and python-s3fs; add
python-fsspec, python-psutil, and python-typing-extensions.
[native-inputs]: Remove python-jinja2, python-lxml, python-matplotlib,
python-msgpack, python-openpyxl, python-psutil, python-pyarrow,
python-pytest-benchmark, python-pytest-cov, python-scipy,
python-sqlalchemy, python-tables, python-tqdm, python-xarray,
python-xlrd, and python-wheel; add python-s3fs, python-setuptools, and
python-versioneer.

Change-Id: I86feaa9f1cd110ed2c430e9816d34da165bccb74
---
 gnu/packages/python-science.scm | 102 +++-
 1 file changed, 58 insertions(+), 44 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index b78956a721..71d0545c06 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1607,69 +1607,83 @@ spheres, cubes, etc.")
 (define-public python-modin
   (package
 (name "python-modin")
-(version "0.32.0")
+(version "0.37.1")
 (source
  (origin
-   ;; The archive on pypi does not include all required files.
(method git-fetch)
(uri (git-reference
  (url "https://github.com/modin-project/modin";)
  (commit version)))
(file-name (git-file-name name version))
(sha256
-(base32
- "1vb3iffgspryb6nvwiwdnypb922vkn2yvyzc1y0wwxcb0c0fl78d"
+(base32 "1kqdx3b7sb3895ynypb6swf2jly26xvdghqqrm9ahqps16cn9dx9"
 (build-system pyproject-build-system)
 (arguments
  (list
+  ;; tests:
+  ;; - api: 5 passed 
+  ;; - dask: 269 passed, 2 skipped, 93 xfailed, 191 warnings
+  ;; - python: 269 passed, 2 skipped, 93 xfailed, 197 warnings
   #:test-flags
   #~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
-  ;; These four tests fail because an expected error is not raised.
-  "-k" "not test_binary_bad_broadcast")
+  ;; AssertionError: assert 'array <...>
+  "-k" (string-join
+(list "not test_repr[100]"
+  "test_repr[size1]"
+  "test_repr[size2]"
+  "test_repr[size3]"
+  "test_repr[size4]"
+  "test_repr[size5]"
+  "test_repr[size6]"
+  "test_repr[size7]"
+  "test_repr[size8]"
+  "test_repr[size9]")
+" and not ")
+  "modin/tests/numpy")
   #:phases
-  '(modify-phases %standard-phases
- (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? test-flags #:allow-other-keys)
- (when tests?
-   (setenv "MODIN_ENGINE" "dask")
-   (apply invoke "python" "-m" "pytest"
-  "modin/tests/numpy" test-flags)
-   (setenv "MODIN_ENGINE" "python")
-   (apply invoke "python" "-m" "pytest"
-  "modin/tests/numpy" test-flags)))
+  #~(modify-phases %standard-phases
+  (add-after 'unpack 'versioneer
+(lambda _
+  (invoke "versioneer" "install")
+  (substitute* "setup.py"
+(("version=versioneer.get_version\\(),")
+ (string-append "version='" #$version "',")
+  (add-after 'unpack 'fix-pytest-config
+(lambda _
+  (substitute* "setup.cfg"
+((" --cov-.*--cov-report=") ""
+  (replace 'check
+(lambda* (#:key tests? test-flags #:allow-other-keys)
+  (when tests?
+;; API basic tests
+(invoke "pytest" "-vv"
+"modin/tests/test_executions_api.py"
+"modin/tests/test_headers.py"
+"modin/tests/core/test_dispatcher.py::test_add_option")
+;; More complex engine tests, the complete set up requires
+;; database access and AWS credentials, see:
+;; <.github/workflows/ci.yml >.
+(setenv "MODIN_ENGINE" "dask")
+(apply invoke  "pytest" "-vv"  test-fla

88/130: gnu: python-modin: Update to 0.37.1.

2025-12-17 Thread guix-commits
guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit acd11a21116173e063472ff01a955a26b3963d36
Author: Sharlatan Hellseher 
AuthorDate: Sun Dec 14 20:46:12 2025 +

gnu: python-modin: Update to 0.37.1.

* gnu/packages/python-science.scm (python-modin): Update to 0.37.1.
[arguments] : Rework options.
: Remove 'loosen-requirements; add 'versioneer, and
'fix-pytest-config; rework {check} phase to include some API tests
scenarios.
[propagated-inputs]: Remove python-cloudpickle and python-s3fs; add
python-fsspec, python-psutil, and python-typing-extensions.
[native-inputs]: Remove python-jinja2, python-lxml, python-matplotlib,
python-msgpack, python-openpyxl, python-psutil, python-pyarrow,
python-pytest-benchmark, python-pytest-cov, python-scipy,
python-sqlalchemy, python-tables, python-tqdm, python-xarray,
python-xlrd, and python-wheel; add python-s3fs, python-setuptools, and
python-versioneer.

Change-Id: I86feaa9f1cd110ed2c430e9816d34da165bccb74
---
 gnu/packages/python-science.scm | 102 +++-
 1 file changed, 58 insertions(+), 44 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 955fa49d28..f7027da13e 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1607,69 +1607,83 @@ spheres, cubes, etc.")
 (define-public python-modin
   (package
 (name "python-modin")
-(version "0.32.0")
+(version "0.37.1")
 (source
  (origin
-   ;; The archive on pypi does not include all required files.
(method git-fetch)
(uri (git-reference
  (url "https://github.com/modin-project/modin";)
  (commit version)))
(file-name (git-file-name name version))
(sha256
-(base32
- "1vb3iffgspryb6nvwiwdnypb922vkn2yvyzc1y0wwxcb0c0fl78d"
+(base32 "1kqdx3b7sb3895ynypb6swf2jly26xvdghqqrm9ahqps16cn9dx9"
 (build-system pyproject-build-system)
 (arguments
  (list
+  ;; tests:
+  ;; - api: 5 passed 
+  ;; - dask: 269 passed, 2 skipped, 93 xfailed, 191 warnings
+  ;; - python: 269 passed, 2 skipped, 93 xfailed, 197 warnings
   #:test-flags
   #~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
-  ;; These four tests fail because an expected error is not raised.
-  "-k" "not test_binary_bad_broadcast")
+  ;; AssertionError: assert 'array <...>
+  "-k" (string-join
+(list "not test_repr[100]"
+  "test_repr[size1]"
+  "test_repr[size2]"
+  "test_repr[size3]"
+  "test_repr[size4]"
+  "test_repr[size5]"
+  "test_repr[size6]"
+  "test_repr[size7]"
+  "test_repr[size8]"
+  "test_repr[size9]")
+" and not ")
+  "modin/tests/numpy")
   #:phases
-  '(modify-phases %standard-phases
- (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? test-flags #:allow-other-keys)
- (when tests?
-   (setenv "MODIN_ENGINE" "dask")
-   (apply invoke "python" "-m" "pytest"
-  "modin/tests/numpy" test-flags)
-   (setenv "MODIN_ENGINE" "python")
-   (apply invoke "python" "-m" "pytest"
-  "modin/tests/numpy" test-flags)))
+  #~(modify-phases %standard-phases
+  (add-after 'unpack 'versioneer
+(lambda _
+  (invoke "versioneer" "install")
+  (substitute* "setup.py"
+(("version=versioneer.get_version\\(),")
+ (string-append "version='" #$version "',")
+  (add-after 'unpack 'fix-pytest-config
+(lambda _
+  (substitute* "setup.cfg"
+((" --cov-.*--cov-report=") ""
+  (replace 'check
+(lambda* (#:key tests? test-flags #:allow-other-keys)
+  (when tests?
+;; API basic tests
+(invoke "pytest" "-vv"
+"modin/tests/test_executions_api.py"
+"modin/tests/test_headers.py"
+"modin/tests/core/test_dispatcher.py::test_add_option")
+;; More complex engine tests, the complete set up requires
+;; database access and AWS credentials, see:
+;; <.github/workflows/ci.yml >.
+(setenv "MODIN_ENGINE" "dask")
+(apply invoke  "pytest" "-vv"  test-fla

88/130: gnu: python-modin: Update to 0.37.1.

2025-12-16 Thread guix-commits
guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit b211fa0eb7910027158e0865f3d5f8ef331d1de5
Author: Sharlatan Hellseher 
AuthorDate: Sun Dec 14 20:46:12 2025 +

gnu: python-modin: Update to 0.37.1.

* gnu/packages/python-science.scm (python-modin): Update to 0.37.1.
[arguments] : Rework options.
: Remove 'loosen-requirements; add 'versioneer, and
'fix-pytest-config; rework {check} phase to include some API tests
scenarios.
[propagated-inputs]: Remove python-cloudpickle and python-s3fs; add
python-fsspec, python-psutil, and python-typing-extensions.
[native-inputs]: Remove python-jinja2, python-lxml, python-matplotlib,
python-msgpack, python-openpyxl, python-psutil, python-pyarrow,
python-pytest-benchmark, python-pytest-cov, python-scipy,
python-sqlalchemy, python-tables, python-tqdm, python-xarray,
python-xlrd, and python-wheel; add python-s3fs, python-setuptools, and
python-versioneer.

Change-Id: I86feaa9f1cd110ed2c430e9816d34da165bccb74
---
 gnu/packages/python-science.scm | 102 +++-
 1 file changed, 58 insertions(+), 44 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index ef003135cf..4316f213e8 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1607,69 +1607,83 @@ spheres, cubes, etc.")
 (define-public python-modin
   (package
 (name "python-modin")
-(version "0.32.0")
+(version "0.37.1")
 (source
  (origin
-   ;; The archive on pypi does not include all required files.
(method git-fetch)
(uri (git-reference
  (url "https://github.com/modin-project/modin";)
  (commit version)))
(file-name (git-file-name name version))
(sha256
-(base32
- "1vb3iffgspryb6nvwiwdnypb922vkn2yvyzc1y0wwxcb0c0fl78d"
+(base32 "1kqdx3b7sb3895ynypb6swf2jly26xvdghqqrm9ahqps16cn9dx9"
 (build-system pyproject-build-system)
 (arguments
  (list
+  ;; tests:
+  ;; - api: 5 passed 
+  ;; - dask: 269 passed, 2 skipped, 93 xfailed, 191 warnings
+  ;; - python: 269 passed, 2 skipped, 93 xfailed, 197 warnings
   #:test-flags
   #~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
-  ;; These four tests fail because an expected error is not raised.
-  "-k" "not test_binary_bad_broadcast")
+  ;; AssertionError: assert 'array <...>
+  "-k" (string-join
+(list "not test_repr[100]"
+  "test_repr[size1]"
+  "test_repr[size2]"
+  "test_repr[size3]"
+  "test_repr[size4]"
+  "test_repr[size5]"
+  "test_repr[size6]"
+  "test_repr[size7]"
+  "test_repr[size8]"
+  "test_repr[size9]")
+" and not ")
+  "modin/tests/numpy")
   #:phases
-  '(modify-phases %standard-phases
- (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? test-flags #:allow-other-keys)
- (when tests?
-   (setenv "MODIN_ENGINE" "dask")
-   (apply invoke "python" "-m" "pytest"
-  "modin/tests/numpy" test-flags)
-   (setenv "MODIN_ENGINE" "python")
-   (apply invoke "python" "-m" "pytest"
-  "modin/tests/numpy" test-flags)))
+  #~(modify-phases %standard-phases
+  (add-after 'unpack 'versioneer
+(lambda _
+  (invoke "versioneer" "install")
+  (substitute* "setup.py"
+(("version=versioneer.get_version\\(),")
+ (string-append "version='" #$version "',")
+  (add-after 'unpack 'fix-pytest-config
+(lambda _
+  (substitute* "setup.cfg"
+((" --cov-.*--cov-report=") ""
+  (replace 'check
+(lambda* (#:key tests? test-flags #:allow-other-keys)
+  (when tests?
+;; API basic tests
+(invoke "pytest" "-vv"
+"modin/tests/test_executions_api.py"
+"modin/tests/test_headers.py"
+"modin/tests/core/test_dispatcher.py::test_add_option")
+;; More complex engine tests, the complete set up requires
+;; database access and AWS credentials, see:
+;; <.github/workflows/ci.yml >.
+(setenv "MODIN_ENGINE" "dask")
+(apply invoke  "pytest" "-vv"  test-fla