Skip to content

Commit

Permalink
modern poetry dependency groups
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianPugh committed May 16, 2023
1 parent 4468bb8 commit a61f750
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 40 deletions.
69 changes: 33 additions & 36 deletions poetry.lock

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

10 changes: 6 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,18 @@ license = "MIT"
[tool.poetry.dependencies]
python = "^3.8"
prompt_toolkit = ">=2.0,<=3.0.36" # once https://github.com/prompt-toolkit/python-prompt-toolkit/issues/1726 is fixed, this can be changed to ">=2.0,<4.0"

[tool.poetry.group.docs]
optional = true

[tool.poetry.group.docs.dependencies]
Sphinx = {version = ">=4.1,<6.0", optional = true}
sphinx-rtd-theme = {version = ">=0.5,<1.1", optional = true}
sphinx-autobuild = {version = ">=2020.9.1,<2022.0.0", optional = true}
sphinx-copybutton = {version = ">=0.3.1,<0.6.0", optional = true}
sphinx-autodoc-typehints = {version = "^1.11.1", optional = true}

[tool.poetry.extras]
docs = ["Sphinx", "sphinx-rtd-theme", "sphinx-autobuild", "sphinx-copybutton", "sphinx-autodoc-typehints"]

[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
pytest-cov = "^3.0.0"
pytest = "^7.0.1"
coveralls = "^3.3.1"
Expand Down

0 comments on commit a61f750

Please sign in to comment.