diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-08 20:32:49 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:18:19 +0100 |
| commit | 8fd5ccc87b563e1a1c13e0b84dd53d592867aed0 (patch) | |
| tree | 52520a06dcb46cd1841c2e9bdf715f6e7e74ae66 /gnu/packages/python-compression.scm | |
| parent | ae92a189ff8528143f7be4aea89708b79bf606c3 (diff) | |
gnu: python-blosc2: Update to 3.12.2.
* gnu/packages/python-compression.scm (python-blosc2): Update to 3.12.2.
[propagated-inputs]: Add python-platformdirs and python-requests.
[native-inputs]: Remove python-scikit-build; add python-psutil, python-pytorch, and
python-scikit-build-core.
Change-Id: I31a5c34c77f9b6fd104aa74d4805717c58df9c22
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/python-compression.scm')
| -rw-r--r-- | gnu/packages/python-compression.scm | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 2709dabb4cf..24878c7ce51 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm | |||
| @@ -45,6 +45,7 @@ | |||
| 45 | #:use-module (gnu packages compression) | 45 | #:use-module (gnu packages compression) |
| 46 | #:use-module (gnu packages cmake) | 46 | #:use-module (gnu packages cmake) |
| 47 | #:use-module (gnu packages check) | 47 | #:use-module (gnu packages check) |
| 48 | #:use-module (gnu packages machine-learning) | ||
| 48 | #:use-module (gnu packages maths) | 49 | #:use-module (gnu packages maths) |
| 49 | #:use-module (gnu packages ninja) | 50 | #:use-module (gnu packages ninja) |
| 50 | #:use-module (gnu packages pkg-config) | 51 | #:use-module (gnu packages pkg-config) |
| @@ -53,6 +54,7 @@ | |||
| 53 | #:use-module (gnu packages python-check) | 54 | #:use-module (gnu packages python-check) |
| 54 | #:use-module (gnu packages python-crypto) | 55 | #:use-module (gnu packages python-crypto) |
| 55 | #:use-module (gnu packages python-science) | 56 | #:use-module (gnu packages python-science) |
| 57 | #:use-module (gnu packages python-web) | ||
| 56 | #:use-module (gnu packages python-xyz) | 58 | #:use-module (gnu packages python-xyz) |
| 57 | #:use-module (gnu packages rust) | 59 | #:use-module (gnu packages rust) |
| 58 | #:use-module (gnu packages rust-apps) | 60 | #:use-module (gnu packages rust-apps) |
| @@ -163,37 +165,46 @@ This Python package wraps the Blosc library.") | |||
| 163 | (define-public python-blosc2 | 165 | (define-public python-blosc2 |
| 164 | (package | 166 | (package |
| 165 | (name "python-blosc2") | 167 | (name "python-blosc2") |
| 166 | (version "2.7.1") ;3.0.0 requires numpy>=1.25 | 168 | (version "3.12.2") |
| 167 | (source | 169 | (source |
| 168 | (origin | 170 | (origin |
| 169 | (method url-fetch) | 171 | (method url-fetch) |
| 170 | (uri (pypi-uri "blosc2" version)) | 172 | (uri (pypi-uri "blosc2" version)) |
| 171 | (sha256 | 173 | (sha256 |
| 172 | (base32 "1s4gpdf1hfbw5w3hpx0g8bfwjrws1b8wgmh7snafh5ivai0lvnrl")))) | 174 | (base32 "17z3byk0q79rf7j8nh4k0qls1mwdrlylgi85qayqirvk9df92bx4")))) |
| 173 | (build-system pyproject-build-system) | 175 | (build-system pyproject-build-system) |
| 174 | (arguments | 176 | (arguments |
| 175 | (list | 177 | (list |
| 178 | ;; tests: 8192 passed, 7466 deselected | ||
| 176 | #:test-flags | 179 | #:test-flags |
| 177 | #~(list "--pyargs" "blosc2") | 180 | ;; Network access is requited: OSError: Could not find a suitable TLS CA |
| 181 | ;; certificate bundle, invalid path: /etc/ssl/certs/ca-certificates.crt | ||
| 182 | #~(list "--deselect=tests/test_embed_store.py::test_with_remote" | ||
| 183 | "tests") | ||
| 178 | #:phases | 184 | #:phases |
| 179 | #~(modify-phases %standard-phases | 185 | #~(modify-phases %standard-phases |
| 180 | (add-before 'build 'configure | 186 | (add-before 'build 'configure |
| 181 | (lambda _ | 187 | (lambda _ |
| 182 | (setenv "USE_SYSTEM_BLOSC2" "ON")))))) | 188 | (setenv "USE_SYSTEM_BLOSC2" "ON")))))) |
| 183 | (inputs (list c-blosc2)) | ||
| 184 | (propagated-inputs | ||
| 185 | (list python-msgpack | ||
| 186 | python-ndindex | ||
| 187 | python-numexpr | ||
| 188 | python-numpy | ||
| 189 | python-py-cpuinfo)) | ||
| 190 | (native-inputs | 189 | (native-inputs |
| 191 | (list cmake-minimal | 190 | (list cmake-minimal |
| 192 | pkg-config | 191 | pkg-config |
| 193 | python-cython | 192 | python-cython |
| 193 | python-psutil | ||
| 194 | python-pytest | 194 | python-pytest |
| 195 | python-scikit-build | 195 | python-pytorch ;XXX: hard dependency to run tests |
| 196 | python-scikit-build-core | ||
| 196 | python-setuptools)) | 197 | python-setuptools)) |
| 198 | (inputs | ||
| 199 | (list c-blosc2)) | ||
| 200 | (propagated-inputs | ||
| 201 | (list python-msgpack | ||
| 202 | python-ndindex | ||
| 203 | python-numexpr | ||
| 204 | python-numpy | ||
| 205 | python-platformdirs | ||
| 206 | python-py-cpuinfo | ||
| 207 | python-requests)) | ||
| 197 | (home-page "https://github.com/blosc/python-blosc2") | 208 | (home-page "https://github.com/blosc/python-blosc2") |
| 198 | (synopsis "Python wrapper for the Blosc2 data compressor library") | 209 | (synopsis "Python wrapper for the Blosc2 data compressor library") |
| 199 | (description | 210 | (description |
