From cf47f68c910270e7b12472fc315fa5c60339c34d Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Fri, 22 Apr 2022 09:12:36 +0200
Subject: [PATCH] [fix] Broken CI: Bump Pelican to latest version

This updates jinja, and markupsafe, to avoid following error:
ImportError: cannot import name 'soft_unicode' from 'markupsafe'

Fix -e OUTPUT_PATH parsing
https://github.com/getpelican/pelican/issues/2938
---
 .gitlab-ci.yml   | 2 +-
 requirements.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4aad0a1..0356c4c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,7 +13,7 @@ build-job:
     - mkdir -p /usr/share/man/man1 # Because of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199
     - apt-get update && apt-get install -y plantuml graphviz
     - pip install -r requirements.txt
-    - pelican content -s publishconf.py -e OUTPUT_PATH=public/
+    - pelican content -s publishconf.py -e OUTPUT_PATH='"public"'
   artifacts:
     paths:
       - public/
diff --git a/requirements.txt b/requirements.txt
index 0b7fea7..c42615b 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,3 @@
-pelican==4.5.4
+pelican==4.7.2
 Markdown==3.3.4
 beautifulsoup4==4.9.3
-- 
GitLab