From fb3fddfb5a1acdbd2eaf380af897266fbf54516d Mon Sep 17 00:00:00 2001 From: Lucas Savva Date: Mon, 5 Apr 2021 02:13:39 +0100 Subject: [PATCH 1/3] python3Packages.aiosmtpd: 1.2.1 -> 1.4.2 Required for mailman update to 3.3.4 --- pkgs/development/python-modules/aiosmtpd/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/aiosmtpd/default.nix b/pkgs/development/python-modules/aiosmtpd/default.nix index 7bdddb42d4e3..c204261644c5 100644 --- a/pkgs/development/python-modules/aiosmtpd/default.nix +++ b/pkgs/development/python-modules/aiosmtpd/default.nix @@ -1,9 +1,9 @@ { lib, isPy3k, fetchFromGitHub, buildPythonPackage -, atpublic }: +, attrs, atpublic }: buildPythonPackage rec { pname = "aiosmtpd"; - version = "1.2.1"; + version = "1.4.2"; disabled = !isPy3k; # Release not published to Pypi @@ -11,11 +11,11 @@ buildPythonPackage rec { owner = "aio-libs"; repo = pname; rev = version; - sha256 = "14c30dm6jzxiblnsah53fdv68vqhxwvb9x0aq9bc4vcdas747vr7"; + sha256 = "0hbpyns1j1fpvpj7gyb8cz359j7l4hzfqbig74xp4xih59sih0wj"; }; propagatedBuildInputs = [ - atpublic + atpublic attrs ]; # Tests need network access From 4002146ff5c9951ee5243175099ca2d04c4e5d60 Mon Sep 17 00:00:00 2001 From: Lucas Savva Date: Mon, 5 Apr 2021 02:14:22 +0100 Subject: [PATCH 2/3] mailman: 3.3.1 -> 3.3.4 Postorious 1.3.4 (AKA mailman-web, already in unstable/master) requires this version to work --- pkgs/servers/mail/mailman/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/mail/mailman/default.nix b/pkgs/servers/mail/mailman/default.nix index 9a86cc31fdd8..7f1e02fd76ec 100644 --- a/pkgs/servers/mail/mailman/default.nix +++ b/pkgs/servers/mail/mailman/default.nix @@ -6,12 +6,12 @@ buildPythonPackage rec { pname = "mailman"; - version = "3.3.1"; + version = "3.3.4"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "0idfiv48jjgc0jq4731094ddhraqq8bxnwmjk6sg5ask0jss9kxq"; + sha256 = "01rx322b8mzcdj9xh4bjwnl0zis6n2wxd31rrij4cw3a2j03xpas"; }; propagatedBuildInputs = [ From 3faeac7062aa5766c8170c165e451de11f925128 Mon Sep 17 00:00:00 2001 From: Lucas Savva Date: Mon, 5 Apr 2021 02:34:59 +0100 Subject: [PATCH 3/3] mailman: Add comments wrt updating mailman components The Mailman Core must be on its latest available version before updating hyperkitty or postorious. --- pkgs/servers/mail/mailman/hyperkitty.nix | 2 ++ pkgs/servers/mail/mailman/postorius.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pkgs/servers/mail/mailman/hyperkitty.nix b/pkgs/servers/mail/mailman/hyperkitty.nix index 00cf2c1e83c0..054d9dcf91a0 100644 --- a/pkgs/servers/mail/mailman/hyperkitty.nix +++ b/pkgs/servers/mail/mailman/hyperkitty.nix @@ -7,6 +7,8 @@ buildPythonPackage rec { pname = "HyperKitty"; + # Note: Mailman core must be on the latest version before upgrading HyperKitty. + # See: https://gitlab.com/mailman/postorius/-/issues/516#note_544571309 version = "1.3.3"; disabled = !isPy3k; diff --git a/pkgs/servers/mail/mailman/postorius.nix b/pkgs/servers/mail/mailman/postorius.nix index fc9f6217d934..189e152fce03 100644 --- a/pkgs/servers/mail/mailman/postorius.nix +++ b/pkgs/servers/mail/mailman/postorius.nix @@ -4,6 +4,8 @@ buildPythonPackage rec { pname = "postorius"; + # Note: Mailman core must be on the latest version before upgrading Postorious. + # See: https://gitlab.com/mailman/postorius/-/issues/516#note_544571309 version = "1.3.4"; src = fetchPypi {