Skip to content

Commit 04eb868

Browse files
authored
chore: add optional asyncpg dependency to enable asyncio support (#30)
1 parent 89a61f3 commit 04eb868

2 files changed

Lines changed: 36 additions & 1 deletion

File tree

poetry.lock

Lines changed: 34 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ pytest-asyncio = { version = "^0.14.0", optional = true}
5656
pytest-cov = { version = "^2.10.1", optional = true}
5757
pytest-watch = { version = "^4.2.0", optional = true}
5858
tox = { version = "^3.23.0", optional = true}
59+
asyncpg = {version = "^0.22.0", optional = true}
5960

6061
[tool.poetry.extras]
6162
# Test dependencies as extras so they can be set as extras in tox config
@@ -76,6 +77,7 @@ tests = [
7677
"pytest-watch",
7778
"tox",
7879
]
80+
asyncio = ["asyncpg"]
7981

8082

8183
[build-system]

0 commit comments

Comments
 (0)