This requires a dependency on the python cookbook.  Would this work with the `python-psycopg2` system package instead?