diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-06-27 22:45:05 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-08 23:02:17 +0100 |
| commit | e810e77f565ca1723980d3d52fce0a53e4220422 (patch) | |
| tree | bc7879f5bc1ec83293169c3eed66ba3926863a48 /gnu | |
| parent | 1e5abef77b82621a1f82931024586da8ef68f1c6 (diff) | |
gnu: python-zarr: Update to 3.2.1.
* gnu/packages/python-xyz.scm (python-zarr): Update to 3.2.1.
[source]: Switch to git-fetch.
[arguments] <test-flags>: Run tests in a single thread, otherwise they
fail to start; do not run benchmark tests, skip tests depending on uv.
[phases]{set-version}: Remove phase.
[propagated-inputs]: Remove python-asciitree and python-fasteners; add
python-donfig, python-google-crc32c, python-packaging, and
python-typing-extensions.
[native-inputs]: Remove python-pytest-xdist, python-setuptools, and
python-wheel; add python-hatch-vcs, python-hatchling, python-numpydoc,
python-pytest-asyncio, python-pytest-benchmark, and python-tomlkit.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 51 |
1 files changed, 25 insertions, 26 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 861c1e058aa..ac9fbb602a3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm | |||
| @@ -43166,48 +43166,47 @@ and XML respectively. The processing is done through @command{jq}, | |||
| 43166 | (define-public python-zarr | 43166 | (define-public python-zarr |
| 43167 | (package | 43167 | (package |
| 43168 | (name "python-zarr") | 43168 | (name "python-zarr") |
| 43169 | (version "2.18.7") | 43169 | (version "3.2.1") |
| 43170 | (source | 43170 | (source |
| 43171 | (origin | 43171 | (origin |
| 43172 | (method url-fetch) | 43172 | (method git-fetch) |
| 43173 | (uri (pypi-uri "zarr" version)) | 43173 | (uri (git-reference |
| 43174 | (url "https://github.com/zarr-developers/zarr-python") | ||
| 43175 | (commit (string-append "v" version)))) | ||
| 43176 | (file-name (git-file-name name version)) | ||
| 43174 | (sha256 | 43177 | (sha256 |
| 43175 | (base32 | 43178 | (base32 "1qzbpy6j8mgpr6wb69j8yyjyr95rmagn64v8pcdljjl3969rmjf6")))) |
| 43176 | "1xbjjpjskykbdskck5p1f0grh6wq36437ll0n5kazi6s2ipzdf5j")))) | ||
| 43177 | (build-system pyproject-build-system) | 43179 | (build-system pyproject-build-system) |
| 43178 | (arguments | 43180 | (arguments |
| 43179 | (list | 43181 | (list |
| 43182 | ;; tests: 5339 passed, 384 skipped, 1 deselected, 7 xfailed | ||
| 43180 | #:test-flags | 43183 | #:test-flags |
| 43181 | #~(list "--numprocesses" (number->string (parallel-job-count)) | 43184 | #~(list "--ignore=tests/benchmarks/" |
| 43182 | ;; This tests are flaky. The pass several times on my laptop | 43185 | ;; This test wants uv. |
| 43183 | ;; but occasionally fail. They fail pretty reliably on the | 43186 | (string-append "--deselect=tests/test_examples.py" |
| 43184 | ;; build farm. | 43187 | "::test_scripts_can_run[script_path0]")) |
| 43185 | "-k" (string-append "not test_lazy_loader and not open_array" | ||
| 43186 | ;; File not found. | ||
| 43187 | " and not test_filesystem_path")) | ||
| 43188 | #:phases | 43188 | #:phases |
| 43189 | #~(modify-phases %standard-phases | 43189 | #~(modify-phases %standard-phases |
| 43190 | (add-before 'build 'set-version | ||
| 43191 | (lambda _ | ||
| 43192 | (substitute* "pyproject.toml" | ||
| 43193 | (("^version_file.*") "") | ||
| 43194 | (("dynamic = \\[\"version\"\\]") | ||
| 43195 | (string-append "version = \"" #$version "\""))))) | ||
| 43196 | (add-after 'unpack 'disable-service-tests | 43190 | (add-after 'unpack 'disable-service-tests |
| 43197 | (lambda _ | 43191 | (lambda _ |
| 43198 | (setenv "ZARR_TEST_ABS" "0") | 43192 | (setenv "ZARR_TEST_ABS" "0") |
| 43199 | (setenv "ZARR_TEST_MONGO" "0") | 43193 | (setenv "ZARR_TEST_MONGO" "0") |
| 43200 | (setenv "ZARR_TEST_REDIS" "0")))))) | 43194 | (setenv "ZARR_TEST_REDIS" "0")))))) |
| 43195 | (native-inputs | ||
| 43196 | (list python-hatch-vcs | ||
| 43197 | python-hatchling | ||
| 43198 | python-numpydoc ;tests/test_api/test_synchronous.py | ||
| 43199 | python-pytest | ||
| 43200 | python-pytest-asyncio | ||
| 43201 | python-pytest-benchmark | ||
| 43202 | python-tomlkit)) | ||
| 43201 | (propagated-inputs | 43203 | (propagated-inputs |
| 43202 | (list python-asciitree | 43204 | (list python-donfig |
| 43203 | python-fasteners | 43205 | python-google-crc32c |
| 43204 | python-numcodecs | 43206 | python-numcodecs |
| 43205 | python-numpy)) | 43207 | python-numpy |
| 43206 | (native-inputs | 43208 | python-packaging |
| 43207 | (list python-pytest | 43209 | python-typing-extensions)) |
| 43208 | python-pytest-xdist | ||
| 43209 | python-setuptools | ||
| 43210 | python-wheel)) | ||
| 43211 | (home-page "https://github.com/zarr-developers/zarr-python") | 43210 | (home-page "https://github.com/zarr-developers/zarr-python") |
| 43212 | (synopsis "Chunked, compressed, N-dimensional arrays for Python") | 43211 | (synopsis "Chunked, compressed, N-dimensional arrays for Python") |
| 43213 | (description | 43212 | (description |
