Skip to content

Commit

Permalink
Add docs dependencies to dev dependencies
Browse files Browse the repository at this point in the history
This is a workaround for python-poetry/poetry#2555 that should be reverted after it's fixed and a new poetry is released.
  • Loading branch information
Jairo Llopis authored and github-actions[bot] committed Aug 13, 2020
1 parent 52febbd commit cbd57f0
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 23 deletions.
42 changes: 21 additions & 21 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,11 @@ pyyaml = "^5.3.1"
pyyaml-include = "^1.2"
# packaging is needed when installing from PyPI
packaging = "^20.4"
mkdocs = {version = "^1.1.2", optional = true}
mkdocstrings = {version = "^0.12.2", optional = true}
mkdocs-material = {version = "^5.5.2", optional = true}

[tool.poetry.extras]
docs = ["mkdocs", "mkdocstrings", "mkdocs-material"]
docs = ["mkdocstrings", "mkdocs-material"]

[tool.poetry.dev-dependencies]
black = {version = "^19.10b0", allow-prereleases = true}
Expand All @@ -60,6 +59,11 @@ pytest-cov = "*"
pytest-xdist = "*"
pytest-timeout = "^1.4.1"

# HACK https://github.com/python-poetry/poetry/issues/2555
# TODO Remove from this section and install with poetry install -E docs when fixed
mkdocstrings = "^0.12.2"
mkdocs-material = "^5.5.5"

[tool.poetry-dynamic-versioning]
enable = true
style = "semver"
Expand Down

0 comments on commit cbd57f0

Please sign in to comment.