Skip to content

Commit cbd7d00

Browse files
AndreRicoclaude
andcommitted
fix: Move sphinx deps to main dependencies so .[docs] extra works on RTD
sphinx, sphinx-click, sphinx_rtd_theme, sphinx-copybutton were in dev group but poetry extras only resolves packages from [tool.poetry.dependencies]. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent feb4df4 commit cbd7d00

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ numpy = ">=1.24,<2.0"
2727
tzlocal = "^2.1"
2828
numpydoc = {version = "^1.1.0", optional = true}
2929
ipython = {version = "^8.24", optional = true}
30+
sphinx = {version = "^4.0.0", optional = true}
31+
sphinx-click = {version = "^4", optional = true}
32+
sphinx_rtd_theme = {version = "^0.5.0", optional = true}
33+
sphinx-copybutton = {version = "^0.3.0", optional = true}
3034
pandas-genomics = "^1.0.0"
3135
rpy2 = "^3.6.0"
3236

@@ -40,10 +44,6 @@ flake8 = "^6"
4044
pytest-cov = "^2.12.1"
4145
pytest-xdist = "^2.3.0"
4246
black = ">=22"
43-
sphinx = {version = "^4.0.0", optional = true}
44-
sphinx-click = {version = "^4", optional = true}
45-
sphinx_rtd_theme = {version = "^0.5.0", optional = true}
46-
sphinx-copybutton = {version = "^0.3.0", optional = true}
4747

4848
[tool.poetry.extras]
4949
docs = ["sphinx", "numpydoc", "sphinx_rtd_theme", "sphinx-copybutton", "ipython", "sphinx-click"]

0 commit comments

Comments
 (0)