From 2152f2b6adc25f299d24a1217a48245187eb3f6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20P=C3=A9rez-Garc=C3=ADa?= Date: Thu, 5 Dec 2024 00:02:32 +0000 Subject: [PATCH] Add bounds in test dependencies --- pyproject.toml | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c1d6499c..5ffe063e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,8 @@ dependencies = [ "humanize>=0.1", "nibabel>=3", "numpy>=1.20", - "rich>=3", + "packaging", + "rich>=10", "scipy>=1.7", "simpleitk >=1.3, !=2.0.*, !=2.1.1.1", "torch>=1.9", @@ -74,34 +75,34 @@ dev = [ { include-group = "doc" }, { include-group = "maintain" }, { include-group = "test" }, - "ipykernel>=6.29.5", - "ruff>=0.8.1", - "ipywidgets>=8.1.5", + "ipykernel", + "ruff>0.0.40", + "ipywidgets", ] doc = [ - "einops>=0.8.0", - "furo>=2024.8.6", - "matplotlib>=3.4", - "sphinx>=7.4.7", - "sphinx-autobuild>=2024.10.3", - "sphinx-copybutton>=0.5.2", - "sphinx-gallery>=0.18.0", - "sphinxext-opengraph>=0.9.1", + "einops", + "furo", + "matplotlib", + "sphinx", + "sphinx-autobuild", + "sphinx-copybutton", + "sphinx-gallery", + "sphinxext-opengraph", ] maintain = [ - "bump2version>=1.0.1", - "pre-commit-uv>=4.1.4", + "bump2version", + "pre-commit-uv", ] test = [ - "coverage>=7.6.8", - "mypy>=1.13.0", - "parameterized>=0.9.0", + "coverage>=5", + "mypy>=0.800", + "parameterized>=0.7", "pillow>=8", - "pytest>=8.3.4", - "pytest-cov>=6.0.0", - "pytest-sugar>=1.0.0", - "tox-uv>=1.16.0", - "types-deprecated>=1.2.15.20241117", + "pytest>=5", + "pytest-cov", + "pytest-sugar>=0.10", + "tox-uv", + "types-deprecated", ] [tool.mypy]