Skip to content

Extra packages listed in dependencies #212

Closed
@stsievert

Description

@stsievert

Why are the packages required to build the documentation listed under the dependencies?

scikeras/pyproject.toml

Lines 31 to 45 in d1a9d12

[tool.poetry.dependencies]
importlib-metadata = {version = "^3.4.0", python = "<3.8"}
python = ">=3.6.7, <3.9"
scikit-learn = "^0.22.0"
tensorflow = "^2.4.0"
# docs
insipid-sphinx-theme = {version = "^0.2.2", optional = true}
ipykernel = {version = "^5.4.2", optional = true}
jupyter = {version = "^1.0.0", optional = true}
jupytext = {version = "^1.9.1", optional = true}
matplotlib = {version = "^3.3.3", optional = true}
nbsphinx = {version = "^0.8.1", optional = true}
numpydoc = {version = "^1.1.0", optional = true}
sphinx = {version = ">=3.2.1", optional = true}

Yes, they're optional (which is good). But only devs build docs. Why not list ipykernel/jupyter/etc there?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions