From 8b871ae377c10f3e1d0f80b94cfddfaa7f0a8efe Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 19 Feb 2025 09:55:14 +0000 Subject: [PATCH] gnu: python-pims: Update to 0.7. * gnu/packages/image-processing.scm (python-pims): Update to 0.7. Fix build. [source] : Adjust it as PyPI archive name has been changed. [arguments] : Remove skipped tests option and ignore one ore whole test file requiring image data. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: I48c51e81d114b5ad49aed288788220ffe93b17d7 --- gnu/packages/image-processing.scm | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm index d8884b5bf61ae10abf0f0e3db32ab1c6a90730da..0ad28557931bf0762d287cb07b8f732f7d412a10 100644 --- a/gnu/packages/image-processing.scm +++ b/gnu/packages/image-processing.scm @@ -1711,31 +1711,28 @@ segmentation.") (define-public python-pims (package (name "python-pims") - (version "0.6.1") + (version "0.7") (source (origin (method url-fetch) - (uri (pypi-uri "PIMS" version)) + (uri (pypi-uri "pims" version)) (sha256 - (base32 "0fsg353mbbj1ad06nwrp8p9xcrzy6rca6b52nvlbraaf3m309dz2")))) + (base32 "0swlh8g4kf8p24g0ghkmwcj9y45rc59lmqx459nhhmhj6167m42m")))) (build-system pyproject-build-system) (arguments (list #:test-flags ;; We don't have all the (sometimes very large) data files, so we skip ;; these tests. - '(list "--ignore=pims/tests/test_imseq.py" - "--ignore=pims/tests/test_norpix.py" - "-k" - (string-append " not TestImageReaderTIFF" - " and not TestOpenFiles" - " and not TestSpeStack" - " and not TestTiffStack_pil" - " and not TestTiffStack_tifffile" - " and not TestVideo_ImageIO")))) + '(list "--ignore=pims/tests/test_common.py" + "--ignore=pims/tests/test_imseq.py" + "--ignore=pims/tests/test_norpix.py"))) + (native-inputs + (list python-pytest + python-setuptools + python-wheel)) (propagated-inputs (list python-imageio python-numpy python-slicerator)) - (native-inputs (list python-pytest)) (home-page "https://github.com/soft-matter/pims") (synopsis "Python Image Sequence") (description "Scientific video can be packaged in various ways: familiar