Skip to content

Commit cff2106

Browse files
authored
Remove old poetry pyproject setup (#15)
1 parent 02130e1 commit cff2106

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

pyproject.toml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
# NOTE(NiklasRosenstein): We pin this version so we can keep using the old way that Slap supports installing
33
# the "docs" extra without Poetry complaining about invalid format of the requirements.
4-
requires = ["poetry-core==1.1.0a6"]
4+
requires = ["poetry-core==1.6.0"]
55
build-backend = "poetry.core.masonry.api"
66

77
[tool.poetry]
@@ -33,20 +33,14 @@ isort = "^5.10.1"
3333
flake8 = "^4.0.1"
3434
black = "^22.3.0"
3535

36-
[tool.poetry.extras]
37-
docs = ["novella==0.1.12", "pydoc-markdown==4.6.3", "mkdocs", "mkdocs-material"]
36+
[tool.poetry.group.docs]
37+
optional = true
3838

39-
# For newer Poetry Core versions only. We need to stick with the old way that Poetry doesn't complain
40-
# about in older versions but work with Slap above.
41-
#
42-
# [tool.poetry.group.docs]
43-
# optional = true
44-
#
45-
# [tool.poetry.group.docs.dependencies]
46-
# mkdocs = "*"
47-
# mkdocs-material = "*"
48-
# novella = "0.2.3"
49-
# pydoc-markdown = "4.6.0"
39+
[tool.poetry.group.docs.dependencies]
40+
mkdocs = "*"
41+
mkdocs-material = "*"
42+
novella = "0.1.12"
43+
pydoc-markdown = "4.6.3"
5044

5145
[tool.slap]
5246
typed = true

0 commit comments

Comments
 (0)