diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-23 21:51:51 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-04-16 11:46:08 +0200 |
| commit | 90ee5a3fbc8db3ea0b38d684d1a0295c7bbd24b4 (patch) | |
| tree | f04a1dd64a89a9ffe4a964a547d7580e6a16a3fb | |
| parent | b9caaf767e3e312d28274f24a6ddf0b64005f5bd (diff) | |
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
| -rw-r--r-- | gnu/packages/python-xyz.scm | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 298710110b..b22de5fe59 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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 |
