* [bug#38652] [PATCH 2/5] gnu: python-multiprocess: Update to 0.70.9.
2019-12-17 17:24 ` [bug#38652] [PATCH 1/5] gnu: python-dill: Update to 0.3.1.1 Mădălin Ionel Patrașcu
@ 2019-12-17 17:24 ` Mădălin Ionel Patrașcu
2019-12-17 17:24 ` [bug#38652] [PATCH 3/5] gnu: Add python-ppft Mădălin Ionel Patrașcu
` (2 subsequent siblings)
3 siblings, 0 replies; 10+ messages in thread
From: Mădălin Ionel Patrașcu @ 2019-12-17 17:24 UTC (permalink / raw)
To: 38652; +Cc: Mădălin Ionel Patrașcu
* gnu/packages/python-xyz.scm (python-multiprocess): Update to 0.70.9.
---
gnu/packages/python-xyz.scm | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9075dfeb49..acc030fb9b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15685,18 +15685,28 @@ the saved state of the original interpreter session.")
(define-public python-multiprocess
(package
(name "python-multiprocess")
- (version "0.70.6.1")
+ (version "0.70.9")
(source
(origin
(method url-fetch)
(uri (pypi-uri "multiprocess" version))
(sha256
(base32
- "1ip5caz67b3q0553mr8gm8xwsb8x500jn8ml0gihgyfy52m2ypcq"))))
+ "1r882nvd44xqwbrclwqx5rhs80l6809rcvpc7pkpgnij06cvvmcz"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (with-directory-excursion "/tmp"
+ (invoke "nosetests" "-v"))
+ #t)))))
+ (native-inputs
+ `(("python-nose" ,python-nose)))
(propagated-inputs
`(("python-dill" ,python-dill)))
- (home-page "https://pypi.org/project/multiprocess")
+ (home-page "https://pypi.org/project/multiprocess/")
(synopsis "Multiprocessing and multithreading in Python")
(description
"This package is a fork of the multiprocessing Python package, a package
--
2.24.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#38652] [PATCH 3/5] gnu: Add python-ppft.
2019-12-17 17:24 ` [bug#38652] [PATCH 1/5] gnu: python-dill: Update to 0.3.1.1 Mădălin Ionel Patrașcu
2019-12-17 17:24 ` [bug#38652] [PATCH 2/5] gnu: python-multiprocess: Update to 0.70.9 Mădălin Ionel Patrașcu
@ 2019-12-17 17:24 ` Mădălin Ionel Patrașcu
2019-12-18 16:28 ` Ricardo Wurmus
2019-12-17 17:24 ` [bug#38652] [PATCH 4/5] gnu: Add python-pox Mădălin Ionel Patrașcu
2019-12-17 17:24 ` [bug#38652] [PATCH 5/5] gnu: Add python-pathos Mădălin Ionel Patrașcu
3 siblings, 1 reply; 10+ messages in thread
From: Mădălin Ionel Patrașcu @ 2019-12-17 17:24 UTC (permalink / raw)
To: 38652; +Cc: Ricardo Wurmus, Mădălin Ionel Patrașcu
* gnu/packages/python-xyz.scm (python-ppft): New variable.
Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
---
gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index acc030fb9b..f5b2ff16e7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16899,3 +16899,38 @@ always possible to declare a command with the highest possible (and least
flexible) layer and then tune the behaviour with any of the lower layers
including the native API of @code{python-argparse}.")
(license license:lgpl3+))))
+
+(define-public python-ppft
+ (package
+ (name "python-ppft")
+ (version "1.6.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ppft" version))
+ (sha256
+ (base32
+ "1z1invkhszc5d2mvgr221v7cszzifcc77mz0pv3wjp6x5q2768cy"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (with-directory-excursion "/tmp"
+ (invoke "nosetests" "-v"))
+ #t)))))
+ (native-inputs
+ `(("python-nose" ,python-nose)))
+ (propagated-inputs
+ `(("python-six" ,python-six)))
+ (home-page "https://pypi.org/project/ppft/")
+ (synopsis "Fork of Parallel Python")
+ (description
+ "This package phython-ppft is a fork of Parallel Python, and is developed
+as part of python-pathos. Parallel Python module (pp) provides an easy and
+efficient way to create parallel-enabled applications for SMP (symmetric
+multiprocessing) computers and clusters. pp module features cross-platform
+portability and dynamic load balancing.")
+ ;; looks like bsd-3 https://github.com/uqfoundation/ppft/blob/master/LICENSE
+ (license license:bsd-3)))
--
2.24.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#38652] [PATCH 4/5] gnu: Add python-pox.
2019-12-17 17:24 ` [bug#38652] [PATCH 1/5] gnu: python-dill: Update to 0.3.1.1 Mădălin Ionel Patrașcu
2019-12-17 17:24 ` [bug#38652] [PATCH 2/5] gnu: python-multiprocess: Update to 0.70.9 Mădălin Ionel Patrașcu
2019-12-17 17:24 ` [bug#38652] [PATCH 3/5] gnu: Add python-ppft Mădălin Ionel Patrașcu
@ 2019-12-17 17:24 ` Mădălin Ionel Patrașcu
2019-12-17 17:24 ` [bug#38652] [PATCH 5/5] gnu: Add python-pathos Mădălin Ionel Patrașcu
3 siblings, 0 replies; 10+ messages in thread
From: Mădălin Ionel Patrașcu @ 2019-12-17 17:24 UTC (permalink / raw)
To: 38652; +Cc: Mădălin Ionel Patrașcu
* gnu/packages/python-xyz.scm (python-pox): New variable.
---
gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f5b2ff16e7..2287903d0b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16934,3 +16934,27 @@ multiprocessing) computers and clusters. pp module features cross-platform
portability and dynamic load balancing.")
;; looks like bsd-3 https://github.com/uqfoundation/ppft/blob/master/LICENSE
(license license:bsd-3)))
+
+(define-public python-pox
+ (package
+ (name "python-pox")
+ (version "0.2.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pox" version))
+ (sha256
+ (base32
+ "0y17ckc2p6i6709s279sjdj4q459mpcc38ymg9zv9y6vl6jf3bq6"))))
+ (build-system python-build-system)
+ (home-page "https://pypi.org/project/pox/")
+ (synopsis "Python utilities for filesystem exploration and automated builds")
+ (description
+ "Python-pox provides a collection of utilities for navigating and
+manipulating filesystems. This module is designed to facilitate some of the
+low level operating system interactions that are useful when exploring a
+filesystem on a remote host. Python-pox provides python equivalents of several
+unix shell commands such as which and find. These commands allow automated
+discovery of what has been installed on an operating system, and where the
+essential tools are located.")
+ (license license:bsd-3)))
--
2.24.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#38652] [PATCH 5/5] gnu: Add python-pathos.
2019-12-17 17:24 ` [bug#38652] [PATCH 1/5] gnu: python-dill: Update to 0.3.1.1 Mădălin Ionel Patrașcu
` (2 preceding siblings ...)
2019-12-17 17:24 ` [bug#38652] [PATCH 4/5] gnu: Add python-pox Mădălin Ionel Patrașcu
@ 2019-12-17 17:24 ` Mădălin Ionel Patrașcu
2019-12-18 23:00 ` Ricardo Wurmus
` (2 more replies)
3 siblings, 3 replies; 10+ messages in thread
From: Mădălin Ionel Patrașcu @ 2019-12-17 17:24 UTC (permalink / raw)
To: 38652; +Cc: Mădălin Ionel Patrașcu
* gnu/packages/python-xyz.scm (python-pathos, python2-pathos): New variables.
---
gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2287903d0b..edaefe7575 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16958,3 +16958,34 @@ unix shell commands such as which and find. These commands allow automated
discovery of what has been installed on an operating system, and where the
essential tools are located.")
(license license:bsd-3)))
+
+(define-public python-pathos
+ (package
+ (name "python-pathos")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pathos" version))
+ (sha256
+ (base32
+ "0in8hxdz7k081ijn6q94gr39ycy7363sx4zysmbwyvd7snqjrbi1"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-dill" ,python-dill)
+ ("python-multiprocess" ,python-multiprocess)
+ ("python-pox" ,python-pox)
+ ("python-ppft" ,python-ppft)))
+ (home-page "https://pypi.org/project/pathos/")
+ (synopsis
+ "Parallel graph management and execution in heterogeneous computing")
+ (description
+ "Python-pathos is a framework for heterogenous computing. It provides a
+consistent high-level interface for configuring and launching parallel
+computations across heterogenous resources. Python-pathos provides configurable
+launchers for parallel and distributed computing, where each launcher contains
+the syntactic logic to configure and launch jobs in an execution environment.")
+ (license license:bsd-3)))
+
+(define-public python2-pathos
+ (package-with-python2 python-pathos))
--
2.24.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#38652] [PATCH 5/5] gnu: Add python-pathos.
2019-12-17 17:24 ` [bug#38652] [PATCH 5/5] gnu: Add python-pathos Mădălin Ionel Patrașcu
@ 2019-12-18 23:00 ` Ricardo Wurmus
2019-12-19 7:31 ` Efraim Flashner
2019-12-26 7:40 ` bug#38652: " Efraim Flashner
2 siblings, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2019-12-18 23:00 UTC (permalink / raw)
To: Mădălin Ionel Patrașcu; +Cc: 38652
Hi Mădălin,
> * gnu/packages/python-xyz.scm (python-pathos, python2-pathos): New variables.
I can’t seem to get the tests to run. I tried this:
--8<---------------cut here---------------start------------->8---
(define-public python-pathos
(package
(name "python-pathos")
(version "0.2.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pathos" version))
(sha256
(base32
"0in8hxdz7k081ijn6q94gr39ycy7363sx4zysmbwyvd7snqjrbi1"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "py.test" "-vvv" "tests")
#t)))))
(propagated-inputs
`(("python-dill" ,python-dill)
("python-multiprocess" ,python-multiprocess)
("python-pox" ,python-pox)
("python-ppft" ,python-ppft)))
(native-inputs
`(("python-pytest" ,python-pytest)))
(home-page "https://pypi.org/project/pathos/")
(synopsis "Parallel graph management and execution in heterogeneous computing")
(description
"Pathos is a framework for heterogenous computing. It provides a
consistent high-level interface for configuring and launching parallel
computations across heterogenous resources. Pathos provides configurable
launchers for parallel and distributed computing, where each launcher contains
the syntactic logic to configure and launch jobs in an execution
environment.")
(license license:bsd-3)))
--8<---------------cut here---------------end--------------->8---
…but after collecting 15 tests it just hangs, doing nothing.
> +(define-public python2-pathos
> + (package-with-python2 python-pathos))
If you define a Python 2 variant you should also define Python 2
variants for all its inputs.
--
Ricardo
^ permalink raw reply [flat|nested] 10+ messages in thread
* [bug#38652] [PATCH 5/5] gnu: Add python-pathos.
2019-12-17 17:24 ` [bug#38652] [PATCH 5/5] gnu: Add python-pathos Mădălin Ionel Patrașcu
2019-12-18 23:00 ` Ricardo Wurmus
@ 2019-12-19 7:31 ` Efraim Flashner
2019-12-26 7:40 ` bug#38652: " Efraim Flashner
2 siblings, 0 replies; 10+ messages in thread
From: Efraim Flashner @ 2019-12-19 7:31 UTC (permalink / raw)
To: Mădălin Ionel Patrașcu; +Cc: 38652
[-- Attachment #1: Type: text/plain, Size: 600 bytes --]
On Tue, Dec 17, 2019 at 06:24:37PM +0100, Mădălin Ionel Patrașcu wrote:
> * gnu/packages/python-xyz.scm (python-pathos, python2-pathos): New variables.
> ---
> +
> +(define-public python2-pathos
> + (package-with-python2 python-pathos))
>
With the impending end of life on python2 we're not automatically adding
python2 variants of packages unless they're actually used.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#38652: [PATCH 5/5] gnu: Add python-pathos.
2019-12-17 17:24 ` [bug#38652] [PATCH 5/5] gnu: Add python-pathos Mădălin Ionel Patrașcu
2019-12-18 23:00 ` Ricardo Wurmus
2019-12-19 7:31 ` Efraim Flashner
@ 2019-12-26 7:40 ` Efraim Flashner
2 siblings, 0 replies; 10+ messages in thread
From: Efraim Flashner @ 2019-12-26 7:40 UTC (permalink / raw)
To: Mădălin Ionel Patrașcu; +Cc: 38652-done
[-- Attachment #1: Type: text/plain, Size: 278 bytes --]
I pushed this patch and managed to get the test suite to run.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread