After the latest upgrade we are using Django 3.2 and the latest binary of psycopg2. In order to use Django 4.2, we need to switch to psycopg package as psycopg2 will be deprecated at some point.