Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L Laura Caroline Silvera Flores
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Academany
  • Textile Academy
  • 2022
  • students
  • Laura Caroline Silvera Flores
  • Merge requests
  • !7

Merged
Created Mar 28, 2022 by Julian Gallimore@julianOwner

Fix the Jinjav pipeline errors in mkdocs

  • Overview 0
  • Commits 1
  • Changes 1

Intro

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.

Why

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 :)

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-mkdocs-jinjav2