lxml wheel for pypy on Windows

Bug #1607725 reported by Rüdiger Jungbeck
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxml
Won't Fix
Low
Unassigned

Bug Description

Is there a wheel of lxml for pypy?

I tried the normal install (pypy -m pip install) and installed the dependencies libxml2, libxslt, iconv, zlib. The installation worked (after numerous tries), but the resulting software is crashing with a Protection Violation in msvcr110.dll:free pretty soon.

NB: We are not using lxml directly, but through SOPA library (zeep).
The same code works on cpython or pypy on Mac

Code:

from zeep import Client
c=Client(""https://finanzonline.bmf.gv.at/fonws/ws/sessionService.wsdl")
c=Client(""https://finanzonline.bmf.gv.at/fonws/ws/sessionService.wsdl")

NB: The first call to client works, the segment creates the protection violation (beeing called from lxml.etree)

lxml: 3.6.1
zeep: 0.13
defusedxml=0.4.1
Cython: 0.24.1
requests: 2.1.0

pypy2: 5.3.1 (32 bit)
OS: Windows 10 Pro - 64 bit
iconv: 1.9.2
libxml2: 2.7.8
libxslt: 1.1.26
zlib: 1.2.5

Python : (major=2, minor=7, micro=10, releaselevel='final', serial=42)
lxml.etree : (3, 6, 1, 0)
libxml used : (2, 7, 8)
libxml compiled : (2, 7, 8)
libxslt used : (1, 1, 26)
libxslt compiled : (1, 1, 26)

Revision history for this message
scoder (scoder) wrote :

Regarding the wheels: it's unlikely that someone will make those available, but I'd never say never.

Regarding the crash, your whole setup seems rather brittle: MS-Windows + PyPy + emulated C-API + lxml + extremely old versions of libxml2/libxslt + mix of 32/64 bit architectures. I'm not surprised that you run into crashes. I don't know how well supported PyPy is on Windows, but I know that the latest major changes in their C-API emulation are still rather new, so there are definitely bugs. And the old library versions are also not very reassuring.

You can at least get newer (unofficial) library versions from the URL referenced below, but I don't know if they work with the PyPy version that you are using:
https://github.com/lxml/lxml/blob/master/buildlibxml.py#L42

Changed in lxml:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
scoder (scoder) wrote :
Revision history for this message
scoder (scoder) wrote :

If no-one volunteers after a year has passed, this is unlikely to happen.

Changed in lxml:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.