Hi Harrissou,

Yes, looking at
https://github.com/qgis/pyqgis/actions/runs/8954239354/job/24593642123#step:3:106

It looks like you are right. Apparently the qgis/qgis container image has been 
upgraded to a version which does you not let install python packages via pip in 
the global Python.

Given we probably do want to use that container, we can do 2 things:

- I think/hope we can do that by using  --break-system-packages as pip argument 
there..

- OR in the qgis/qgis container, remove the file  
/usr/lib/python3.11/EXTERNALLY-MANAGED

- either make sure that we do all the work in a virtual environment (meaning 
fix: https://github.com/qgis/pyqgis/blob/master/Dockerfile)

I started to add the first solution in the Docker file.

But to make this future proof, we need to go to the third solution...

Regards,

Richard Duivenvoorde


On 5/22/24 09:49, DelazJ via QGIS-Developer wrote:
Hello devs,

me again, for requesting a fix for the docs, but this time the issue also 
affects the pyQGIS documentation, broken for already two weeks 
(https://github.com/qgis/pyqgis/issues/139 and 
https://github.com/qgis/pyqgis/actions). I suspect the new qgis/QGIS docker 
recipe to be the root cause, maybe a new Python or OS version that applies PEP 
668; unability to execute pip in a docker as we used do. I've tried a number of 
recipes I found in the Internet, but... I've never been comfortable with 
docker, so failed.

A charitable person to help get fix the docs sites? Or one (I could still 
reproduce the fix on the other)? Thanks.

Regards,

Harrissou.

PS: Thanks Nyall for helping on the previous issue.

Le 19/04/2024 à 09:31, DelazJ a écrit :
Hi devs,

May I request some help on this issue 
(https://github.com/qgis/QGIS-Documentation/issues/9010), please? It happens 
for more than a week and makes every single commit fail. As noone on the docs 
side has touched the cookbook for a long time, I suspect the issue comes 
directly from master or its libraries (3.34 is just fine).

Thanks,

Harrissou

_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to