From 32e81bd3cd513cf24d2dff2126dc9f5563fbab34 Mon Sep 17 00:00:00 2001 From: jason810496 Date: Sun, 3 Nov 2024 23:30:39 +0800 Subject: [PATCH] feat: add sqlalchemy pyproject dependencies --- tembo-pgmq-python/pyproject.toml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tembo-pgmq-python/pyproject.toml b/tembo-pgmq-python/pyproject.toml index 58d4cc76..2e4f38be 100644 --- a/tembo-pgmq-python/pyproject.toml +++ b/tembo-pgmq-python/pyproject.toml @@ -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"