diff --git a/README.md b/README.md index 133a724..1799efe 100644 --- a/README.md +++ b/README.md @@ -20,10 +20,10 @@ pip install matter-persistence pip install matter-persistence[database-migration] ``` -### With postgres support +### With postgres support. Use "postgresql_asyncpg" as dependency to force Apple chip computers to use asyncpg. ```console -pip install matter-persistence[database-postgres] +pip install sqlalchemy[postgresql_asyncpg] ``` ### With cache support diff --git a/pyproject.toml b/pyproject.toml index a5402eb..afb55e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,8 +40,9 @@ database-migrations = ["matter-persistence[database]", database-postgresql = [ "matter-persistence[database]", - "sqlalchemy[postgresql]==2.0.12", - "asyncpg==0.27.0"] + "sqlalchemy[postgresql_asyncpg]==2.0.12", + "asyncpg==0.27.0", + "greenlet"] cache = ["aiocache==0.12.1"]