Title: Python 3.13: compile error on Ubuntu 20.04 · Issue #593 · msgpack/msgpack-python · GitHub
Open Graph Title: Python 3.13: compile error on Ubuntu 20.04 · Issue #593 · msgpack/msgpack-python
X Title: Python 3.13: compile error on Ubuntu 20.04 · Issue #593 · msgpack/msgpack-python
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 buil...
Open Graph 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 ...
X 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 ...
Opengraph URL: https://github.com/msgpack/msgpack-python/issues/593
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python 3.13: compile error on Ubuntu 20.04","articleBody":"Impossible to build msgpack on python 3.13 because of what looks like an deprecation warning\r\n\r\n```\r\n × Building wheel for msgpack (pyproject.toml) did not run successfully.\r\n │ exit code: 1\r\n ╰─\u003e [45 lines of output]\r\n running bdist_wheel\r\n running build\r\n running build_py\r\n creating build\r\n creating build/lib.linux-x86_64-cpython-313\r\n creating build/lib.linux-x86_64-cpython-313/msgpack\r\n copying msgpack/fallback.py -\u003e build/lib.linux-x86_64-cpython-313/msgpack\r\n copying msgpack/__init__.py -\u003e build/lib.linux-x86_64-cpython-313/msgpack\r\n copying msgpack/exceptions.py -\u003e build/lib.linux-x86_64-cpython-313/msgpack\r\n copying msgpack/ext.py -\u003e build/lib.linux-x86_64-cpython-313/msgpack\r\n running build_ext\r\n building 'msgpack._cmsgpack' extension\r\n creating build/temp.linux-x86_64-cpython-313\r\n creating build/temp.linux-x86_64-cpython-313/msgpack\r\n 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\r\n msgpack/_cmsgpack.cpp:1366:72: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations]\r\n 1366 | static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)\r\n | ^\r\n In file included from /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/unicodeobject.h:1014,\r\n from /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/Python.h:65,\r\n from msgpack/_cmsgpack.cpp:16:\r\n /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/cpython/unicodeobject.h:10:37: note: declared here\r\n 10 | Py_DEPRECATED(3.13) typedef wchar_t Py_UNICODE;\r\n | ^~~~~~~~~~\r\n msgpack/_cmsgpack.cpp: In function ‘size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE*)’:\r\n msgpack/_cmsgpack.cpp:1368:23: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations]\r\n 1368 | const Py_UNICODE *u_end = u;\r\n | ^~~~~\r\n In file included from /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/unicodeobject.h:1014,\r\n from /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/Python.h:65,\r\n from msgpack/_cmsgpack.cpp:16:\r\n /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/cpython/unicodeobject.h:10:37: note: declared here\r\n 10 | Py_DEPRECATED(3.13) typedef wchar_t Py_UNICODE;\r\n | ^~~~~~~~~~\r\n In file included from /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/internal/pycore_code.h:461,\r\n from /opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/include/python3.13/internal/pycore_frame.h:13,\r\n from msgpack/_cmsgpack.cpp:22559:\r\n /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)’:\r\n /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]\r\n 47 | return (_Py_BackoffCounter){.backoff = backoff, .value = value};\r\n | ^~~~~~~\r\n /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’\r\n 47 | return (_Py_BackoffCounter){.backoff = backoff, .value = value};\r\n | ^\r\n error: command '/usr/bin/gcc' failed with exit code 1\r\n [end of output]\r\n```","author":{"url":"https://github.com/tristanlatr","@type":"Person","name":"tristanlatr"},"datePublished":"2024-04-19T15:17:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/593/msgpack-python/issues/593"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:57587936-cfbc-9b32-1743-b05f14b8346e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C9B4:3A39CB:BC9E34:10957AE:696F439D |
| html-safe-nonce | 347b1cb62f25bf9344318af194fd52459919a0bcafbcf2f152d12d88e49d3e53 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUI0OjNBMzlDQjpCQzlFMzQ6MTA5NTdBRTo2OTZGNDM5RCIsInZpc2l0b3JfaWQiOiI1MTY0NzI4OTgzMDA5MzEzNjkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 79c7cd89f9d0a6c17bc9f01fb698e36534fec35bf982f141e80dd7396589917e |
| hovercard-subject-tag | issue:2253263054 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/msgpack/msgpack-python/593/issue_layout |
| twitter:image | https://opengraph.githubassets.com/40e56bd20653eee24007eb5d9279d0de99bf570cacb466c15ceb22d423d9e359/msgpack/msgpack-python/issues/593 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/40e56bd20653eee24007eb5d9279d0de99bf570cacb466c15ceb22d423d9e359/msgpack/msgpack-python/issues/593 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tristanlatr |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/msgpack/msgpack-python git https://github.com/msgpack/msgpack-python.git |
| octolytics-dimension-user_id | 198264 |
| octolytics-dimension-user_login | msgpack |
| octolytics-dimension-repository_id | 2242705 |
| octolytics-dimension-repository_nwo | msgpack/msgpack-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2242705 |
| octolytics-dimension-repository_network_root_nwo | msgpack/msgpack-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width