From 1ad2afbbd6758f98e6d7d545969ef833b7ca22ea Mon Sep 17 00:00:00 2001 From: smolkik-code Date: Sun, 5 Jul 2026 18:06:31 +0700 Subject: [PATCH] fix: pin jinja2 <3.14 to avoid cache_key hash issue with dict globals --- pyproject.toml | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a79d59b..3899df6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ dependencies = [ "httpx>=0.27.0", "python-jose[cryptography]>=3.3.0", "loguru>=0.7.0", - "jinja2>=3.1.0", + "jinja2>=3.1.0,<3.14", ] [project.optional-dependencies] diff --git a/requirements.txt b/requirements.txt index 0bd60de..863244a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,4 +12,4 @@ redis>=5.0.0 httpx>=0.27.0 python-jose[cryptography]>=3.3.0 loguru>=0.7.0 -jinja2>=3.1.0 +jinja2>=3.1.0,<3.14