Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-9649

metatools: doit depends on jinja2, which currently has a broken dependency (markupsafe)

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Normal Normal
    • None
    • None
    • Hide
      Install metatools. Run `doit` in a directory containing autogen.yaml.

      Or, run `python3 -c "import jinja2"`.
      Show
      Install metatools. Run `doit` in a directory containing autogen.yaml. Or, run `python3 -c "import jinja2"`.

      I just started playing with the latest metatools (v1.0.2) and immediately hit this roadblock. After defining an autogen.yaml, I run `doit`, which immediately crashes with `ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/lib/python3.7/site-packages/markupsafe/_init_.py
      )`. Following the stack trace, this follows from `import jinja2` in `/usr/lib/python3.7/subpop/org.funtoo.metatools/pkgtools/ebuild.py`.

      This can by verified by e.g. running `python3 -c "import jinja2"`. There's a bunch of reported errors against jinja2 e.g. https://github.com/pallets/jinja/issues/1599. I think I have the latest jinja (v3.1.1) and markupsafe(v2.1.1) installed so it should all work. I'm not sure why I'm seeing this incompatibility.

            Unassigned Unassigned
            happyshredder happyshredder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: