From 0c8ed1388250ef4691279bf31e603fc0fff90cb8 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 14 Jul 2020 16:46:43 -0700 Subject: [PATCH] matrixsynapse: Allow upgrade to version 1.17 Tests: - Run with new code. Setup is run for upgrades modules. /etc/apt/preferences.d/51-freedombox-apps.pref contains the changes for python3-attr. - On stable. apt policy python3-attr shows version 19.3.0-3~bpo10+1 is the preferred version. - On stable, installing matrix-synapse leads to installation of python3-attr =19.3.0-3~bpo10+1. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- actions/upgrades | 5 +++++ plinth/modules/upgrades/__init__.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/actions/upgrades b/actions/upgrades index 49242c31e..ca7001826 100755 --- a/actions/upgrades +++ b/actions/upgrades @@ -63,6 +63,11 @@ Explanation: python3-twisted requires matching version of python3-twisted-bin Package: python3-twisted-bin Pin: release a=buster-backports Pin-Priority: 500 + +Explanation: matrix-synapse >= 1.16 requires python3-attr >= 19.1.0~ +Package: python3-attr +Pin: release a=buster-backports +Pin-Priority: 500 ''' diff --git a/plinth/modules/upgrades/__init__.py b/plinth/modules/upgrades/__init__.py index b75c6f1c2..0edf17e7b 100644 --- a/plinth/modules/upgrades/__init__.py +++ b/plinth/modules/upgrades/__init__.py @@ -17,7 +17,7 @@ from plinth import cfg, glib, menu from .manifest import backup # noqa, pylint: disable=unused-import -version = 4 +version = 5 is_essential = True