diff --git a/winery-test-environment/rw.yml b/winery-test-environment/rw.yml
index 6d1a093976c41e64500ca374536dc48159f74853..8cfdadece991b181578fdd58f9fa3158f2b49982 100644
--- a/winery-test-environment/rw.yml
+++ b/winery-test-environment/rw.yml
@@ -55,7 +55,8 @@
           - postgresql
           - postgresql-contrib
           - libpq-dev
-          - python3-psycopg2
+          - python3-psycopg
+          - python3-psycopg_pool
           - acl
 
     - name: postgresql.conf max_connections = 1000