guix_mirror_bot pushed a commit to branch python-team in repository guix. commit 8865f9d3f39f07bd82cd7f31e9bd821f78caaf5d Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Tue Aug 5 12:35:25 2025 +0100
gnu: python-blosc: Update to 1.11.3. * gnu/packages/python-compression.scm (python-blosc): Update to 1.11.3. [build-system]: Use pyproject. [arguments] <test-backend>: Use 'custom. <phases>: Use default 'check. [propagated-inputs]: Remove python-numpy. [native-inputs]: Add ninja/pinned, python-numpy, python-psutil, python-py-cpuinfo, and python-setuptools. Change-Id: I1b2169c04a0216e9a8e7ca872c08e5043b00209f --- gnu/packages/python-compression.scm | 39 ++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 6ffa98c6a3..b19492477e 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -46,6 +46,7 @@ #:use-module (gnu packages cmake) #:use-module (gnu packages check) #:use-module (gnu packages maths) + #:use-module (gnu packages ninja) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-build) @@ -60,33 +61,39 @@ (define-public python-blosc (package (name "python-blosc") - (version "1.11.1") + (version "1.11.3") (source (origin (method url-fetch) (uri (pypi-uri "blosc" version)) (sha256 (base32 - "0xmjs28sgpnb940zrhw010dq2m9d8a5h4fgnjyk6645fgfr1j8f2")) + "13h8ks58iy4h3ayk7havb4hmkma88598qkf4i4paj53qpa76bvc9")) (snippet #~(begin (use-modules (guix build utils)) (delete-file-recursively "blosc/c-blosc"))))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments - (list #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'find-blosc - (lambda _ - (setenv "USE_SYSTEM_BLOSC" "1") - (setenv "Blosc_ROOT" #$(this-package-input "c-blosc")))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "-m" "blosc.test"))))))) + (list + #:test-backend #~'custom + #:test-flags #~(list "-m" "blosc.test") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'find-blosc + (lambda _ + (setenv "USE_SYSTEM_BLOSC" "1") + (setenv "Blosc_ROOT" #$(this-package-input "c-blosc"))))))) (propagated-inputs - (list python-scikit-build python-numpy)) - (inputs (list c-blosc)) - (native-inputs (list cmake-minimal)) + (list python-scikit-build)) + (inputs + (list c-blosc)) + (native-inputs + (list cmake-minimal + ninja/pinned + python-numpy + python-psutil + python-py-cpuinfo + python-setuptools)) (home-page "https://github.com/blosc/python-blosc") (synopsis "Python wrapper for the Blosc data compressor library") (description "Blosc is a high performance compressor optimized for binary