lxml 4.2.0 fails on pypy with "undefined symbol: PyFrozenSet_New"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Fix Released
|
Low
|
scoder |
Bug Description
I have daily builds for zodbbrowser enabled on Travis CI. This has detected a new failure within the last couple of days:
Traceback (most recent call last):
File "/home/
from lxml.html import fromstring, tostring
File "/home/
from .. import etree
ImportError: unable to load extension module '/home/
The main differing variable is that this happens with lxml 4.2.0. The last successful build was using lxml 4.1.0.
I see this failure both on pypy2 and pypy3. Travis ships PyPy 5.8.0.
Link to failing Travis job:
- https:/
Link to last successful Travis job:
- https:/
Changed in lxml: | |
milestone: | none → 4.2.1 |
Changed in lxml: | |
status: | Fix Committed → Fix Released |
That's a bug in Cython, fixed here: /github. com/cython/ cython/ commit/ 96d76b4c37a1cbe c54bcc8bd2d652c d47add0681
https:/
I'll use Cython 0.28.1 for the next bug fix release, as soon as it's out.
As a work-around, you can rebuild lxml with Cython 0.27.x.