Skip to content

Commit

Permalink
fix tool.poetry.extras, add psycopg-pool to 'psycopg' installation. R…
Browse files Browse the repository at this point in the history
…emove redundant imports
  • Loading branch information
akerlay committed Sep 30, 2024
1 parent 2450086 commit 9212a5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions peewee_async/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@

import psycopg_pool
from psycopg import AsyncClientCursor
from psycopg.types import TypeInfo
from psycopg.types.hstore import register_hstore

from .utils import aiopg, aiomysql, PoolProtocol, ConnectionProtocol
from .utils import format_dsn
from .utils import aiopg, aiomysql, PoolProtocol, ConnectionProtocol, format_dsn


class PoolBackend(metaclass=abc.ABCMeta):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ postgresql = ["aiopg"]
mysql = ["aiomysql", "cryptography"]
develop = ["aiopg", "aiomysql", "cryptography", "pytest", "pytest-asyncio", "pytest-mock", "mypy", "types-PyMySQL", "psycopg", "psycopg-pool"]
docs = ["aiopg", "aiomysql", "cryptography", "sphinx", "sphinx-rtd-theme"]
psycopg3 = ["psycopg"]
psycopg = ["psycopg", "psycopg-pool"]

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit 9212a5a

Please sign in to comment.