rootstock icon indicating copy to clipboard operation
rootstock copied to clipboard

Build fails with old Jinja version

Open ben-heil opened this issue 3 years ago • 1 comments

Putting this issue here in case other people run into the same error. It's fixable by pulling the new version of rootstock, but that isn't obvious from the build error message

The people who develop Markupsafe pushed a breaking change that causes old versions of Jinja2 to break unless you manually pin an old version of Markupsafe to work around it. The official line seems to be "it's your fault for not updating Jinja", so I imagine there isn't a fix coming.

Again, this isn't an issue with the live version of rootstock, but does break builds for anyone who hasn't updated rootstock since December image

ben-heil avatar Feb 22 '22 14:02 ben-heil

Thanks for pointing this out @ben-heil. I'm adding the text of the error message to help anyone who searches for a solution.

ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/share/miniconda3/envs/manubot/lib/python3.7/site-packages/markupsafe/__init__.py)

If this is a widespread problem, we can pin this issue to make it easier to find.

agitter avatar Feb 23 '22 22:02 agitter