python-bonobo / bonobo

Extract Transform Load for Python 3.5+
https://www.bonobo-project.org/
Apache License 2.0
1.59k stars 146 forks source link

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

Open getorca opened 2 years ago

getorca commented 2 years ago

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

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?

yuhonas commented 2 years ago

I ran into exactly the same issue and did a little bit of digging around

This is about as far as i've gotten so far but hopefully it's enough to keep this moving!

Versions

Alquh commented 2 years ago

I am also getting the same error. Any assistance or path forward would be greatly appreciated. I also posted about it on SO.