i was getting this error when running docker-compose up --build : cannot import name 'soft_unicode' from 'markupsafe'
the solution was to upgrade Flask and jinja2 in requirements.txt and also add MarkupSafe version 2.0.1, pls fix
flask==2.0.3
jinja2==3.1.2
MarkupSafe==2.0.1