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>
This commit is contained in:
Nicolas Graves 2025-02-19 17:23:46 +01:00 committed by Andreas Enge
parent 8224c56e00
commit f5ace3d164
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -30554,24 +30554,25 @@ object-oriented library such as @code{scikit-learn}.")
(define-public python-dill (define-public python-dill
(package (package
(name "python-dill") (name "python-dill")
(version "0.3.6") (version "0.3.9")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "dill" version)) (uri (pypi-uri "dill" version))
(sha256 (sha256
(base32 "0wr37zwyiprrv29jcc1hl5cla72faiwfs0mhvbxxhmkqd3rmbnz5")))) (base32 "0b2inivjahjlph54a70x6wi3pax4qsgclhlw0blbz37nvmyjdal1"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases #~(modify-phases %standard-phases
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (if tests?
(with-directory-excursion "/tmp" ;; Extracted from tox.ini
(invoke "nosetests" "-v")))))))) (invoke "python" "dill/tests/__main__.py")
(format #t "test suite not run~%")))))))
(native-inputs (native-inputs
(list python-nose python-setuptools python-wheel)) (list python-setuptools python-wheel))
(home-page "https://pypi.org/project/dill/") (home-page "https://pypi.org/project/dill/")
(synopsis "Serialize all of Python") (synopsis "Serialize all of Python")
(description "Dill extends Python's @code{pickle} module for serializing (description "Dill extends Python's @code{pickle} module for serializing