[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Locally generated website
From: |
Libor Polčák |
Subject: |
Locally generated website |
Date: |
Tue, 26 Apr 2022 16:47:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.11.1 |
Hello all,
if someone tries to build website locally, you might encounter error like:
AttributeError: module 'jinja2.ext' has no attribute 'with_'
As a workaround, I suggest modifying website/requirements.txt:
diff --git a/website/requirements.txt b/website/requirements.txt
index 758f617..94cffe8 100644
--- a/website/requirements.txt
+++ b/website/requirements.txt
@@ -1,4 +1,4 @@
pelican==4.6.0
Markdown==3.3.4
comment-parser==1.2.3
-jinja2>=3.0
+jinja2<3.1
I will let Manufactura folks to decide if this is a proper fix or a different
fix should be pushed to the repository.
Best wishes
Libor
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Locally generated website,
Libor Polčák <=