From 78ed36b923513a070093bb74d785dba27ce2a5cf Mon Sep 17 00:00:00 2001 From: David Stansby Date: Thu, 15 Jan 2026 18:20:26 +0000 Subject: [PATCH 1/3] Clean up test extra dependencies --- pyproject.toml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4e9e16730a..2d12147e4b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,15 +70,13 @@ gpu = [ "cupy-cuda12x", ] cli = ["typer"] -# Development extras +# Testing extras test = [ "coverage>=7.10", "pytest", "pytest-asyncio", "pytest-cov", "pytest-accept", - "rich", - "mypy", 'numpydoc', "hypothesis", "pytest-xdist", @@ -86,7 +84,6 @@ test = [ "pytest-codspeed", "packaging", "tomlkit", - "uv", ] remote_tests = [ 'zarr[remote]', @@ -116,6 +113,13 @@ docs = [ 'astroid<4', 'pytest' ] +# All development extras +dev = [ + "zarr[test]", + "zarr[remote_tests]", + "zarr[docs]", + "mypy", +] [project.scripts] zarr = "zarr._cli.cli:app" From dc15e65a1fd1921874d9e014eaca3559448dc174 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Thu, 15 Jan 2026 18:26:07 +0000 Subject: [PATCH 2/3] Add changelog --- changes/3656.misc.md | 1 + pyproject.toml | 1 + 2 files changed, 2 insertions(+) create mode 100644 changes/3656.misc.md diff --git a/changes/3656.misc.md b/changes/3656.misc.md new file mode 100644 index 0000000000..0b86a972fa --- /dev/null +++ b/changes/3656.misc.md @@ -0,0 +1 @@ +Removed *rich*, *mypy*, and *uv* from the `[test]` dependencies, and added a new `[dev]` dependency group that can be used to install all the development dependencies. diff --git a/pyproject.toml b/pyproject.toml index 2d12147e4b..94ca18313b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -115,6 +115,7 @@ docs = [ ] # All development extras dev = [ + "zarr[optional]", "zarr[test]", "zarr[remote_tests]", "zarr[docs]", From fc4a86312475572151dbcf805f252140ae374e81 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Fri, 16 Jan 2026 10:26:41 +0000 Subject: [PATCH 3/3] Put back uv in test deps Co-authored-by: Davis Bennett --- changes/3656.misc.md | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changes/3656.misc.md b/changes/3656.misc.md index 0b86a972fa..159f24d072 100644 --- a/changes/3656.misc.md +++ b/changes/3656.misc.md @@ -1 +1 @@ -Removed *rich*, *mypy*, and *uv* from the `[test]` dependencies, and added a new `[dev]` dependency group that can be used to install all the development dependencies. +Removed *rich* and *mypy* from the `[test]` dependencies, and added a new `[dev]` dependency group that can be used to install all the development dependencies. diff --git a/pyproject.toml b/pyproject.toml index 94ca18313b..e09bab4cb9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,6 +84,7 @@ test = [ "pytest-codspeed", "packaging", "tomlkit", + "uv", ] remote_tests = [ 'zarr[remote]',