From 2f2db0b4bd286d1dde05bbcaea4a1a318d920fc7 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 3 Oct 2025 12:07:17 +0100 Subject: [PATCH] gnu: python-lz4: Update to 4.4.4. * gnu/packages/python-compression.scm (python-lz4): Update to 4.4.4. [build-system]: Switch to pyproject-build-system. [arguments] : Move here from custom 'check. : Use default 'check. [native-inputs]: Add python-setuptools. Change-Id: I3b49fd5e8de2c41e61124cb08efd8f3b9e5f39fe --- gnu/packages/python-compression.scm | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index da49a2a2d9..8884876248 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -649,30 +649,28 @@ Python strings.") (define-public python-lz4 (package (name "python-lz4") - (version "4.3.2") + (version "4.4.4") (source (origin (method url-fetch) (uri (pypi-uri "lz4" version)) (sha256 (base32 - "1nmc36j5xnk7mvwwpm0nb1sddjk5iv77h877fdkkxcngm621shz1")) + "1nmb757fx3k30zsjiaz7nj6cgp4zxl44w28s4l8k0ff4grid03q7")) (modules '((guix build utils))) (snippet '(begin ;; Remove bundled copy of lz4. (delete-file-recursively "lz4libs"))))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments - (list #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - ;; Taken from tox.ini (excludes experimental tests). - (invoke "pytest" "-vv" "tests/block" "tests/frame"))))))) + ;; Taken from tox.ini (excludes experimental tests). + (list #:test-flags #~(list "tests/block" "tests/frame"))) (native-inputs - (list pkg-config python-pytest python-pkgconfig python-setuptools-scm - ;; For tests. + (list pkg-config + python-pytest + python-pkgconfig + python-setuptools + python-setuptools-scm python-psutil)) (inputs (list lz4))