Other modules still need psycopg2 and pytest-postgresql 4 introduced a
hard dependency on psycopg3.
This restriction has only been needed since a recent dependency
upgrade (or maybe a pip upgrade); pip has stopped being able to solve it
itself for some reason.