"pip install lxml" fails on pypy

Bug #1546465 reported by Armin Rigo on 2016-02-17
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

"pip install lxml" fails on pypy. It is new in 3.5.0: "pip install lxml==3.4.4" still works. Tested on two 64-bit Linux machines with the latest PyPy 4.0.1. The error list is very long, but they seem all to be of the following kind:

src/lxml/lxml.objectify.c:890:68: error: 'PyThreadState {aka struct _ts}' has no member named 'c_tracefunc'
                   (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\

The problem shows up if we rebuild the Cython files or not (with the most recent "pip install cython"), and doesn't show up even if we rebuild the lxml==3.4.4 Cython files with the same Cython, so it doesn't look like a Cython issue.

scoder (scoder) wrote :

I assume this was already fixed in a later version, somewhere along the way. Profiling support should not be included for lxml releases, and should also be disabled by default for PyPy.

Changed in lxml:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers