Commit 13d4b415 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

stack/slapos.cfg: lxml version up 4.9.1->5.2.1

only for python3

We now need to install lxml-clean-html separately, see the following
message:

  File "/srv/slapgrid/slappart71/srv/runner/software/e16145ec9280f63bd6c28ca2758d03f0/develop-eggs/lxml-5.2.1-py3.9-linux-x86_64.egg/lxml/html/clean.py", line 18, in <module>
    raise ImportError(
ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
parent b589c3d4
......@@ -49,6 +49,7 @@ eggs =
openpyxl
sympy
xlrd
lxml-html-clean
# additional eggs for jupyterlab
jupyterlab
jupyterlab-launcher
......
......@@ -229,7 +229,8 @@ jupyterlab-pygments = 0.1.2
lock-file = 2.0
lockfile = 0.12.2:whl
lsprotocol = 2023.0.0b1:whl
lxml = 4.9.1
lxml = 5.2.1
lxml-html-clean = 0.1.1
manuel = 1.11.2
MarkupSafe = 2.1.3
matplotlib = 2.1.2
......@@ -392,6 +393,7 @@ importlib-metadata = 1.7.0:whl
itsdangerous = 0.24
Jinja2 = 2.11.3
jsonschema = 3.0.2:whl
lxml = 4.9.1
MarkupSafe = 1.0
msgpack = 0.6.2
packaging = 16.8
......
  • If I followed correctly, this is only a problem when lxml.html.clean is imported.

    On this issue they have a traceback like this:

        File "/home/runner/work/napari/napari/napari/utils/notebook_display.py", line 9, in <module>
          from lxml.html.clean import Cleaner
        File "/home/runner/work/napari/napari/.tox/py39-linux-pyqt5-cov/lib/python3.9/site-packages/lxml/html/clean.py", line 18, in <module>
          raise ImportError(
      ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
    

    in other words, slapos.core depends on lxml, but we don't need to change to make slapos.core depend on lxml-html-clean.

  • Yes, and as I saw that only jupyter was failing, I only added lxml-html-clean egg to this SR.

Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment