$ ./run_tests
Traceback (most recent call last):
....
File "/Users/foo/.virtualenvs/jinjasql/lib/python3.8/site-packages/jinja2/filters.py", line 13, in <module>
from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe'
So preventing installing MarkupSafe >= 2.1.0 is needed as a first aid.
Set
MarkupSafe
's version range to preventImportError
.Background
MarkupSafe-2.1.1
is installed and it drops support ofsoft_unicode
in v2.1.0. (ref. https://markupsafe.palletsprojects.com/en/2.1.x/changes/#version-2-1-0)It causes the following error.
So preventing installing
MarkupSafe
>= 2.1.0 is needed as a first aid.