From 92fe4a15b557f67c7e9e5e3bac46008327bf85a5 Mon Sep 17 00:00:00 2001 From: j-atkins <106238905+j-atkins@users.noreply.github.com> Date: Wed, 8 Apr 2026 15:47:58 +0100 Subject: [PATCH 1/2] update with new analysis environment --- pixi.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pixi.toml b/pixi.toml index d73f8c85..e658e7d0 100644 --- a/pixi.toml +++ b/pixi.toml @@ -58,6 +58,16 @@ ipykernel = "*" [feature.notebooks.tasks] tests-notebooks = "pytest --nbval-lax docs/" +[feature.analysis.dependencies] +jupyterlab = ">=4,<5" +ipykernel = ">=7,<8" +plotly = ">=6,<7" +nbformat = "*" +ipywidgets = "*" + +[feature.analysis.tasks] +lab = "jupyter lab" + [feature.docs.dependencies] sphinx = ">=7.0" myst-parser = ">=0.13" @@ -92,6 +102,7 @@ test-py310 = { features = ["test", "py310"] } test-py311 = { features = ["test", "py311"] } test-py312 = { features = ["test", "py312"] } test-notebooks = { features = ["test", "notebooks"], solve-group = "test" } +analysis = { features = ["analysis"], solve-group = "analysis" } docs = { features = ["docs"], solve-group = "docs" } typing = { features = ["typing"], solve-group = "typing" } pre-commit = { features = ["pre-commit"], no-default-feature = true } From a23a3f0faa424556066aa13e1cc6bb8c28c4c779 Mon Sep 17 00:00:00 2001 From: Jamie Atkins <106238905+j-atkins@users.noreply.github.com> Date: Thu, 9 Apr 2026 09:05:11 +0100 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Nick Hodgskin <36369090+VeckoTheGecko@users.noreply.github.com> --- pixi.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pixi.toml b/pixi.toml index e658e7d0..f251c9e9 100644 --- a/pixi.toml +++ b/pixi.toml @@ -96,13 +96,12 @@ lxml = "*" typing = "mypy src/virtualship --install-types" [environments] -default = { features = ["test", "notebooks", "typing", "pre-commit"] } +default = { features = ["test", "notebooks", "typing", "pre-commit", "analysis"] } test-latest = { features = ["test"], solve-group = "test" } test-py310 = { features = ["test", "py310"] } test-py311 = { features = ["test", "py311"] } test-py312 = { features = ["test", "py312"] } test-notebooks = { features = ["test", "notebooks"], solve-group = "test" } -analysis = { features = ["analysis"], solve-group = "analysis" } docs = { features = ["docs"], solve-group = "docs" } typing = { features = ["typing"], solve-group = "typing" } pre-commit = { features = ["pre-commit"], no-default-feature = true }