Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GH-1639] Pin jinja2 version for mkdocks compatibility #596

Merged
merged 1 commit into from
Mar 24, 2022

Conversation

okotsopoulos
Copy link
Contributor

Purpose

jinja2 v3.1.0 was released today and included the removal of some deprecated code: https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-1-0

But mkdocs is incompatible with this latest version (and we pin it anyways). They're working on it: mkdocs/mkdocs#2794

The impact on wfl is that make docs fails:

AttributeError: module 'jinja2' has no attribute 'contextfilter'

So, I pinned the last good jinja2 version and the build succeeds once more.

Review Instructions

A clean docs build should succeed:

cd /path/to/wfl
make distclean; make docs

@okotsopoulos okotsopoulos merged commit 4f1cc21 into develop Mar 24, 2022
@okotsopoulos okotsopoulos deleted the okotsopo/GH-1639-pin-jinja2 branch March 24, 2022 18:00
okotsopoulos added a commit that referenced this pull request Apr 1, 2022
GH-1623 workloads/update-workload! should define own transactions (#597)
GH-1640 Broken Terra Submission links in completed workflow Slack messages (#598)
GH-1639 Pin jinja2 version for mkdocks compatibility (#596)
GH-1433 No TDR temporary snapshots in tests (#595)
GH-1619 Add workload info to sink logs (#594)
GH-1638 Disable link unfurling when Slacking watchers (#593)
okotsopoulos added a commit that referenced this pull request Apr 4, 2022
GH-1623 workloads/update-workload! should define own transactions (#597)
GH-1640 Broken Terra Submission links in completed workflow Slack messages (#598)
GH-1639 Pin jinja2 version for mkdocks compatibility (#596)
GH-1433 No TDR temporary snapshots in tests (#595)
GH-1619 Add workload info to sink logs (#594)
GH-1638 Disable link unfurling when Slacking watchers (#593)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants