diff --git a/poetry.lock b/poetry.lock
index 33a3729b00ef2f27893fac7f127f4902e244d3f2..a2fb5fcff35baf4654c36d0d60dffef0a487bf10 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -20,15 +20,15 @@ speedups = ["Brotli", "aiodns", "cchardet"]
 
 [[package]]
 name = "aiopg"
-version = "1.3.3"
+version = "1.4.0"
 description = "Postgres integration with asyncio."
 category = "main"
 optional = false
-python-versions = ">=3.6"
+python-versions = ">=3.7"
 
 [package.dependencies]
 async-timeout = ">=3.0,<5.0"
-psycopg2-binary = ">=2.8.4"
+psycopg2-binary = ">=2.9.5"
 
 [package.extras]
 sa = ["sqlalchemy[postgresql-psycopg2binary] (>=1.3,<1.5)"]
@@ -699,7 +699,7 @@ multidict = ">=4.0"
 [metadata]
 lock-version = "1.1"
 python-versions = ">=3.9,<4.0"
-content-hash = "9787174a3873ba4774f1bea1e0f2330aec6d0d42936595e5320cd9ea4d224217"
+content-hash = "b46477fd5822225ab0957ba2fbd55edce20a05ef6d406236aae2d451d87e922c"
 
 [metadata.files]
 aiohttp = [
@@ -792,8 +792,8 @@ aiohttp = [
     {file = "aiohttp-3.8.3.tar.gz", hash = "sha256:3828fb41b7203176b82fe5d699e0d845435f2374750a44b480ea6b930f6be269"},
 ]
 aiopg = [
-    {file = "aiopg-1.3.3-py3-none-any.whl", hash = "sha256:2842dd8741460eeef940032dcb577bfba4d4115205dd82a73ce13b3271f5bf0a"},
-    {file = "aiopg-1.3.3.tar.gz", hash = "sha256:547c6ba4ea0d73c2a11a2f44387d7133cc01d3c6f3b8ed976c0ac1eff4f595d7"},
+    {file = "aiopg-1.4.0-py3-none-any.whl", hash = "sha256:aea46e8aff30b039cfa818e6db4752c97656e893fc75e5a5dc57355a9e9dedbd"},
+    {file = "aiopg-1.4.0.tar.gz", hash = "sha256:116253bef86b4d954116716d181e9a0294037f266718b2e1c9766af995639d71"},
 ]
 aioredis = [
     {file = "aioredis-1.3.1-py3-none-any.whl", hash = "sha256:b61808d7e97b7cd5a92ed574937a079c9387fdadd22bfbfa7ad2fd319ecc26e3"},
diff --git a/pyproject.toml b/pyproject.toml
index 24674319e582c5e303f1977a41ee83924ae10731..b507e0d8261b1d4670083dd170efa4064256fcee 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,7 +6,7 @@ authors = ["Funkwhale Collective"]
 
 [tool.poetry.dependencies]
 python = ">=3.9,<4.0"
-aiopg = "1.3.3"
+aiopg = "1.4.0"
 aiohttp = "3.8.3"
 click = "8.1.3"
 aioredis = "1.3.1"