Skip to content

Commit 37e1045

Browse files
author
Aiden
authored
fix: pyproject.toml was not valid for Poetry (#1316)
1 parent 6a14488 commit 37e1045

File tree

1 file changed

+36
-8
lines changed

1 file changed

+36
-8
lines changed

pyproject.toml

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,42 @@ python-dotenv = { version = "*", optional = true }
3636
typeguard = { version = "*", optional = true }
3737
pre-commit = { version = "*", optional = true }
3838

39-
[tool.poetry.extras]
40-
voice = ["PyNaCl>=1.5.0,<1.6"]
41-
speedup = ["aiodns", "orjson", "Brotli", "faust-cchardet", "uvloop"]
42-
sentry = ["sentry-sdk"]
43-
jurigged = ["jurigged"]
44-
console = ["aioconsole>=0.6.0"]
45-
docs = ["mkdocs-autorefs", "mkdocs-awesome-pages-plugin", "mkdocs-material", "mkdocstrings-python", "mkdocs-minify-plugin", "mkdocs-git-committers-plugin-2", "mkdocs-git-revision-date-localized-plugin"]
46-
tests = ["pytest", "pytest-recording", "pytest-asyncio", "pytest-cov", "python-dotenv", "typeguard"]
39+
[tool.poetry.group.voice.dependencies]
40+
PyNaCl = "^1.5.0,<1.6"
41+
42+
[tool.poetry.group.speedup.dependencies]
43+
aiodns = "*"
44+
orjson = "*"
45+
Brotli = "*"
46+
faust-cchardet = "*"
47+
uvloop = { version = "*", platform = "!win32" }
48+
49+
[tool.poetry.group.sentry.dependencies]
50+
sentry-sdk = "*"
51+
52+
[tool.poetry.group.jurigged.dependencies]
53+
jurigged = "*"
54+
55+
[tool.poetry.group.console.dependencies]
56+
aioconsole = "^0.6.0"
57+
58+
[tool.poetry.group.docs.dependencies]
59+
mkdocs-autorefs = "*"
60+
mkdocs-awesome-pages-plugin = "*"
61+
mkdocs-material = "*"
62+
mkdocstrings-python = "*"
63+
mkdocs-minify-plugin = "*"
64+
mkdocs-git-committers-plugin-2 = "*"
65+
mkdocs-git-revision-date-localized-plugin = "*"
66+
67+
[tool.poetry.group.tests.dependencies]
68+
pytest = "*"
69+
pytest-recording = "*"
70+
pytest-asyncio = "*"
71+
pytest-cov = "*"
72+
python-dotenv = "*"
73+
typeguard = "*"
74+
4775

4876
[tool.poetry.group.dev.dependencies]
4977
black = "^22.3.0"

0 commit comments

Comments
 (0)