From b80ae3bac128d99f87de2ba4bf7b0dfec08ee8d4 Mon Sep 17 00:00:00 2001 From: Michele Mancioppi Date: Fri, 24 Sep 2021 11:17:38 +0200 Subject: [PATCH] Prevent breaking Jinja2 3x changes Due to https://github.com/pallets/jinja/issues/1496, we cannot use the latest Jinja2 packages inside the operator. The breaking change was introduced in Jinja2's 3x branch, and this change pins the `jinja2` dependency to the latest 2x release. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 1af2cb4f..790eabc9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ git+https://github.com/canonical/operator/#egg=ops pyyaml urllib3 -jinja2 +jinja2 < 3.0.0