Wagtail doesn't require postgres but tests currently configured to run using postgres so need to install psycopg2 dependency.