mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
d8c294e880
commit
4ea986c35c
1 changed files with 21 additions and 18 deletions
|
@ -2879,7 +2879,7 @@ computing in Python. It extends both the @code{concurrent.futures} and
|
||||||
(define-public python-modin
|
(define-public python-modin
|
||||||
(package
|
(package
|
||||||
(name "python-modin")
|
(name "python-modin")
|
||||||
(version "0.15.1")
|
(version "0.32.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
;; The archive on pypi does not include all required files.
|
;; The archive on pypi does not include all required files.
|
||||||
|
@ -2890,38 +2890,40 @@ computing in Python. It extends both the @code{concurrent.futures} and
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0nf2pdqna2vn7vq7q7b51f3cfbrxfn77pyif3clibjsxzvfm9k03"))))
|
"1vb3iffgspryb6nvwiwdnypb922vkn2yvyzc1y0wwxcb0c0fl78d"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:test-flags
|
||||||
(add-after 'unpack 'make-files-writable
|
;; These four tests fail because an expected error is not raised.
|
||||||
(lambda _
|
'(list "-k" "not test_binary_bad_broadcast")
|
||||||
(for-each make-file-writable (find-files "."))))
|
#:phases
|
||||||
|
'(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'loosen-requirements
|
(add-after 'unpack 'loosen-requirements
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "setup.py"
|
(substitute* "setup.py"
|
||||||
;; Don't depend on a specific version of Pandas.
|
;; Don't depend on a specific version of Pandas.
|
||||||
(("pandas==")
|
(("pandas==") "pandas>="))))
|
||||||
"pandas>="))))
|
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? test-flags #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
(setenv "MODIN_ENGINE" "dask")
|
(setenv "MODIN_ENGINE" "dask")
|
||||||
(invoke "python" "-m" "pytest"
|
(apply invoke "python" "-m" "pytest"
|
||||||
"modin/pandas/test/test_concat.py")
|
"modin/tests/numpy" test-flags)
|
||||||
(setenv "MODIN_ENGINE" "python")
|
(setenv "MODIN_ENGINE" "python")
|
||||||
(invoke "python" "-m" "pytest"
|
(apply invoke "python" "-m" "pytest"
|
||||||
"modin/pandas/test/test_concat.py")))))))
|
"modin/tests/numpy" test-flags)))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-cloudpickle
|
(list python-cloudpickle
|
||||||
python-dask
|
python-dask
|
||||||
python-distributed
|
python-distributed
|
||||||
python-numpy
|
python-numpy
|
||||||
python-packaging
|
python-packaging
|
||||||
python-pandas))
|
python-pandas
|
||||||
|
python-s3fs))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-coverage
|
(list python-boto3
|
||||||
|
python-coverage
|
||||||
python-jinja2
|
python-jinja2
|
||||||
python-lxml
|
python-lxml
|
||||||
python-matplotlib
|
python-matplotlib
|
||||||
|
@ -2938,7 +2940,8 @@ computing in Python. It extends both the @code{concurrent.futures} and
|
||||||
python-tables
|
python-tables
|
||||||
python-tqdm
|
python-tqdm
|
||||||
python-xarray
|
python-xarray
|
||||||
python-xlrd))
|
python-xlrd
|
||||||
|
python-wheel))
|
||||||
(home-page "https://github.com/modin-project/modin")
|
(home-page "https://github.com/modin-project/modin")
|
||||||
(synopsis "Make your pandas code run faster")
|
(synopsis "Make your pandas code run faster")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue