compilation error in etree.c with python 3.11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Fix Released
|
Low
|
scoder |
Bug Description
This issue is seen with python 3.11.
Some googling suggests that the version of cython may need to be updated.
src/lxml/
Collecting lxml
Downloading lxml-4.8.0.tar.gz (3.2 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Building wheel for lxml (setup.py): started
Building wheel for lxml (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.11 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/
cwd: /tmp/pip-
Complete output (14 lines):
Building lxml version 4.8.0.
Building without Cython.
Building against libxml2 2.9.10 and libxslt 1.1.34
running bdist_wheel
running build
running build_py
running build_ext
building 'lxml.etree' extension
src/lxml/etree.c: In function ‘__Pyx_
src/lxml/
265439 | f->f_back = PyThreadState_
| ^~
Compile failed: command '/usr/bin/
error: command '/usr/bin/
Changed in lxml: | |
milestone: | none → 4.9.0 |
assignee: | nobody → scoder (scoder) |
importance: | Undecided → Low |
status: | New → Fix Released |
thank you!