python-poetry / poetry

Python packaging and dependency management made easy
https://python-poetry.org
MIT License
31.35k stars 2.26k forks source link

poetry cannot find openjpeg.h on Mac M1 #7492

Closed kpeez closed 1 year ago

kpeez commented 1 year ago
[tool.poetry.dependencies]
python = ">=3.10,<3.11"
pandas = "^1.5"
matplotlib = "3.6.0"
neuron-morphology = "^1.0.1"
scikit-image = ">0.18"
scikit-learn = "^1.1"
seaborn = "^0.12.1"
numpy = "^1.23.3"
umap-learn = "^0.5.3"
hdbscan = "^0.8.29"
xgboost = "^1.7.2"
rivuletpy = {git = "https://github.com/kpeez/rivuletpy"}
allensdk = {git = "https://github.com/kpeez/allensdk"}
Pillow = "^9.3.0"
napari = {version = "^0.4.15", optional = true}
aicspylibczi = {version = "^3.0.5", optional = true}
aicsimageio = {version = "^4.9.4", optional = true}
# vispy = {version = "^0.10.0", optional = true}
# PyQt5 = {version = "5.15.7", optional = true}

[tool.poetry.extras]
imaging = ["aicsimageio", "aicspylibczi", "napari"]

[tool.poetry.group.dev.dependencies]
ipykernel = "^6.17.1"
black = "^22.10"
ruff = "^0.0.241"
mypy = "^0.991"
pre-commit = "^2.20.0"
notebook = "^6.5.2"
pandas-stubs = "^1.5.2.221213"

[tool.poetry.group.test.dependencies]
pytest = "^7.2.0"

[tool.poetry.group.docs.dependencies]
mkdocs = "^1.4.2"
mkdocs-material = "^8.5.10"
mkdocstrings = {extras = ["python"], version = "^0.19.0"}

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

Issue

I cannot install the imagecodecs package through poetry. I currently have the packages for which imagecodecs is a dependency set as optional so that I can continue working on other parts of my project. I couldn't find this exact issue, and I'm not sure if this is related to this issue since I can successfully install the same version of the offending package in an isolated conda environment on my machine. Any ideas on what's causing this issue?

kpeez commented 1 year ago

Here is the output when I run poetry install --extras "imaging" -vvv:

❯ cd mypackage
  ❯ poetry install --extras "imaging" -vvv
  Loading configuration file /Users/kyle/Library/Preferences/pypoetry/config.toml
  Loading configuration file /Users/kyle/Library/Preferences/pypoetry/auth.toml
  Loading configuration file /Users/kyle/repos/mypackage/poetry.toml
  Using virtualenv: /Users/kyle/repos/mypackage/.venv
  Installing dependencies from lock file

  Finding the necessary packages for the current system

  Package operations: 4 installs, 0 updates, 0 removals, 251 skipped

    • Installing imagecodecs (2023.1.23): Pending...
  [keyring.backend] Loading KWallet
  [keyring.backend] Loading SecretService
  [keyring.backend] Loading Windows
  [keyring.backend] Loading chainer
  [keyring.backend] Loading libsecret
  [keyring.backend] Loading macOS
  Creating new session for pypi.org
  Skipping wheel imagecodecs-2023.1.23-cp310-cp310-macosx_10_9_x86_64.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp310-cp310-win32.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp310-cp310-win_amd64.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp311-cp311-macosx_10_9_x86_64.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp311-cp311-win32.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp311-cp311-win_amd64.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp311-cp311-win_arm64.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp38-cp38-macosx_10_9_x86_64.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp38-cp38-win32.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp38-cp38-win_amd64.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp39-cp39-macosx_10_9_x86_64.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp39-cp39-win32.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-cp39-cp39-win_amd64.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
  Skipping wheel imagecodecs-2023.1.23-pp39-pypy39_pp73-win_amd64.whl as this is not supported by the current environment
    • Installing imagecodecs (2023.1.23): Installing...
    • Installing imagecodecs (2023.1.23): Failed

    Stack trace:

    2  ~/Library/Application Support/pypoetry/venv/lib/python3.10/site-packages/poetry/utils/env.py:1536 in _run
        1534│                 )
        1535│             else:
      → 1536│                 output = subprocess.check_output(
        1537│                     command, stderr=subprocess.STDOUT, env=env, **kwargs
        1538│                 )

    1  ~/miniconda3/lib/python3.10/subprocess.py:421 in check_output
         419│         kwargs['input'] = empty
         420│ 
      →  421│     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
         422│                **kwargs).stdout
         423│ 

    CalledProcessError

    Command '['/Users/kyle/repos/mypackage/.venv/bin/python', '-m', 'pip', 'install', '--use-pep517', '--disable-pip-version-check', '--isolated', '--no-input', '--prefix', '/Users/kyle/repos/mypackage/.venv', '--no-deps', '/Users/kyle/Library/Caches/pypoetry/artifacts/7e/80/63/cc184e6f548b0c7631215403caf7b092d86a087b6624dcdaa0805d2617/imagecodecs-2023.1.23.tar.gz']' returned non-zero exit status 1.

    at ~/miniconda3/lib/python3.10/subprocess.py:526 in run
         522│             # We don't call process.wait() as .__exit__ does that for us.
         523│             raise
         524│         retcode = process.poll()
         525│         if check and retcode:
      →  526│             raise CalledProcessError(retcode, process.args,
         527│                                      output=stdout, stderr=stderr)
         528│     return CompletedProcess(process.args, retcode, stdout, stderr)
         529│ 
         530│ 

  The following error occurred when trying to handle this error:

    Stack trace:

    3  ~/Library/Application Support/pypoetry/venv/lib/python3.10/site-packages/poetry/utils/pip.py:56 in pip_install
         54│ 
         55│     try:
      →  56│         return environment.run_pip(*args)
         57│     except EnvCommandError as e:
         58│         raise PoetryException(f"Failed to install {path.as_posix()}") from e

    2  ~/Library/Application Support/pypoetry/venv/lib/python3.10/site-packages/poetry/utils/env.py:1497 in run_pip
        1495│         pip = self.get_pip_command()
        1496│         cmd = pip + list(args)
      → 1497│         return self._run(cmd, **kwargs)
        1498│ 
        1499│     def run_python_script(self, content: str, **kwargs: Any) -> int | str:

    1  ~/Library/Application Support/pypoetry/venv/lib/python3.10/site-packages/poetry/utils/env.py:1776 in _run
        1774│     def _run(self, cmd: list[str], **kwargs: Any) -> int | str:
        1775│         kwargs["env"] = self.get_temp_environ(environ=kwargs.get("env"))
      → 1776│         return super()._run(cmd, **kwargs)
        1777│ 
        1778│     def get_temp_environ(

    EnvCommandError

    Command ['/Users/kyle/repos/mypackage/.venv/bin/python', '-m', 'pip', 'install', '--use-pep517', '--disable-pip-version-check', '--isolated', '--no-input', '--prefix', '/Users/kyle/repos/mypackage/.venv', '--no-deps', '/Users/kyle/Library/Caches/pypoetry/artifacts/7e/80/63/cc184e6f548b0c7631215403caf7b092d86a087b6624dcdaa0805d2617/imagecodecs-2023.1.23.tar.gz'] errored with the following return code 1, and output: 
    Processing /Users/kyle/Library/Caches/pypoetry/artifacts/7e/80/63/cc184e6f548b0c7631215403caf7b092d86a087b6624dcdaa0805d2617/imagecodecs-2023.1.23.tar.gz
      Installing build dependencies: started
      Installing build dependencies: finished with status 'done'
      Getting requirements to build wheel: started
      Getting requirements to build wheel: finished with status 'done'
      Installing backend dependencies: started
      Installing backend dependencies: finished with status 'done'
      Preparing metadata (pyproject.toml): started
      Preparing metadata (pyproject.toml): finished with status 'done'
    Building wheels for collected packages: imagecodecs
      Building wheel for imagecodecs (pyproject.toml): started
      Building wheel for imagecodecs (pyproject.toml): finished with status 'error'
      error: subprocess-exited-with-error

      × Building wheel for imagecodecs (pyproject.toml) did not run successfully.
      │ exit code: 1
      ╰─> [535 lines of output]
          running bdist_wheel
          running build
          running build_py
          creating build
          creating build/lib.macosx-11.0-arm64-cpython-310
          creating build/lib.macosx-11.0-arm64-cpython-310/imagecodecs
          copying imagecodecs/numcodecs.py -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs
          copying imagecodecs/__init__.py -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs
          copying imagecodecs/_imagecodecs.py -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs
          copying imagecodecs/imagecodecs.py -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs
          copying imagecodecs/__main__.py -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs
          creating build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-zfp -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-fastlz -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-postgresql -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-libjpeg -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-lzfse -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-liblzma -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-libmng -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-lzham -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-jpg_0xc3 -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-bzip2 -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-blosc2 -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-libtiff -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-svt-av1 -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-zlib -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-qoi -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-openjpeg -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-libjpeg-turbo -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-libaivf -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-aom -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-snappy -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-lerc -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-lz4 -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-brunsli -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-dav1d -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-giflib -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-highway -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-rav1e -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-libdeflate -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-zopfli -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-cfitsio -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-zstd -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-libjxl -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-bitshuffle -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-liblj92 -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-charls -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-brotli -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-jetraw -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-libwebp -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-libaec -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/PATENTS-rav1e -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-zlib-ng -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-libpng -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-libspng -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-jpeg -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-lcms2 -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-blosc -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-lzf -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-jxrlib -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          copying imagecodecs/licenses/LICENSE-mozjpeg -> build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/licenses
          running build_ext
          building 'imagecodecs._aec' extension
          creating build/temp.macosx-11.0-arm64-cpython-310
          creating build/temp.macosx-11.0-arm64-cpython-310/imagecodecs
          clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -I/opt/homebrew/include -Iimagecodecs -I/Users/kyle/repos/mypackage/.venv/include -I/Users/kyle/miniconda3/include/python3.10 -I/private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include -c imagecodecs/_aec.c -o build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_aec.o
          In file included from imagecodecs/_aec.c:746:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1940:
          /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
          #warning "Using deprecated NumPy API, disable it with " \
           ^
          imagecodecs/_aec.c:24714:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_aec.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          imagecodecs/_aec.c:24725:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_aec.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          3 warnings generated.
          clang -bundle -undefined dynamic_lookup -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -L/opt/homebrew/lib -I/opt/homebrew/include build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_aec.o -lm -laec -o build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/_aec.cpython-310-darwin.so
          ld: warning: dylib (/opt/homebrew/lib/libaec.dylib) was built for newer macOS version (13.0) than being linked (11.0)
          building 'imagecodecs._bitshuffle' extension
          creating build/temp.macosx-11.0-arm64-cpython-310/3rdparty
          creating build/temp.macosx-11.0-arm64-cpython-310/3rdparty/bitshuffle
          clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -I/opt/homebrew/include -Iimagecodecs -I3rdparty/bitshuffle -I/Users/kyle/repos/mypackage/.venv/include -I/Users/kyle/miniconda3/include/python3.10 -I/private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include -c 3rdparty/bitshuffle/bitshuffle_core.c -o build/temp.macosx-11.0-arm64-cpython-310/3rdparty/bitshuffle/bitshuffle_core.o
          3rdparty/bitshuffle/bitshuffle_core.c:405:23: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  a0 = vld1q_s8(in_b + 2*ii + 0*16);
                                ^~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:406:23: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  b0 = vld1q_s8(in_b + 2*ii + 1*16);
                                ^~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:420:18: warning: assigning to 'signed char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  vst1q_s8(out_b + 0*size + ii, a0);
                           ^~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:26867:26: note: expanded from macro 'vst1q_s8'
            __builtin_neon_vst1q_v(__p0, (int8x16_t)__s1, 32); \
                                   ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:421:18: warning: assigning to 'signed char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  vst1q_s8(out_b + 1*size + ii, b0);
                           ^~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:26867:26: note: expanded from macro 'vst1q_s8'
            __builtin_neon_vst1q_v(__p0, (int8x16_t)__s1, 32); \
                                   ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:441:23: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  a0 = vld1q_s8(in_b + 4*ii + 0*16);
                                ^~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:442:23: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  b0 = vld1q_s8(in_b + 4*ii + 1*16);
                                ^~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:443:23: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  c0 = vld1q_s8(in_b + 4*ii + 2*16);
                                ^~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:444:23: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  d0 = vld1q_s8(in_b + 4*ii + 3*16);
                                ^~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:487:23: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  a0 = vld1q_s8(in_b + 8*ii + 0*16);
                                ^~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:488:23: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  b0 = vld1q_s8(in_b + 8*ii + 1*16);
                                ^~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:489:23: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  c0 = vld1q_s8(in_b + 8*ii + 2*16);
                                ^~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:490:23: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  d0 = vld1q_s8(in_b + 8*ii + 3*16);
                                ^~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:491:23: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  e0 = vld1q_s8(in_b + 8*ii + 4*16);
                                ^~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:492:23: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  f0 = vld1q_s8(in_b + 8*ii + 5*16);
                                ^~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:493:23: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  g0 = vld1q_s8(in_b + 8*ii + 6*16);
                                ^~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:494:23: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  h0 = vld1q_s8(in_b + 8*ii + 7*16);
                                ^~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:532:18: warning: assigning to 'signed char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  vst1q_s8(out_b + 0*size + ii, a0);
                           ^~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:26867:26: note: expanded from macro 'vst1q_s8'
            __builtin_neon_vst1q_v(__p0, (int8x16_t)__s1, 32); \
                                   ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:533:18: warning: assigning to 'signed char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  vst1q_s8(out_b + 1*size + ii, b0);
                           ^~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:26867:26: note: expanded from macro 'vst1q_s8'
            __builtin_neon_vst1q_v(__p0, (int8x16_t)__s1, 32); \
                                   ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:534:18: warning: assigning to 'signed char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  vst1q_s8(out_b + 2*size + ii, c0);
                           ^~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:26867:26: note: expanded from macro 'vst1q_s8'
            __builtin_neon_vst1q_v(__p0, (int8x16_t)__s1, 32); \
                                   ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:535:18: warning: assigning to 'signed char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  vst1q_s8(out_b + 3*size + ii, d0);
                           ^~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:26867:26: note: expanded from macro 'vst1q_s8'
            __builtin_neon_vst1q_v(__p0, (int8x16_t)__s1, 32); \
                                   ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:536:18: warning: assigning to 'signed char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  vst1q_s8(out_b + 4*size + ii, e0);
                           ^~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:26867:26: note: expanded from macro 'vst1q_s8'
            __builtin_neon_vst1q_v(__p0, (int8x16_t)__s1, 32); \
                                   ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:537:18: warning: assigning to 'signed char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  vst1q_s8(out_b + 5*size + ii, f0);
                           ^~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:26867:26: note: expanded from macro 'vst1q_s8'
            __builtin_neon_vst1q_v(__p0, (int8x16_t)__s1, 32); \
                                   ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:538:18: warning: assigning to 'signed char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  vst1q_s8(out_b + 6*size + ii, g0);
                           ^~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:26867:26: note: expanded from macro 'vst1q_s8'
            __builtin_neon_vst1q_v(__p0, (int8x16_t)__s1, 32); \
                                   ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:539:18: warning: assigning to 'signed char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                  vst1q_s8(out_b + 7*size + ii, h0);
                           ^~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:26867:26: note: expanded from macro 'vst1q_s8'
            __builtin_neon_vst1q_v(__p0, (int8x16_t)__s1, 32); \
                                   ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:697:27: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                      a0 = vld1q_s8(in_b + (ii + 0)*nbyte_row + jj);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:698:27: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                      b0 = vld1q_s8(in_b + (ii + 1)*nbyte_row + jj);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:699:27: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                      c0 = vld1q_s8(in_b + (ii + 2)*nbyte_row + jj);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:700:27: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                      d0 = vld1q_s8(in_b + (ii + 3)*nbyte_row + jj);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:701:27: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                      e0 = vld1q_s8(in_b + (ii + 4)*nbyte_row + jj);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:702:27: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                      f0 = vld1q_s8(in_b + (ii + 5)*nbyte_row + jj);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:703:27: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                      g0 = vld1q_s8(in_b + (ii + 6)*nbyte_row + jj);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          3rdparty/bitshuffle/bitshuffle_core.c:704:27: warning: assigning to 'const signed char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                      h0 = vld1q_s8(in_b + (ii + 7)*nbyte_row + jj);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_neon.h:8771:46: note: expanded from macro 'vld1q_s8'
            __ret = (int8x16_t) __builtin_neon_vld1q_v(__p0, 32); \
                                                       ^~~~
          32 warnings generated.
          clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -I/opt/homebrew/include -Iimagecodecs -I3rdparty/bitshuffle -I/Users/kyle/repos/mypackage/.venv/include -I/Users/kyle/miniconda3/include/python3.10 -I/private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include -c 3rdparty/bitshuffle/iochain.c -o build/temp.macosx-11.0-arm64-cpython-310/3rdparty/bitshuffle/iochain.o
          clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -I/opt/homebrew/include -Iimagecodecs -I3rdparty/bitshuffle -I/Users/kyle/repos/mypackage/.venv/include -I/Users/kyle/miniconda3/include/python3.10 -I/private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include -c imagecodecs/_bitshuffle.c -o build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_bitshuffle.o
          In file included from imagecodecs/_bitshuffle.c:746:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1940:
          /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
          #warning "Using deprecated NumPy API, disable it with " \
           ^
          imagecodecs/_bitshuffle.c:23337:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_bitshuffle.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          imagecodecs/_bitshuffle.c:23348:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_bitshuffle.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          3 warnings generated.
          clang -bundle -undefined dynamic_lookup -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -L/opt/homebrew/lib -I/opt/homebrew/include build/temp.macosx-11.0-arm64-cpython-310/3rdparty/bitshuffle/bitshuffle_core.o build/temp.macosx-11.0-arm64-cpython-310/3rdparty/bitshuffle/iochain.o build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_bitshuffle.o -lm -o build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/_bitshuffle.cpython-310-darwin.so
          building 'imagecodecs._blosc' extension
          clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -I/opt/homebrew/include -Iimagecodecs -I/Users/kyle/repos/mypackage/.venv/include -I/Users/kyle/miniconda3/include/python3.10 -I/private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include -c imagecodecs/_blosc.c -o build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_blosc.o
          In file included from imagecodecs/_blosc.c:746:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1940:
          /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
          #warning "Using deprecated NumPy API, disable it with " \
           ^
          imagecodecs/_blosc.c:23225:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_blosc.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          imagecodecs/_blosc.c:23236:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_blosc.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          3 warnings generated.
          clang -bundle -undefined dynamic_lookup -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -L/opt/homebrew/lib -I/opt/homebrew/include build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_blosc.o -lm -lblosc -o build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/_blosc.cpython-310-darwin.so
          ld: warning: dylib (/opt/homebrew/lib/libblosc.dylib) was built for newer macOS version (13.0) than being linked (11.0)
          building 'imagecodecs._brotli' extension
          clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -I/opt/homebrew/include -Iimagecodecs -I/Users/kyle/repos/mypackage/.venv/include -I/Users/kyle/miniconda3/include/python3.10 -I/private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include -c imagecodecs/_brotli.c -o build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_brotli.o
          In file included from imagecodecs/_brotli.c:746:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1940:
          /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
          #warning "Using deprecated NumPy API, disable it with " \
           ^
          imagecodecs/_brotli.c:22791:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_brotli.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          imagecodecs/_brotli.c:22802:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_brotli.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          3 warnings generated.
          clang -bundle -undefined dynamic_lookup -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -L/opt/homebrew/lib -I/opt/homebrew/include build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_brotli.o -lm -lbrotlienc -lbrotlidec -lbrotlicommon -o build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/_brotli.cpython-310-darwin.so
          building 'imagecodecs._bz2' extension
          clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -I/opt/homebrew/include -Iimagecodecs -I/Users/kyle/repos/mypackage/.venv/include -I/Users/kyle/miniconda3/include/python3.10 -I/private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include -c imagecodecs/_bz2.c -o build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_bz2.o
          In file included from imagecodecs/_bz2.c:746:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1940:
          /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
          #warning "Using deprecated NumPy API, disable it with " \
           ^
          imagecodecs/_bz2.c:23236:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_bz2.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          imagecodecs/_bz2.c:23247:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_bz2.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          3 warnings generated.
          clang -bundle -undefined dynamic_lookup -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -L/opt/homebrew/lib -I/opt/homebrew/include build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_bz2.o -lm -lbz2 -o build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/_bz2.cpython-310-darwin.so
          building 'imagecodecs._cms' extension
          clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -I/opt/homebrew/include -Iimagecodecs -I/Users/kyle/repos/mypackage/.venv/include -I/Users/kyle/miniconda3/include/python3.10 -I/private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include -c imagecodecs/_cms.c -o build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_cms.o
          In file included from imagecodecs/_cms.c:746:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1940:
          /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
          #warning "Using deprecated NumPy API, disable it with " \
           ^
          imagecodecs/_cms.c:33013:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_cms.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          imagecodecs/_cms.c:33024:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_cms.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          3 warnings generated.
          clang -bundle -undefined dynamic_lookup -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -L/opt/homebrew/lib -I/opt/homebrew/include build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_cms.o -lm -llcms2 -o build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/_cms.cpython-310-darwin.so
          building 'imagecodecs._deflate' extension
          clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -I/opt/homebrew/include -Iimagecodecs -I/Users/kyle/repos/mypackage/.venv/include -I/Users/kyle/miniconda3/include/python3.10 -I/private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include -c imagecodecs/_deflate.c -o build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_deflate.o
          In file included from imagecodecs/_deflate.c:746:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1940:
          /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
          #warning "Using deprecated NumPy API, disable it with " \
           ^
          imagecodecs/_deflate.c:25993:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_deflate.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          imagecodecs/_deflate.c:26004:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_deflate.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          3 warnings generated.
          clang -bundle -undefined dynamic_lookup -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -L/opt/homebrew/lib -I/opt/homebrew/include build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_deflate.o -lm -ldeflate -o build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/_deflate.cpython-310-darwin.so
          building 'imagecodecs._gif' extension
          clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -I/opt/homebrew/include -Iimagecodecs -I/Users/kyle/repos/mypackage/.venv/include -I/Users/kyle/miniconda3/include/python3.10 -I/private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include -c imagecodecs/_gif.c -o build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_gif.o
          In file included from imagecodecs/_gif.c:746:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1940:
          /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
          #warning "Using deprecated NumPy API, disable it with " \
           ^
          imagecodecs/_gif.c:26384:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_gif.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          imagecodecs/_gif.c:26395:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_gif.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          3 warnings generated.
          clang -bundle -undefined dynamic_lookup -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -L/opt/homebrew/lib -I/opt/homebrew/include build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_gif.o -lm -lgif -o build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/_gif.cpython-310-darwin.so
          ld: warning: dylib (/opt/homebrew/lib/libgif.dylib) was built for newer macOS version (12.0) than being linked (11.0)
          building 'imagecodecs._heif' extension
          clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -I/opt/homebrew/include -Iimagecodecs -I/Users/kyle/repos/mypackage/.venv/include -I/Users/kyle/miniconda3/include/python3.10 -I/private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include -c imagecodecs/_heif.c -o build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_heif.o
          In file included from imagecodecs/_heif.c:746:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1940:
          /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
          #warning "Using deprecated NumPy API, disable it with " \
           ^
          imagecodecs/_heif.c:31311:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_heif.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          imagecodecs/_heif.c:31322:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_heif.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          imagecodecs/_heif.c:12355:12: warning: unused function '__pyx_f_11imagecodecs_5_heif_output_seek' [-Wunused-function]
          static int __pyx_f_11imagecodecs_5_heif_output_seek(__pyx_t_11imagecodecs_5_heif_output_t *__pyx_v_output, size_t __pyx_v_pos) {
                     ^
          4 warnings generated.
          clang -bundle -undefined dynamic_lookup -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -L/opt/homebrew/lib -I/opt/homebrew/include build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_heif.o -lm -lheif -o build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/_heif.cpython-310-darwin.so
          ld: warning: dylib (/opt/homebrew/lib/libheif.dylib) was built for newer macOS version (13.0) than being linked (11.0)
          building 'imagecodecs._imcd' extension
          clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -I/opt/homebrew/include -Iimagecodecs -I/Users/kyle/repos/mypackage/.venv/include -I/Users/kyle/miniconda3/include/python3.10 -I/private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include -c imagecodecs/_imcd.c -o build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_imcd.o
          In file included from imagecodecs/_imcd.c:746:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
          In file included from /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1940:
          /private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
          #warning "Using deprecated NumPy API, disable it with " \
           ^
          imagecodecs/_imcd.c:18011:163: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                  __pyx_v_ret = imcd_lzw_encode((&(*((uint8_t const  *) ( /* dim=0 */ ((char *) (((uint8_t const  *) __pyx_v_src.data) + __pyx_t_4)) )))), __pyx_v_srcsize, (&(*((uint8_t const  *) ( /* dim=0 */ ((char *) (((uint8_t const  *) __pyx_v_dst.data) + __pyx_t_13)) )))), __pyx_v_dstsize);
                                                                                                                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          imagecodecs/imcd.h:299:14: note: passing argument to parameter 'dst' here
              uint8_t* dst,
                       ^
          imagecodecs/_imcd.c:37849:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_imcd.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          imagecodecs/_imcd.c:37860:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_imcd.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          imagecodecs/_imcd.c:38256:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_imcd.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          imagecodecs/_imcd.c:38267:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
                              CYTHON_FALLTHROUGH;
                              ^
          imagecodecs/_imcd.c:341:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
                #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
                                           ^
          6 warnings generated.
          clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -I/opt/homebrew/include -Iimagecodecs -I/Users/kyle/repos/mypackage/.venv/include -I/Users/kyle/miniconda3/include/python3.10 -I/private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include -c imagecodecs/imcd.c -o build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/imcd.o
          imagecodecs/imcd.c:831:12: warning: code will never be executed [-Wunreachable-code]
              while (srcptr < srcend) {
                     ^~~~~~
          imagecodecs/imcd.c:848:20: warning: unused variable 'dstend' [-Wunused-variable]
              const uint8_t* dstend = dstptr + dstsize;
                             ^
          imagecodecs/imcd.c:857:12: warning: code will never be executed [-Wunreachable-code]
              while (srcptr < srcend) {
                     ^~~~~~
          3 warnings generated.
          clang -bundle -undefined dynamic_lookup -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -Wl,-rpath,/Users/kyle/miniconda3/lib -L/Users/kyle/miniconda3/lib -L/opt/homebrew/lib -I/opt/homebrew/include build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/_imcd.o build/temp.macosx-11.0-arm64-cpython-310/imagecodecs/imcd.o -lm -o build/lib.macosx-11.0-arm64-cpython-310/imagecodecs/_imcd.cpython-310-darwin.so
          building 'imagecodecs._jpeg2k' extension
          creating build/temp.macosx-11.0-arm64-cpython-310/3rdparty/openjpeg
          clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -fPIC -O2 -isystem /Users/kyle/miniconda3/include -arch arm64 -I/opt/homebrew/include -Iimagecodecs -I3rdparty/openjpeg -I/usr/include/openjpeg-2.3 -I/usr/include/openjpeg-2.4 -I/usr/include/openjpeg-2.5 -I/Users/kyle/repos/mypackage/.venv/include -I/Users/kyle/miniconda3/include/python3.10 -I/private/var/folders/vb/x3440mmx7r94t8h96l799zym0000gn/T/pip-build-env-go167rua/normal/lib/python3.10/site-packages/numpy/core/include -c 3rdparty/openjpeg/color.c -o build/temp.macosx-11.0-arm64-cpython-310/3rdparty/openjpeg/color.o
          3rdparty/openjpeg/color.c:45:10: fatal error: 'openjpeg.h' file not found
          #include "openjpeg.h"
                   ^~~~~~~~~~~~
          1 error generated.
          error: command '/usr/bin/clang' failed with exit code 1
          [end of output]

      note: This error originates from a subprocess, and is likely not a problem with pip.
      ERROR: Failed building wheel for imagecodecs
    Failed to build imagecodecs
    ERROR: Could not build wheels for imagecodecs, which is required to install pyproject.toml-based projects

    at ~/Library/Application Support/pypoetry/venv/lib/python3.10/site-packages/poetry/utils/env.py:1540 in _run
        1536│                 output = subprocess.check_output(
        1537│                     command, stderr=subprocess.STDOUT, env=env, **kwargs
        1538│                 )
        1539│         except CalledProcessError as e:
      → 1540│             raise EnvCommandError(e, input=input_)
        1541│ 
        1542│         return decode(output)
        1543│ 
        1544│     def execute(self, bin: str, *args: str, **kwargs: Any) -> int:

  The following error occurred when trying to handle this error:

    Stack trace:

    5  ~/Library/Application Support/pypoetry/venv/lib/python3.10/site-packages/poetry/installation/executor.py:263 in _execute_operation
        261│ 
        262│             try:
      → 263│                 result = self._do_execute_operation(operation)
        264│             except EnvCommandError as e:
        265│                 if e.e.returncode == -2:

    4  ~/Library/Application Support/pypoetry/venv/lib/python3.10/site-packages/poetry/installation/executor.py:334 in _do_execute_operation
        332│             return 0
        333│ 
      → 334│         result: int = getattr(self, f"_execute_{method}")(operation)
        335│ 
        336│         if result != 0:

    3  ~/Library/Application Support/pypoetry/venv/lib/python3.10/site-packages/poetry/installation/executor.py:454 in _execute_install
        452│ 
        453│     def _execute_install(self, operation: Install | Update) -> int:
      → 454│         status_code = self._install(operation)
        455│ 
        456│         self._save_url_reference(operation)

    2  ~/Library/Application Support/pypoetry/venv/lib/python3.10/site-packages/poetry/installation/executor.py:496 in _install
        494│         )
        495│         self._write(operation, message)
      → 496│         return self.pip_install(archive, upgrade=operation.job_type == "update")
        497│ 
        498│     def _update(self, operation: Install | Update) -> int:

    1  ~/Library/Application Support/pypoetry/venv/lib/python3.10/site-packages/poetry/installation/executor.py:125 in pip_install
        123│     ) -> int:
        124│         try:
      → 125│             pip_install(req, self._env, upgrade=upgrade, editable=editable)
        126│         except EnvCommandError as e:
        127│             output = decode(e.e.output)

    PoetryException

    Failed to install /Users/kyle/Library/Caches/pypoetry/artifacts/7e/80/63/cc184e6f548b0c7631215403caf7b092d86a087b6624dcdaa0805d2617/imagecodecs-2023.1.23.tar.gz

    at ~/Library/Application Support/pypoetry/venv/lib/python3.10/site-packages/poetry/utils/pip.py:58 in pip_install
         54│ 
         55│     try:
         56│         return environment.run_pip(*args)
         57│     except EnvCommandError as e:
      →  58│         raise PoetryException(f"Failed to install {path.as_posix()}") from e
         59│ 
dimbleby commented 1 year ago

this isn't a poetry question, it's an imagecodecs question.

build requirements are listed at https://github.com/cgohlke/imagecodecs/#requirements

kpeez commented 1 year ago

thanks! it seems like you're right -- although I was able to install imagecodecs using conda, I get the same error if I try to install via pip.

github-actions[bot] commented 7 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.