Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

[docs] make docs-serve/mkdocs builds failing because of jinja2 error #332

Closed
conceptualshark opened this issue Mar 25, 2022 · 0 comments · Fixed by #333
Closed

[docs] make docs-serve/mkdocs builds failing because of jinja2 error #332

conceptualshark opened this issue Mar 25, 2022 · 0 comments · Fixed by #333
Assignees
Labels
bug Something isn't working

Comments

@conceptualshark
Copy link
Contributor

Bug Description

The newest version of jinja is incompatible with mkdocs. Building locally and also via github actions on merges to main currently breaks.

Steps to Reproduce

  1. pull main
  2. run make docs-serve
  3. get the following error:
AttributeError: module 'jinja2' has no attribute 'contextfilter' 

Expected behavior

Build the docs locally, and via github actions on merges

Environment

  • Version:
  • OS:
  • Python Version:
  • Docker Version:

Additional context

Mkdocs pushed a patch to limit the jinja version range. Updating the pinned version in requirements.txt should resolve the issue for now, but might not be the best strategy for versioning in the future.

@conceptualshark conceptualshark added the bug Something isn't working label Mar 25, 2022
@conceptualshark conceptualshark self-assigned this Mar 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant