gnu: python-pympler: Update to 1.1.

* gnu/packages/python-xyz.scm (python-pympler): Update to 1.1.
[source] <uri>: Adjust it as name of PyPI archive has been changed.
[bulid-system]: Swap to pyproject-build-system.
[arguments] <test-flags>: Skip one test.
<phases>: Remove 'skip-broken-test.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: I4d9e942a2f52548f0443cb498d678dc892762f90
This commit is contained in:
Sharlatan Hellseher 2025-01-23 21:51:51 +00:00 committed by Andreas Enge
parent b9caaf767e
commit 90ee5a3fbc
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -7111,27 +7111,25 @@ JavaScript-like message boxes. Types of dialog boxes include:
(define-public python-pympler
(package
(name "python-pympler")
(home-page "https://pythonhosted.org/Pympler/")
(version "1.0.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "Pympler" version))
(sha256
(base32
"1ynkqpv2akldmvkll5vh5zhwj433s1d59iv0f76lygyak4silgwr"))))
(build-system python-build-system)
(version "1.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pympler" version))
(sha256
(base32 "090403k1wvqyddjwbla4843dylysrkd8yw7i62222b4rp1y8dahy"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'skip-broken-test
(lambda _
;; FIXME: This test fails for no good reason:
;; https://github.com/pympler/pympler/issues/153
(substitute* "test/muppy/test_tracker.py"
(("^([[:blank:]]+)def test_stracker_create_summary" all indent)
(string-append indent "@unittest.skipIf(True, \
'Fails on Guix too for unknown reasons')\n" all))))))))
;; One test fails with error: 'function (test.muppy.test_summary.func)'
;; != 'function (muppy.test_summary.func)'.
;; See <https://github.com/pympler/pympler/issues/134>.
#:test-flags #~(list "-k" "not test_repr_function")))
(native-inputs
(list python-pytest
python-setuptools
python-wheel))
(home-page "https://pythonhosted.org/Pympler/")
(synopsis "Measure, monitor and analyze memory behavior")
(description
"Pympler is a development tool to measure, monitor and analyze