From 76596b0869819a8c7f0de9ff17e15d9afcf21749 Mon Sep 17 00:00:00 2001 From: Bjoern Ludwig <bjoern.ludwig@ptb.de> Date: Sat, 21 Jan 2023 02:21:42 +0100 Subject: [PATCH] build(docs deps): switch from group to extras for ReadTheDocs --- pyproject.toml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3b39ab2..c07ced9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,6 +31,11 @@ h5py = "^3.7.0" numpy = "^1.24.1" pooch = "^1.6.0" tqdm = "^4.64.1" +ipython = {version = "^8.8.0", optional = true,extras = ["docs"]} +myst-parser = {version = "^0.18.1", optional = true, extras = ["docs"]} +nbsphinx = {version = "^0.8.12", optional = true, extras = ["docs"]} +sphinx = {version = "^5.3.0", optional = true, extras = ["docs"]} +sphinx-rtd-theme = {version = "^1.1.1", optional = true, extras = ["docs"]} [tool.poetry.group.test] optional = true @@ -56,17 +61,6 @@ optional = true [tool.poetry.group.dev.dependencies] black = {extras = ["jupyter"], version = "^22.12.0"} - -[tool.poetry.group.docs] -optional = true - -[tool.poetry.group.docs.dependencies] -ipython = "^8.7.0" -nbsphinx = "^0.8.10" -myst-parser = "^0.18.1" -sphinx = "^5.3.0" -sphinx-rtd-theme = "^1.1.1" - [tool.poetry.group.release] optional = true -- GitLab