[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/44: gnu: python-numcodecs: Update to 0.13.1.
From: |
guix-commits |
Subject: |
17/44: gnu: python-numcodecs: Update to 0.13.1. |
Date: |
Tue, 17 Dec 2024 08:04:46 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit c5457f61fa34a37ebfe8bcb766612b1771b8d027
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Dec 16 19:09:51 2024 +0100
gnu: python-numcodecs: Update to 0.13.1.
* gnu/packages/python-xyz.scm (python-numcodecs): Update to 0.13.1.
[source]: Update snippet.
[arguments]: Update selected tests.
[propagated-inputs]: Add python-coverage, python-google-crc32c,
python-importlib-metadata, and python-numpydoc; remove python-entrypoints
and
python-typing-extensions.
[native-inputs]: Add python-py-cpuinfo, python-pydata-sphinx-theme,
python-pytest-cov, python-sphinx, and python-sphinx-issues.
Change-Id: Ib2dfc457923c0a435a09ce6d7879090e641b095c
---
gnu/packages/python-xyz.scm | 42 ++++++++++++++++++++++--------------------
1 file changed, 22 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 19760382d5..be9167bc1e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29124,15 +29124,16 @@ tool).")
(define-public python-numcodecs
(package
(name "python-numcodecs")
- ;; XXX: Starting from 0.11.0 numcodecs requires NumPy 1.7 or higher.
- (version "0.10.2")
+ (version "0.13.1")
+ ;; python-zarr does not want versions 0.14.0 or 0.14.1.
+ ;;(version "0.14.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "numcodecs" version))
(sha256
(base32
- "1i2rvm1f23dapcf6w3mj4877jzq5f24bhfa0fafbv1nr7xmqr0r2"))
+ "1g09fwhgmhmw66x5gzmzhm8yhgqki3gpfi0dkhx8z2gh3n43gkx3"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -29143,22 +29144,13 @@ tool).")
(("os\\.name == 'posix'")
(string-append "os.name + platform.machine() == 'posixx86_64' or"
" os.name + platform.machine() == 'posixx86'")))
- (delete-file-recursively "c-blosc")
- (for-each delete-file '("numcodecs/_shuffle.c"
- "numcodecs/blosc.c"
- "numcodecs/compat_ext.c"
- "numcodecs/lz4.c"
- "numcodecs/vlen.c"
- "numcodecs/zstd.c"))))))
+ (delete-file-recursively "c-blosc")))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- ;; Tests fail with error: ValueError: setting an array element with a
- ;; sequence. The requested array has an inhomogeneous shape after 1
- ;; dimensions. The detected shape was (3,) + inhomogeneous part.
- #~(list "--deselect=numcodecs/tests/test_json.py::test_non_numpy_inputs"
-
"--deselect=numcodecs/tests/test_msgpacks.py::test_non_numpy_inputs")
+ ;; zarr isn't available, because it dependes on this package.
+ '(list "-k" "not test_zarr3_import")
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'disable-avx2
@@ -29185,13 +29177,23 @@ tool).")
(list c-blosc lz4 zlib
`(,zstd "lib")))
(propagated-inputs
- (list python-entrypoints
- python-numpy
+ (list python-coverage
+ python-google-crc32c
+ python-importlib-metadata
python-msgpack
- python-typing-extensions))
+ python-numpy
+ python-numpydoc))
(native-inputs
- (list python-cython python-pytest python-setuptools-scm
- python-setuptools python-wheel))
+ (list python-cython
+ python-py-cpuinfo
+ python-pydata-sphinx-theme
+ python-pytest
+ python-pytest-cov
+ python-setuptools
+ python-setuptools-scm ;for correct version
+ python-sphinx
+ python-sphinx-issues
+ python-wheel))
(home-page "https://github.com/zarr-developers/numcodecs")
(synopsis "Buffer compression and transformation codecs")
(description
- 22/44: gnu: Add python-pypitoken., (continued)
- 22/44: gnu: Add python-pypitoken., guix-commits, 2024/12/17
- 37/44: gnu: python-typing-extensions: Update to 4.12.2., guix-commits, 2024/12/17
- 35/44: gnu: python-platformdirs: Update to 4.3.6., guix-commits, 2024/12/17
- 36/44: gnu: python-virtualenv: Update to 20.28.0., guix-commits, 2024/12/17
- 20/44: gnu: Add python-packaging-legacy., guix-commits, 2024/12/17
- 10/44: gnu: python-nox: Update to 2024.10.09., guix-commits, 2024/12/17
- 16/44: gnu: Add python-strictyaml., guix-commits, 2024/12/17
- 18/44: gnu: Add python-repoze-lru., guix-commits, 2024/12/17
- 12/44: gnu: python-pytest-subprocess: Update to 1.5.2., guix-commits, 2024/12/17
- 15/44: gnu: python-awkward: Update to 2.7.2., guix-commits, 2024/12/17
- 17/44: gnu: python-numcodecs: Update to 0.13.1.,
guix-commits <=
- 27/44: gnu: python-tox: Update to 4.23.2., guix-commits, 2024/12/17
- 34/44: gnu: python-chardet: Update to 5.2.0., guix-commits, 2024/12/17
- 32/44: gnu: python-extension-helpers: Update to 1.2.0., guix-commits, 2024/12/17
- 43/44: gnu: python-a2wsgi: Disable one test., guix-commits, 2024/12/17
- 21/44: gnu: Add python-lazy., guix-commits, 2024/12/17
- 25/44: gnu: Add python-devpi-client., guix-commits, 2024/12/17
- 09/44: gnu: python-pytest-qt: Update to 4.4.0., guix-commits, 2024/12/17
- 14/44: gnu: python-awkward-cpp: Update to 43., guix-commits, 2024/12/17
- 29/44: gnu: python-zarr: Update to 2.18.4., guix-commits, 2024/12/17
- 28/44: gnu: python-webcolors: Update to 24.11.1., guix-commits, 2024/12/17