From b27d43ce571222315f96a49ef16da85d92f6239f Mon Sep 17 00:00:00 2001 From: Justus Magin Date: Mon, 8 Dec 2025 16:18:38 +0100 Subject: [PATCH 1/4] create a dev env --- pixi.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pixi.toml b/pixi.toml index f7f80674d22..9901728142e 100644 --- a/pixi.toml +++ b/pixi.toml @@ -286,6 +286,9 @@ cytoolz = "*" [feature.release.tasks] release-contributors = "python ci/release_contributors.py" +[feature.dev.dependencies] +ipython = ">=9.8.0,<10" + [environments] # Testing # test-just-xarray = { features = ["test"] } # https://github.com/pydata/xarray/pull/10888/files#r2511336147 @@ -386,3 +389,14 @@ doc = { features = [ ] } pre-commit = { features = ["pre-commit"], no-default-feature = true } release = { features = ["release"], no-default-feature = true } +dev = { features = [ + "py313", + "test", + "backends", + "accel", + "numba", + "dask", + "viz", + "extras", + "dev", +] } From 6865e61b2d6443be3846e216bface59b13b10c72 Mon Sep 17 00:00:00 2001 From: Justus Magin Date: Mon, 8 Dec 2025 16:33:48 +0100 Subject: [PATCH 2/4] use black to autoformat ipython cells --- pixi.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pixi.toml b/pixi.toml index 9901728142e..d1e146ee421 100644 --- a/pixi.toml +++ b/pixi.toml @@ -288,6 +288,7 @@ release-contributors = "python ci/release_contributors.py" [feature.dev.dependencies] ipython = ">=9.8.0,<10" +black = ">=25.1.0,<26" [environments] # Testing From b7a26c23fea0bb7c5e85b75c0bd9a8e954b1ef42 Mon Sep 17 00:00:00 2001 From: Justus Magin Date: Mon, 8 Dec 2025 16:34:05 +0100 Subject: [PATCH 3/4] add `pytest-accept` to auto-update doctest output --- pixi.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pixi.toml b/pixi.toml index d1e146ee421..4da0ef8fd06 100644 --- a/pixi.toml +++ b/pixi.toml @@ -290,6 +290,9 @@ release-contributors = "python ci/release_contributors.py" ipython = ">=9.8.0,<10" black = ">=25.1.0,<26" +[feature.dev.pypi-dependencies] +pytest-accept = ">=0.2.2, <0.3" + [environments] # Testing # test-just-xarray = { features = ["test"] } # https://github.com/pydata/xarray/pull/10888/files#r2511336147 From ad18ca4fcc3f5488cbe1cfc35e6eaa28ca9967f2 Mon Sep 17 00:00:00 2001 From: Justus Magin Date: Mon, 8 Dec 2025 16:41:52 +0100 Subject: [PATCH 4/4] add ipdb --- pixi.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pixi.toml b/pixi.toml index 4da0ef8fd06..f28899bee8e 100644 --- a/pixi.toml +++ b/pixi.toml @@ -289,6 +289,7 @@ release-contributors = "python ci/release_contributors.py" [feature.dev.dependencies] ipython = ">=9.8.0,<10" black = ">=25.1.0,<26" +ipdb = ">=0.13.13,<0.14" [feature.dev.pypi-dependencies] pytest-accept = ">=0.2.2, <0.3"