From 8b45dd8698683cd45cf1710666a7542d49b09eb9 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 12 Aug 2023 13:17:15 +0200 Subject: [PATCH] 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 --- pkgs/servers/mail/mailman/python.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkgs/servers/mail/mailman/python.nix b/pkgs/servers/mail/mailman/python.nix index 58256a961aba..be50e9be7e61 100644 --- a/pkgs/servers/mail/mailman/python.nix +++ b/pkgs/servers/mail/mailman/python.nix @@ -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; }