Skip to content
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

Support Python 3.13 #66

Open
MBueschelberger opened this issue Oct 15, 2024 · 0 comments
Open

Support Python 3.13 #66

MBueschelberger opened this issue Oct 15, 2024 · 0 comments

Comments

@MBueschelberger
Copy link
Member

Currently, Python3.11 is not supported:

            In file included from /tmp/pip-install-pp5fh__l/blosc2_b437c54f9855466e9f45e6f94251f06f/_skbuild/linux-x86_64-3.13/cmake-build/blosc2/blosc2_ext.c:73270:0:
            /isi/w/mor/Software/Miniconda_3/Miniconda_3/envs/StahlDigital_Data2RDF2/include/python3.13/internal/pycore_frame.h: In function ‘_PyFrame_Copy’:
            /isi/w/mor/Software/Miniconda_3/Miniconda_3/envs/StahlDigital_Data2RDF2/include/python3.13/internal/pycore_frame.h:121:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
                 for (int i = 1; i < src->stacktop; i++) {
                 ^
            /isi/w/mor/Software/Miniconda_3/Miniconda_3/envs/StahlDigital_Data2RDF2/include/python3.13/internal/pycore_frame.h: In function ‘_PyFrame_Initialize’:
            /isi/w/mor/Software/Miniconda_3/Miniconda_3/envs/StahlDigital_Data2RDF2/include/python3.13/internal/pycore_frame.h:149:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
                 for (int i = null_locals_from; i < code->co_nlocalsplus; i++) {
                 ^
            ninja: build stopped: subcommand failed.
            Traceback (most recent call last):
              File "/tmp/pip-build-env-0r8qknwp/overlay/lib/python3.13/site-packages/skbuild/setuptools_wrap.py", line 668, in setup
                cmkr.make(make_args, install_target=cmake_install_target, env=env)
                ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-0r8qknwp/overlay/lib/python3.13/site-packages/skbuild/cmaker.py", line 696, in make
                self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
                ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/tmp/pip-build-env-0r8qknwp/overlay/lib/python3.13/site-packages/skbuild/cmaker.py", line 741, in make_impl
                raise SKBuildError(msg)
 
            An error occurred while building with CMake.
              Command:
                /tmp/pip-build-env-0r8qknwp/overlay/lib/python3.13/site-packages/cmake/data/bin/cmake --build . --target install --config Release --
              Install target:
                install
              Source directory:
                /tmp/pip-install-pp5fh__l/blosc2_b437c54f9855466e9f45e6f94251f06f
              Working directory:
                /tmp/pip-install-pp5fh__l/blosc2_b437c54f9855466e9f45e6f94251f06f/_skbuild/linux-x86_64-3.13/cmake-build
            Please check the install target is valid and see CMake's output for more information.
 
            [end of output]
 
        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for blosc2
      Failed to build blosc2
      ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (blosc2)
      [end of output]
 
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
 
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant