lemoncheesecake with junit - lxml building wheel for more than 4 mintues

9 views
Skip to first unread message

sivaganesh sivakumar

unread,
Dec 5, 2023, 8:05:26 AM12/5/23
to lemoncheesecake
Hi,

We recently tried the junit plugin for lemoncheesecake reporting and during pip install one specific step takes more than 4 minutes everytime.

We have mentioned the requirement in the requirements.txt like below,

lemoncheesecake[junit]==1.14.3

Logs from gitlab job below,

Building wheel for lxml (setup.py): started
140 Building wheel for lxml (setup.py): still running...
141 Building wheel for lxml (setup.py): still running...
142 Building wheel for lxml (setup.py): finished with status 'done'
143 Created wheel for lxml: filename=lxml-4.9.3-cp37-cp37m-linux_x86_64.whl size=1810211 sha256=5589fd584a2b65375c3a7040c8d851da0715fc7e03da0a781943ac2a2ea63724

Nicolas Delon

unread,
Dec 5, 2023, 4:49:44 PM12/5/23
to lemoncheesecake
Hello,

Can you tell me what operating system do you use or what is the base image of the docker image (if you are using gitlab) do you use ?
Installing lxml through pip should normally retrieve an already compiled version of lxml (a wheel) and avoid a local compilation process.

Regards,

Nicolas.

Nicolas Delon

unread,
Dec 5, 2023, 4:57:48 PM12/5/23
to lemoncheesecake
Btw, I was using lxml instead of the builtin XML implementation of Python because of reasons no longer relevant with recent versions of Python.
I'll try to use this builtin implementation to get ride of lxml and avoid any possible wheel issue.

I'll keep you informed.

Best regards,

Nicolas.

Nicolas Delon

unread,
Dec 12, 2023, 5:27:58 PM12/12/23
to lemoncheesecake
Hello,

I just released lemoncheesecake 1.15.0 and it now uses the builtin Python XML support and not lxml anymore. If you upgrade to this version, you should no longer encounter the issue you reported.

Regards,

Nicolas.
Reply all
Reply to author
Forward
0 new messages