Skip to content

Commit

Permalink
feat: add sqlalchemy pyproject dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jason810496 committed Nov 3, 2024
1 parent 11b9b15 commit 32e81bd
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tembo-pgmq-python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,25 @@ python = ">=3.9"
psycopg = {extras = ["binary", "pool"], version = "^3"}
orjson = "^3"
asyncpg = { version = "^0.29.0", optional = true }
sqlalchemy = { version = "^2.0.35", optional = true }

[tool.poetry.extras]
async = ["asyncpg"]
sqlalchemy = ["sqlalchemy"]

[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
ruff = "^0.3.1"
psycopg = {version = "^3.1.14", extras = ["binary", "pool"]}
# sqlalchemy testing
pytest-asyncio = "0.16.0"

[tool.poetry.group.dev-sqlalchemy.dependencies]
sqlalchemy = "2.0.35"
# postgresql drivers
asyncpg = "^0.29.0"
greenlet = "^3.0.3"
psycopg = "^3.2.1"
psycopg2-binary = "^2.9.9"
# testing
pytest = "7.4.4"
pytest-lazy-fixture = "^0.6.3"
pytest-cov = "^5.0.0"
Expand Down

0 comments on commit 32e81bd

Please sign in to comment.