From 9cacf77dfda341819308829ae8f84d52b9582ed1 Mon Sep 17 00:00:00 2001 From: Henrik Andersson Date: Mon, 5 Jan 2026 22:51:17 +0100 Subject: [PATCH] Use pandas[output_formatting] extra instead of direct jinja2 dependency Changed from directly specifying jinja2 to using pandas[output_formatting] extra, which includes jinja2 as a dependency. This is cleaner because: - Reduces direct dependencies to maintain - Makes explicit that jinja2 is needed for pandas styling - Lets pandas manage jinja2 version compatibility Tested: - All 589 tests pass - SkillTable styling functionality works correctly --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 268ec7763..e1aa677b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,13 +11,12 @@ name = "modelskill" version = "1.4.dev0" dependencies = [ "numpy > 1.24.4", - "pandas >= 1.4", + "pandas[output_formatting] >= 1.4", "mikeio >= 1.2", "matplotlib", "xarray", "netCDF4", "scipy", - "jinja2", # used for skill.style ] authors = [