# HG changeset patch # User Edouard Tisserant # Date 1660398719 -7200 # Node ID 3564991cd359f872d21eca684d59ba35e108832c # Parent 63af88f62324b10c56e9025f1197592477c0d12e SNAP: replace lxml versions to be compatible with Beremiz. Forcing ubuntu20 python-lxml (4.5.0) package instead of PIP vesrion (4.9.1). 4.9.1 leads to derived variable types to appear as "derived" instead of real type name. Problem happens with plcopen/variables_infos.ysl2 and plcopen/VariableInfoCollector.py. No clue for now about what really breaks. diff -r 63af88f62324 -r 3564991cd359 snap/snapcraft.yaml --- a/snap/snapcraft.yaml Fri Aug 12 13:44:20 2022 +0200 +++ b/snap/snapcraft.yaml Sat Aug 13 15:51:59 2022 +0200 @@ -33,6 +33,7 @@ stage-packages: - python2 - python-setuptools + - python-lxml override-build: | # For some reasons site-packages needs to be created and @@ -44,7 +45,6 @@ install --prefix $SNAPCRAFT_PART_INSTALL/usr PYTHONPATH=$SNAPCRAFT_PART_INSTALL/usr/lib/python2.7/site-packages \ $SNAPCRAFT_PART_INSTALL/usr/bin/pip install \ - lxml \ future \ matplotlib \ msgpack_python \ @@ -156,3 +156,4 @@ environment: SYSROOT: $SNAP command: usr/bin/python2 $SNAP/beremiz/Beremiz_service.py +