From 8455e8e90ff2aebb4b0f1e1a428e178c1486fc19 Mon Sep 17 00:00:00 2001 From: Henrik Andersson Date: Tue, 23 Dec 2025 12:14:06 +0100 Subject: [PATCH] Add minimum version constraints for unpinned dependencies Tested all unpinned dependencies to find minimum versions where all tests (589 passed) and mypy checks succeed on Python 3.13. Updated dependencies with minimum versions: - matplotlib >= 3.9.0 - xarray >= 2023.1.0 - netCDF4 >= 1.7.2 - scipy >= 1.14.1 - jinja2 >= 3.0.0 - pytest >= 7.0.0 - pytest-cov >= 4.0.0 - openpyxl >= 3.1.0 - dask >= 2023.1.0 - geopandas >= 0.14.0 - types-PyYAML >= 6.0.12 --- pyproject.toml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 268ec7763..9f2595bd1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,11 +13,11 @@ dependencies = [ "numpy > 1.24.4", "pandas >= 1.4", "mikeio >= 1.2", - "matplotlib", - "xarray", - "netCDF4", - "scipy", - "jinja2", # used for skill.style + "matplotlib >= 3.9.0", + "xarray >= 2023.1.0", + "netCDF4 >= 1.7.2", + "scipy >= 1.14.1", + "jinja2 >= 3.0.0", # used for skill.style ] authors = [ @@ -43,23 +43,23 @@ classifiers = [ [dependency-groups] dev = [ - "pytest", + "pytest >= 7.0.0", "plotly >= 4.5", "ruff==0.6.2", "quarto-cli==1.5.57", "quartodoc==0.11.1", "netCDF4", - "dask", + "dask >= 2023.1.0", ] test = [ - "pytest", - "pytest-cov", - "openpyxl", - "dask", + "pytest >= 7.0.0", + "pytest-cov >= 4.0.0", + "openpyxl >= 3.1.0", + "dask >= 2023.1.0", "mypy==1.19.1", - "types-PyYAML", - "geopandas", + "types-PyYAML >= 6.0.12", + "geopandas >= 0.14.0", ] notebooks = ["nbformat", "nbconvert", "jupyter", "plotly", "shapely", "seaborn"]