From 2d9fca86bb886da9d3827240c9704d8696359ddb Mon Sep 17 00:00:00 2001
From: Bady <bady@disroot.org>
Date: Fri, 1 Nov 2024 16:34:01 +0000
Subject: [PATCH] Update dependencies

Replace pymsql and psycopg2 with aiomysql and aiopg for async support.
---
 requirements.txt | 4 ++--
 setup.py         | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/requirements.txt b/requirements.txt
index 2e83921..434f5a3 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
-psycopg2
+aiomysql
+aiopg
 bcrypt
-pymysql
 Twisted>=15.1.0
diff --git a/setup.py b/setup.py
index edeb6e6..1f19096 100644
--- a/setup.py
+++ b/setup.py
@@ -49,9 +49,9 @@ setup(
     description="A Diaspora* auth provider for Synapse",
     install_requires=[
         "Twisted>=15.1.0",
-        "psycopg2",
         "bcrypt",
-        "pymysql"
+        "aiomysql",
+        "aiopg"
     ],
     long_description=read("README.rst"),
     classifiers=[
-- 
GitLab