gnu: python-modin: Update to 0.32.0.

* gnu/packages/python-science.scm (python-modin): Update to 0.32.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove phase 'make-files-writable; disable one test; update
custom 'check phase.
[propagated-inputs]: Add python-s3fs.
[native-inputs]: Add python-boto3 and python-wheel.

Change-Id: I1d74013902e3387945586192b88c1e4fd8256733
This commit is contained in:
Ricardo Wurmus 2025-01-17 22:18:05 +01:00
parent 5018dbb433
commit 260e86126b
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2879,7 +2879,7 @@ (define-public python-distributed
(define-public python-modin
(package
(name "python-modin")
(version "0.15.1")
(version "0.32.0")
(source
(origin
;; The archive on pypi does not include all required files.
@ -2890,38 +2890,40 @@ (define-public python-modin
(file-name (git-file-name name version))
(sha256
(base32
"0nf2pdqna2vn7vq7q7b51f3cfbrxfn77pyif3clibjsxzvfm9k03"))))
(build-system python-build-system)
"1vb3iffgspryb6nvwiwdnypb922vkn2yvyzc1y0wwxcb0c0fl78d"))))
(build-system pyproject-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'make-files-writable
(lambda _
(for-each make-file-writable (find-files "."))))
(list
#:test-flags
;; These four tests fail because an expected error is not raised.
'(list "-k" "not test_binary_bad_broadcast")
#: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>="))))
(("pandas==") "pandas>="))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(lambda* (#:key tests? test-flags #:allow-other-keys)
(when tests?
(setenv "MODIN_ENGINE" "dask")
(invoke "python" "-m" "pytest"
"modin/pandas/test/test_concat.py")
(apply invoke "python" "-m" "pytest"
"modin/tests/numpy" test-flags)
(setenv "MODIN_ENGINE" "python")
(invoke "python" "-m" "pytest"
"modin/pandas/test/test_concat.py")))))))
(apply invoke "python" "-m" "pytest"
"modin/tests/numpy" test-flags)))))))
(propagated-inputs
(list python-cloudpickle
python-dask
python-distributed
python-numpy
python-packaging
python-pandas))
python-pandas
python-s3fs))
(native-inputs
(list python-coverage
(list python-boto3
python-coverage
python-jinja2
python-lxml
python-matplotlib
@ -2938,7 +2940,8 @@ (define-public python-modin
python-tables
python-tqdm
python-xarray
python-xlrd))
python-xlrd
python-wheel))
(home-page "https://github.com/modin-project/modin")
(synopsis "Make your pandas code run faster")
(description