Closed
Description
Python 3.13 is going to be released soon. We already have RC1 for a month.
I am using official docker image python:3.13.0rc1
# pip install httptools
Collecting httptools
Downloading httptools-0.6.1.tar.gz (191 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 191.2/191.2 kB 2.8 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Building wheels for collected packages: httptools
Building wheel for httptools (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [60 lines of output]
/usr/local/lib/python3.13/site-packages/setuptools/_distutils/dist.py:268: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
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/httptools
copying httptools/__init__.py -> build/lib.linux-x86_64-cpython-313/httptools
copying httptools/_version.py -> build/lib.linux-x86_64-cpython-313/httptools
creating build/lib.linux-x86_64-cpython-313/httptools/parser
copying httptools/parser/errors.py -> build/lib.linux-x86_64-cpython-313/httptools/parser
copying httptools/parser/__init__.py -> build/lib.linux-x86_64-cpython-313/httptools/parser
running egg_info
writing httptools.egg-info/PKG-INFO
writing dependency_links to httptools.egg-info/dependency_links.txt
writing requirements to httptools.egg-info/requires.txt
writing top-level names to httptools.egg-info/top_level.txt
reading manifest file 'httptools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'httptools.egg-info/SOURCES.txt'
running build_ext
building 'httptools.parser.parser' extension
creating build/temp.linux-x86_64-cpython-313
creating build/temp.linux-x86_64-cpython-313/httptools
creating build/temp.linux-x86_64-cpython-313/httptools/parser
creating build/temp.linux-x86_64-cpython-313/vendor
creating build/temp.linux-x86_64-cpython-313/vendor/llhttp
creating build/temp.linux-x86_64-cpython-313/vendor/llhttp/src
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/tmp/pip-install-cekvexjd/httptools_8f43c903c14947d0a6671583a442f422/vendor/llhttp/include -I/tmp/pip-install-cekvexjd/httptools_8f43c903c14947d0a6671583a442f422/vendor/llhttp/src -I/usr/local/include/python3.13 -c httptools/parser/parser.c -o build/temp.linux-x86_64-cpython-313/httptools/parser/parser.o -O2
httptools/parser/parser.c:849:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations]
849 | static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u) {
| ^~~~~~
httptools/parser/parser.c: In function ‘__Pyx_Py_UNICODE_strlen’:
httptools/parser/parser.c:850:5: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations]
850 | const Py_UNICODE *u_end = u;
| ^~~~~
httptools/parser/parser.c: In function ‘__pyx_pf_9httptools_6parser_6parser_10HttpParser_10feed_data’:
httptools/parser/parser.c:3531:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
3531 | __pyx_v_err_pos = llhttp_get_error_pos(__pyx_v_self->_cparser);
| ^
httptools/parser/parser.c: In function ‘__Pyx_PyInt_As_long’:
httptools/parser/parser.c:9938:27: error: too few arguments to function ‘_PyLong_AsByteArray’
9938 | int ret = _PyLong_AsByteArray((PyLongObject *)v,
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/python3.13/longobject.h:107,
from /usr/local/include/python3.13/Python.h:77,
from httptools/parser/parser.c:22:
/usr/local/include/python3.13/cpython/longobject.h:111:17: note: declared here
111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
| ^~~~~~~~~~~~~~~~~~~
httptools/parser/parser.c: In function ‘__Pyx_PyInt_As_int’:
httptools/parser/parser.c:10134:27: error: too few arguments to function ‘_PyLong_AsByteArray’
10134 | int ret = _PyLong_AsByteArray((PyLongObject *)v,
| ^~~~~~~~~~~~~~~~~~~
/usr/local/include/python3.13/cpython/longobject.h:111:17: note: declared here
111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
| ^~~~~~~~~~~~~~~~~~~
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 httptools
Running setup.py clean for httptools
Failed to build httptools
Metadata
Metadata
Assignees
Labels
No labels