The operations/software/censorship-monitoring repository depends on the psycopg2 package that needs additional libraries installed to build from source. Currently, this fails because of the missing packages:
https://integration.wikimedia.org/ci/job/tox-docker/11588/console
In previous iterations, I was using the -binary package and didn't have this issue but that's not recommended and also since we are now building a deb package that uses setup.py install, it will be helpful to have the proper packages available in the testing environment.
The solution is to install the following packages:
python3-dev libpq-dev gcc
Would it be possible to do this for the CI environment for censorship-monitoring or is there a better way? Thanks.