ammaraskar / sphinx-action

Github action that builds docs using sphinx and places errors inline
Apache License 2.0
189 stars 114 forks source link

ImportError: cannot import name 'environmentfilter' from 'jinja2' #49

Open adam-grant-hendry opened 1 year ago

adam-grant-hendry commented 1 year ago

This stems from an old issue where jinja2 imports were deprecated.

PR #47, which updates the Docker image to use sphinx 5.0.2 should resolve this for at least python <3.10 (see astropy/astropy Issue #11725).