File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ Install with additional DBAPIs packages
1515
1616.. code-block :: bash
1717
18- pip install pgmq-sqlalchemy[psycopg2]
19- pip install pgmq-sqlalchemy[asyncpg]
20- # pip install pgmq-sqlalchemy[postgres-python-driver]
18+ pip install " pgmq-sqlalchemy[asyncpg] "
19+ pip install " pgmq-sqlalchemy[psycopg2-binary] "
20+ # pip install " pgmq-sqlalchemy[postgres-python-driver]"
2121
2222 .. Note :: See `SQLAlchemy Postgresql Dialects <https://docs.sqlalchemy.org/en/20/dialects/postgresql.html>`_ for all available DBAPIs packages.
2323
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ classifiers = [
2727"Documentation" = " https://pgmq-sqlalchemy.readthedocs.io/en/latest/"
2828
2929[tool .poetry .extras ]
30- asyncpg = [" asyncpg" ]
30+ asyncpg = [" asyncpg" , " greenlet " ]
3131pg8000 = [" pg8000" ]
3232psycopg = [" psycopg" ]
3333psycopg2-binary = [" psycopg2-binary" ]
@@ -37,6 +37,13 @@ psycopg2cffi = ["psycopg2cffi"]
3737[tool .poetry .dependencies ]
3838python = " ^3.9"
3939SQLAlchemy = " ^2.0.31"
40+ # optional dependencies
41+ asyncpg = {version = " ^0.29.0" , optional = true }
42+ greenlet = {version = " ^3.0.3" , optional = true }
43+ pg8000 = {version = " ^1.31.2" , optional = true }
44+ psycopg = {version = " ^3.2.1" , optional = true }
45+ psycopg2-binary = {version = " ^2.9.9" , optional = true }
46+ psycopg2cffi = {version = " ^2.9.0" , optional = true }
4047
4148[tool .poetry .group .dev .dependencies ]
4249# postgresql drivers
You can’t perform that action at this time.
0 commit comments