Package Details: python-numcodecs 0.14.1-1

Git Clone URL: https://aur.archlinux.org/python-numcodecs.git (read-only, click to copy)
Package Base: python-numcodecs
Description: A Python package providing buffer compression and transformation codecs for use in data storage and communication applications
Upstream URL: https://github.com/zarr-developers/numcodecs
Licenses: MIT
Submitter: flying-sheep
Maintainer: flying-sheep
Last Packager: flying-sheep
Votes: 2
Popularity: 0.000000
First Submitted: 2019-01-02 14:15 (UTC)
Last Updated: 2024-12-23 09:52 (UTC)

Latest Comments

flying-sheep commented on 2024-10-28 08:13 (UTC)

@MarsSeed: You said “pls remove the nonexistent optdepends”

But why?

flying-sheep commented on 2023-01-12 17:49 (UTC) (edited on 2023-01-12 17:49 (UTC) by flying-sheep)

It’s defined here: https://github.com/zarr-developers/numcodecs/blob/955019b55a31b4a03c76f62edfde5df2301282c4/numcodecs/blosc.pyx#L21

I guess that cython syntax means it needs /usr/include/blosc.h (in the blosc package) at build time. I should add that to build deps.

tujir commented on 2022-12-19 14:39 (UTC)

Do we need python-blosc as dependency?

File "/usr/lib/python3.10/site-packages/zarr/__init__.py", line 2, in <module>
  from zarr.codecs import *
File "/usr/lib/python3.10/site-packages/zarr/codecs.py", line 3, in <module>
  from numcodecs import get_codec, Blosc, Pickle, Zlib, Delta, AsType, BZ2

ImportError: cannot import name 'Blosc' from 'numcodecs' (/usr/lib/python3.10/site-packages/numcodecs/init.py)

flying-sheep commented on 2022-09-15 10:35 (UTC)

fixed

carlosal1015 commented on 2022-09-12 17:04 (UTC)

Hi, I have the following message error

==> Making package: python-numcodecs 0.10.2-1 (Mon Sep 12 12:03:25 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
* Getting dependencies for wheel...
[numcodecs] setting up Blosc extension
[numcodecs] compiling Blosc extension with SSE2 support
[numcodecs] compiling Blosc extension with AVX2 support
Compiling numcodecs/blosc.pyx because it depends on /usr/lib/python3.10/site-packages/Cython/Includes/libc/string.pxd.
[1/1] Cythonizing numcodecs/blosc.pyx
[numcodecs] setting up Zstandard extension
Compiling numcodecs/zstd.pyx because it depends on /usr/lib/python3.10/site-packages/Cython/Includes/libc/string.pxd.
[1/1] Cythonizing numcodecs/zstd.pyx
[numcodecs] setting up LZ4 extension
Compiling numcodecs/lz4.pyx because it depends on /usr/lib/python3.10/site-packages/Cython/Includes/libc/string.pxd.
[1/1] Cythonizing numcodecs/lz4.pyx
[numcodecs] setting up compat extension
Compiling numcodecs/compat_ext.pyx because it depends on /usr/lib/python3.10/site-packages/Cython/Includes/cpython/buffer.pxd.
[1/1] Cythonizing numcodecs/compat_ext.pyx
[numcodecs] setting up shuffle extension
[numcodecs] setting up vlen extension
Compiling numcodecs/vlen.pyx because it depends on /usr/lib/python3.10/site-packages/Cython/Includes/libc/string.pxd.
[1/1] Cythonizing numcodecs/vlen.pyx

ERROR Missing dependencies:
        wheel
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-numcodecs

mauritiusdadd commented on 2022-08-05 08:04 (UTC)

Hi, can you add python-wheel and python-setuptools-scm to make dependencies? The package fails to build without them in a clean environment

flying-sheep commented on 2022-01-27 07:47 (UTC)

good idea, done!

Strawpants commented on 2022-01-25 14:57 (UTC)

I tried compiling this on a relatively old computer (Nehalem) and got an illegal (hardware) instruction as reported here: https://github.com/zarr-developers/numcodecs/issues/252

The reason is apparently that the cpu doesn't support avx2 instructions.

I recommend to change in the PKGBUILD export CFLAGS="$CFLAGS -msse2 -mavx2" to export CFLAGS="$CFLAGS -march=native"

so only the available instructions will be build (both sse2 and avx2 when available), but the build will also work on older architectures.