fonttools / fontbakery

🧁 A font quality assurance tool for everyone
https://fontbakery.readthedocs.io
Apache License 2.0
534 stars 99 forks source link

Old versions of Jinja cause errors #4717

Closed dscorbett closed 1 month ago

dscorbett commented 1 month ago

Observed behavior

Running Font Bakery with a version of Jinja before version 3.0.0 raises an error: ImportError: cannot import name 'soft_unicode' from 'markupsafe'.

Expected behavior

Font Bakery’s pyproject.toml should restrict the dependency to versions that work: Jinja2 >= 3.0.0.

Resources and steps needed to reproduce

pip install Jinja2==2.11.3 fontbakery==0.12.6
fontbakery
felipesanches commented 1 month ago

Please, send a PR with this proposed fix.