If you are using Mkdocs and noticed your latest CI pipelines are failing, with the following errors:
AttributeError: module 'jinja2' has no attribute 'contextfilter'
If you have not made any commits to your project since March 24th 2022, you may not have yet triggered the error. You can keep this untill you next make a commit which will then run the mkdocs build command, then see if the error appears.
If you already solved this issue, or is not relavant, you can safely close this merge request.
This is related to a new release of Jinja in a GitHub package, used by Mkdocs. The version range specified in our default setup, does not install this new release.
This merge request with the commit will update the version of MkDocs, to include release v1.2.4, used in your project with the
requirements.txt file. See the "Changes" tab to preview see the file differences.
MkDocs updated the fix here which is in the new release.
What to do now
If you encountered this error, click the "merge" button below, to add this change to your default branch. Hopefully, your CI pipelines will start passing again. If not, you can try opening an issue in the students/class group, to help investigate further.
Hope this helps.
This "merge request" was generated by a script :)