[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/12: gnu: Add python-modin.
From: |
guix-commits |
Subject: |
12/12: gnu: Add python-modin. |
Date: |
Wed, 28 Jul 2021 14:32:29 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 042b6971d73b6bef8b9e81ac5b9e136ea997edfd
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jul 28 20:29:21 2021 +0200
gnu: Add python-modin.
* gnu/packages/python-science.scm (python-modin): New variable.
---
gnu/packages/python-science.scm | 65 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 3aa3edc..738b504 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -916,3 +916,68 @@ computing in Python. It extends both the
@code{concurrent.futures} and
@code{dask} APIs to moderate sized clusters.")
(license license:bsd-3)))
+(define-public python-modin
+ (package
+ (name "python-modin")
+ (version "0.10.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
+ "128ghfb9ncmnn8km409xjcdppvn9nr9jqw8rkvsfavh7wnwlk509"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'make-files-writable
+ (lambda _
+ (for-each make-file-writable (find-files "."))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (setenv "MODIN_ENGINE" "dask")
+ (invoke "python" "-m" "pytest"
+ "modin/pandas/test/test_concat.py")
+ (setenv "MODIN_ENGINE" "python")
+ (invoke "python" "-m" "pytest"
+ "modin/pandas/test/test_concat.py")))))))
+ (propagated-inputs
+ `(("python-cloudpickle" ,python-cloudpickle)
+ ("python-dask" ,python-dask)
+ ("python-distributed" ,python-distributed)
+ ("python-numpy" ,python-numpy)
+ ("python-packaging" ,python-packaging)
+ ("python-pandas" ,python-pandas)))
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-jinja2" ,python-jinja2)
+ ("python-lxml" ,python-lxml)
+ ("python-matplotlib" ,python-matplotlib)
+ ("python-msgpack" ,python-msgpack)
+ ("python-openpyxl" ,python-openpyxl)
+ ("python-psutil" ,python-psutil)
+ ("python-pyarrow" ,python-pyarrow)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-benchmark" ,python-pytest-benchmark)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-pytest-xdist" ,python-pytest-xdist)
+ ("python-scipy" ,python-scipy)
+ ("python-sqlalchemy" ,python-sqlalchemy)
+ ("python-tables" ,python-tables)
+ ("python-tqdm" ,python-tqdm)
+ ("python-xarray" ,python-xarray)
+ ("python-xlrd" ,python-xlrd)))
+ (home-page "https://github.com/modin-project/modin")
+ (synopsis "Make your pandas code run faster")
+ (description
+ "Modin uses Ray or Dask to provide an effortless way to speed up your
+pandas notebooks, scripts, and libraries. Unlike other distributed DataFrame
+libraries, Modin provides seamless integration and compatibility with existing
+pandas code.")
+ (license license:asl2.0)))
- branch master updated (c20c9e1 -> 042b697), guix-commits, 2021/07/28
- 03/12: gnu: python-cloudpickle: Update to 1.6.0., guix-commits, 2021/07/28
- 09/12: gnu: Add python-heapdict., guix-commits, 2021/07/28
- 08/12: gnu: python-pyarrow: Fix parquet support., guix-commits, 2021/07/28
- 05/12: gnu: python-partd: Update to 1.2.0., guix-commits, 2021/07/28
- 07/12: gnu: python-pandas: Update to 1.3.0., guix-commits, 2021/07/28
- 01/12: gnu: cmake: Update to 3.21.1., guix-commits, 2021/07/28
- 12/12: gnu: Add python-modin.,
guix-commits <=
- 11/12: gnu: Add python-distributed., guix-commits, 2021/07/28
- 02/12: gnu: python2-cloudpickle: Override version, source, and native-inputs., guix-commits, 2021/07/28
- 06/12: gnu: python-dask: Update to 2021.7.1., guix-commits, 2021/07/28
- 04/12: gnu: python-numexpr: Update to 2.7.3., guix-commits, 2021/07/28
- 10/12: gnu: Add python-zict., guix-commits, 2021/07/28