mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-multiprocess: Update to 0.70.17.
* gnu/packages/python-xyz.scm (python-multiprocess): Update to 0.70.17. [arguments]{phases}: Use gexps. Remove phase 'disable-broken-tests. Improve phase 'check. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
f5ace3d164
commit
d6de00627e
1 changed files with 23 additions and 19 deletions
|
@ -30589,27 +30589,30 @@ the saved state of the original interpreter session.")
|
||||||
(define-public python-multiprocess
|
(define-public python-multiprocess
|
||||||
(package
|
(package
|
||||||
(name "python-multiprocess")
|
(name "python-multiprocess")
|
||||||
(version "0.70.14")
|
(version "0.70.17")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "multiprocess" version))
|
(uri (pypi-uri "multiprocess" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0splzd9w9yi42vl7b6mm99vb82jp2adhdrizw1xd4q125z0szp9y"))))
|
"0ypm9yj1ng1s96hk2iwll190dkpc2j5zras8kay9x00n6hdg3qja"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:phases
|
#:phases
|
||||||
'(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'disable-broken-tests
|
(add-after 'unpack 'disable-broken-tests
|
||||||
(lambda _
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
;; The "wait_result" and "shared_memory..." tests are broken as
|
;; The "wait_result" and "shared_memory..." tests are broken as
|
||||||
;; there is no keyboard interrupt.
|
;; there is no keyboard interrupt.
|
||||||
;;
|
;;
|
||||||
;; The "preload_resources" test fails as it cannot find
|
;; The "preload_resources" test fails as it cannot find
|
||||||
;; mp_preload.py.
|
;; mp_preload.py.
|
||||||
(substitute* "py3.10/multiprocess/tests/__init__.py"
|
(substitute*
|
||||||
|
(string-append "py" (python-version
|
||||||
|
(assoc-ref inputs "python"))
|
||||||
|
"/multiprocess/tests/__init__.py")
|
||||||
(("^(.*)def test_(\
|
(("^(.*)def test_(\
|
||||||
wait_result|\
|
wait_result|\
|
||||||
shared_memory_SharedMemoryServer_ignores_sigint|\
|
shared_memory_SharedMemoryServer_ignores_sigint|\
|
||||||
|
@ -30620,8 +30623,9 @@ preload_resources\
|
||||||
line)))))
|
line)))))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(when tests?
|
(if tests?
|
||||||
(invoke "python" "-m" "multiprocess.tests")))))))
|
(invoke "python" "-m" "multiprocess.tests")
|
||||||
|
(format #t "test suite not run~%")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-dill))
|
(list python-dill))
|
||||||
(native-inputs (list python-setuptools python-wheel))
|
(native-inputs (list python-setuptools python-wheel))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue