diff --git a/poetry.lock b/poetry.lock
index 1d394e11b5..1fcd9f893a 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -2343,4 +2343,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools",
 [metadata]
 lock-version = "2.0"
 python-versions = "^3.10"
-content-hash = "90f9ac723e6b1aa2529b308f1d2ac318b4c65dcae4b8b642eb1e157dcdced581"
+content-hash = "8e97379f72eb51b4d21e8eb611470866f32b609a1c3b0939d678e28f00e54fe6"
diff --git a/pyproject.toml b/pyproject.toml
index 3f937de95c..3532c70eb2 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -24,6 +24,7 @@ cosl = "^0.0.12"
 pydantic = "^1.10.17"
 poetry-core = "^1.9.0"
 pyOpenSSL = "^24.1.0"
+jinja2 = "^3.1.4"
 
 [tool.poetry.group.charm-libs.dependencies]
 # data_platform_libs/v0/data_interfaces.py
@@ -61,7 +62,6 @@ pytest = "^8.2.2"
 pytest-asyncio = "*"
 parameterized = "^0.9.0"
 jsonschema = "^4.22.0"
-jinja2 = "^3.1.4"
 
 [tool.poetry.group.integration]
 optional = true