forked from inveniosoftware-contrib/intbitset
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I was trying to test scancode-toolkit with Python 3.13.0 and I ran into this when configuring it:
Building wheel for intbitset (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for intbitset (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [44 lines of output]
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-313
copying intbitset/intbitset_helper.py -> build/lib.linux-x86_64-cpython-313
copying intbitset/intbitset_version.py -> build/lib.linux-x86_64-cpython-313
running egg_info
writing intbitset/intbitset.egg-info/PKG-INFO
writing dependency_links to intbitset/intbitset.egg-info/dependency_links.txt
writing requirements to intbitset/intbitset.egg-info/requires.txt
writing top-level names to intbitset/intbitset.egg-info/top_level.txt
reading manifest file 'intbitset/intbitset.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.sh'
warning: no files found matching '*.yml'
warning: no files found matching '*.css' under directory 'docs/_themes'
warning: no files found matching '*.css_t' under directory 'docs/_themes'
warning: no files found matching '*.conf' under directory 'docs/_themes'
warning: no files found matching '*.html' under directory 'docs/_themes'
warning: no files found matching 'COPYING' under directory 'docs/_themes'
warning: no files found matching 'README' under directory 'docs/_themes'
warning: no files found matching '*.html' under directory 'docs/_templates'
adding license file 'LICENSE'
adding license file 'AUTHORS.rst'
adding license file 'README.rst'
adding license file 'CHANGELOG.rst'
writing manifest file 'intbitset/intbitset.egg-info/SOURCES.txt'
running build_ext
building 'intbitset' extension
creating build/temp.linux-x86_64-cpython-313/intbitset
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/home/jono/nexb/src/scancode-toolkit/venv/include -I/home/jono/.pyenv/versions/3.13.0/include/python3.13 -c intbitset/intbitset.c -o build/temp.linux-x86_64-cpython-313/intbitset/intbitset.o
intbitset/intbitset.c:1275:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations]
1275 | static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
| ^~~~~~
intbitset/intbitset.c: In function ‘__Pyx_Py_UNICODE_strlen’:
intbitset/intbitset.c:1277:5: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations]
1277 | const Py_UNICODE *u_end = u;
| ^~~~~
intbitset/intbitset.c: In function ‘__pyx_pf_9intbitset_9intbitset___cinit__’:
intbitset/intbitset.c:4268:26: error: implicit declaration of function ‘PyObject_AsReadBuffer’; did you mean ‘PyObject_GetBuffer’? [-Wimplicit-function-declaration]
4268 | __pyx_t_4 = (PyObject_AsReadBuffer(__pyx_v_tmp, (&__pyx_v_buf), (&__pyx_v_size)) < 0);
| ^~~~~~~~~~~~~~~~~~~~~
| PyObject_GetBuffer
error: command '/usr/bin/gcc' 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 intbitset
PyObject_AsReadBuffer has been deprecated and should be replaced with PyObject_GetBuffer (python/cpython#85275)
Metadata
Metadata
Assignees
Labels
No labels