summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-02-19 17:23:46 +0100
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:13 +0200
commitf5ace3d1641422e7af901fca5e83310da39f49a6 (patch)
tree6c5ac43ee5a7572d7d6957aa13fbd37b201790cf /gnu/packages/python-xyz.scm
parent8224c56e00f48814c23be35f6ae66d62ff3dce09 (diff)
gnu: python-dill: Update to 0.3.9.
* gnu/packages/python-xyz.scm (python-dill): Update to 0.3.9. [arguments]{phases}: Rewrite using gexp. Adapt 'check phase. [native-inputs]: Remove python-nose. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm21
1 files changed, 11 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 65a3f2132a..8308ba47ae 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30554,24 +30554,25 @@ object-oriented library such as @code{scikit-learn}.")
(define-public python-dill
(package
(name "python-dill")
- (version "0.3.6")
+ (version "0.3.9")
(source
(origin
(method url-fetch)
(uri (pypi-uri "dill" version))
(sha256
- (base32 "0wr37zwyiprrv29jcc1hl5cla72faiwfs0mhvbxxhmkqd3rmbnz5"))))
+ (base32 "0b2inivjahjlph54a70x6wi3pax4qsgclhlw0blbz37nvmyjdal1"))))
(build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (with-directory-excursion "/tmp"
- (invoke "nosetests" "-v"))))))))
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests?
+ ;; Extracted from tox.ini
+ (invoke "python" "dill/tests/__main__.py")
+ (format #t "test suite not run~%")))))))
(native-inputs
- (list python-nose python-setuptools python-wheel))
+ (list python-setuptools python-wheel))
(home-page "https://pypi.org/project/dill/")
(synopsis "Serialize all of Python")
(description "Dill extends Python's @code{pickle} module for serializing