Skip to content

Bug: Could not load 'init': cannot import name 'soft_unicode' from 'markupsafe' #414

@getorca

Description

@getorca

when running bonobo init tutorial.py I get the following error:

ERR.:0000:stevedore.extension: Could not load 'init': cannot import name 'soft_unicode' from 'markupsafe' ([...]/venv/lib/python3.8/site-packages/markupsafe/__init__.py)
usage: bonobo [-h] [--debug]
              {convert,download,examples,inspect,run,version} ...
bonobo: error: argument command: invalid choice: 'init' (choose from 'convert', 'download', 'examples', 'inspect', 'run', 'version')

Related to MarkupSafe==2.1.1. Downgrading to pip install MarkupSafe==2.0.1 works as expected.

Versions

  • Bonobo version: bonobo v.0.6.4

  • Python version: Python 3.8.10

  • Platform: Ubuntu 20.04.4 LTS

I'm very new to bonobo so I haven't dug in yet to see if this should be fixed with a pull request and patch on the code base, or specifying a maximum version in requirements?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions