-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation fails on Python 3.13 #593
Comments
Thanks for reporting, this is a known issue that is fixed, we just need to do a release. |
Great, thanks a lot for the quick reply. I could not find a (closed) issue related to it (I guess it might be #553 in hindsight), so assumed it was not yet resolved. Great to hear that it is though. |
Should work now, 0.13.1 is up on PyPi 🚀 |
Great, indeed it works now, thanks a lot! |
Similar work is being done in conda-forge with PR: conda-forge/numcodecs-feedstock#110 @dstansby could you please review? |
Minimal, reproducible code sample, a copy-pastable example if possible
pip install numcodecs
in a python 3.13 environment (Windows 10 with conda in my case)Problem description
Results in:
Traceback from `pip install zarr`
``` (py313_env) c:\DATA>pip install zarr Collecting zarr Using cached zarr-2.18.3-py3-none-any.whl.metadata (5.7 kB) Collecting asciitree (from zarr) Using cached asciitree-0.3.3-py3-none-any.whl Requirement already satisfied: numpy>=1.24 in c:\users\veenstra\appdata\local\miniforge3\envs\py313_env\lib\site-packages (from zarr) (2.1.2) Collecting numcodecs>=0.10.0 (from zarr) Using cached numcodecs-0.13.0.tar.gz (5.9 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting fasteners (from zarr) Using cached fasteners-0.19-py3-none-any.whl.metadata (4.9 kB) Using cached zarr-2.18.3-py3-none-any.whl (210 kB) Using cached fasteners-0.19-py3-none-any.whl (18 kB) Building wheels for collected packages: numcodecs Building wheel for numcodecs (pyproject.toml) ... error error: subprocess-exited-with-error× Building wheel for numcodecs (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [241 lines of output]
[numcodecs] setting up Blosc extension
[numcodecs] compiling Blosc extension with SSE2 support
[numcodecs] compiling Blosc extension with AVX2 support
[numcodecs] setting up Zstandard extension
[numcodecs] setting up LZ4 extension
[numcodecs] setting up compat extension
[numcodecs] setting up shuffle extension
[numcodecs] setting up vlen extension
[numcodecs] setting up fletcher32 extension
[numcodecs] setting up jenkins extension
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\abc.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\astype.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\base64.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\bitround.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\bz2.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\categorize.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\checksum32.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\compat.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\delta.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\fixedscaleoffset.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\gzip.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\json.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\lzma.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\msgpacks.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\ndarray_like.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\packbits.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\pcodec.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\pickles.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\quantize.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\registry.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\shuffle.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\version.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\zfpy.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs\zlib.py -> build\lib.win-amd64-cpython-313\numcodecs
copying .\numcodecs_init_.py -> build\lib.win-amd64-cpython-313\numcodecs
creating build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\common.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_astype.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_base64.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_bitround.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_blosc.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_bz2.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_categorize.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_checksum32.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_compat.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_delta.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_entrypoints.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_entrypoints_backport.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_fixedscaleoffset.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_fletcher32.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_gzip.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_jenkins.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_json.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_lz4.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_lzma.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_msgpacks.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_ndarray_like.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_packbits.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_pcodec.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_pickles.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_quantize.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_registry.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_shuffle.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_vlen_array.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_vlen_bytes.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_vlen_utf8.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_zfpy.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_zlib.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests\test_zstd.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
copying .\numcodecs\tests_init_.py -> build\lib.win-amd64-cpython-313\numcodecs\tests
running egg_info
writing numcodecs.egg-info\PKG-INFO
writing dependency_links to numcodecs.egg-info\dependency_links.txt
writing requirements to numcodecs.egg-info\requires.txt
writing top-level names to numcodecs.egg-info\top_level.txt
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
reading manifest file 'numcodecs.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file 'numcodecs.egg-info\SOURCES.txt'
C:\Users\veenstra\AppData\Local\Temp\pip-build-env-9vdrdn1g\overlay\Lib\site-packages\setuptools\command\build_py.py:218: _Warning: Package 'numcodecs.tests.package_with_entrypoint' is absent from the
packages
configuration.note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for numcodecs
Failed to build numcodecs
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (numcodecs)
The text was updated successfully, but these errors were encountered: