- Notifications
You must be signed in to change notification settings - Fork 234
Closed
Description
Impossible to build msgpack on python 3.13 because of what looks like an deprecation warning
× Building wheel for msgpack (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [45 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-313 creating build/lib.linux-x86_64-cpython-313/msgpack copying msgpack/fallback.py -> build/lib.linux-x86_64-cpython-313/msgpack copying msgpack/__init__.py -> build/lib.linux-x86_64-cpython-313/msgpack copying msgpack/exceptions.py -> build/lib.linux-x86_64-cpython-313/msgpack copying msgpack/ext.py -> build/lib.linux-x86_64-cpython-313/msgpack running build_ext building 'msgpack._cmsgpack' extension creating build/temp.linux-x86_64-cpython-313 creating build/temp.linux-x86_64-cpython-313/msgpack gcc -pthread -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I. -I/home/runner/work/pydoctor/pydoctor/.tox/test/include -I/opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13 -c msgpack/_cmsgpack.cpp -o build/temp.linux-x86_64-cpython-313/msgpack/_cmsgpack.o msgpack/_cmsgpack.cpp:1366:72: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 1366 | static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u) | ^ In file included from /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/unicodeobject.h:1014, from /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/Python.h:65, from msgpack/_cmsgpack.cpp:16: /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/cpython/unicodeobject.h:10:37: note: declared here 10 | Py_DEPRECATED(3.13) typedef wchar_t Py_UNICODE; | ^~~~~~~~~~ msgpack/_cmsgpack.cpp: In function ‘size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE*)’: msgpack/_cmsgpack.cpp:1368:23: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 1368 | const Py_UNICODE *u_end = u; | ^~~~~ In file included from /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/unicodeobject.h:1014, from /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/Python.h:65, from msgpack/_cmsgpack.cpp:16: /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/cpython/unicodeobject.h:10:37: note: declared here 10 | Py_DEPRECATED(3.13) typedef wchar_t Py_UNICODE; | ^~~~~~~~~~ In file included from /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/internal/pycore_code.h:461, from /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/internal/pycore_frame.h:13, from msgpack/_cmsgpack.cpp:22559: /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/internal/pycore_backoff.h: In function ‘_Py_BackoffCounter make_backoff_counter(uint16_t, uint16_t)’: /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/internal/pycore_backoff.h:47:44: warning: narrowing conversion of ‘backoff’ from ‘uint16_t’{aka ‘short unsigned int’} to ‘unsigned char:4’ [-Wnarrowing] 47 | return (_Py_BackoffCounter){.backoff = backoff, .value = value}; | ^~~~~~~ /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/internal/pycore_backoff.h:47:67: error: too many initializers for ‘_Py_BackoffCounter’ 47 | return (_Py_BackoffCounter){.backoff = backoff, .value = value}; | ^ error: command '/usr/bin/gcc' failed with exit code 1 [end of output] Metadata
Metadata
Assignees
Labels
No labels