mailmanPackages: remove psycopg2 pin

This hack was necessary for django 2.x[1] which was the default `django`
version (i.e. current LTS) when this fix was needed. However, 2.x is now
EOL and not packaged anymore and mailman is running with django3, so
this can be dropped.

[1] https://github.com/psycopg/psycopg2/issues/1293
This commit is contained in:
Maximilian Bosch 2023-08-12 13:17:15 +02:00
parent 2cefe69f6f
commit 8b45dd8698
No known key found for this signature in database
GPG Key ID: 9A6EEA275CA5BE0A

View File

@ -7,15 +7,6 @@ python3.override {
alembic = super.alembic.overridePythonAttrs (oldAttrs: {
doCheck = false;
});
# Fixes `AssertionError: database connection isn't set to UTC`
psycopg2 = super.psycopg2.overridePythonAttrs (a: (rec {
version = "2.8.6";
src = super.fetchPypi {
inherit version;
inherit (a) pname;
sha256 = "fb23f6c71107c37fd667cb4ea363ddeb936b348bbd6449278eb92c189699f543";
};
}));
})
overlay;
}