From bf02dfb38ce36b7b1351368b007af987272e912a Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 9 May 2022 13:14:00 -0700 Subject: [PATCH] matrixsynapse: Allow new dependencies to be installed from backports Closes: #2215. - matrix-synapse >= 1.55.0-2 requires python3-jinja2 >= 3.0~ - python3-jinja2 >= 3.0~ requires python3-markupsafe >= 2.0 Tests: - On a stable container, matrixsynapse app is not installable. - With the changes, start FreedomBox service, setup will run on the upgrades module and /etc/apt/preferences.d/51freedombox-apps.conf will be changed to include the two new entries. After this, matrix-synapse app is installable. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- actions/upgrades | 12 ++++++++++++ plinth/modules/upgrades/__init__.py | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/actions/upgrades b/actions/upgrades index 80e186940..2f78142ec 100755 --- a/actions/upgrades +++ b/actions/upgrades @@ -56,6 +56,18 @@ Explanation: python3-typing-extensions >= 3.10 Package: python3-typing-extensions Pin: release a=bullseye-backports Pin-Priority: 500 + +Explanation: matrix-synapse >= 1.55.0-2 requires +Explanation: python3-jinja2 >= 3.0~ +Package: python3-jinja2 +Pin: release a=bullseye-backports +Pin-Priority: 500 + +Explanation: python3-jinja2 >= 3.0~ requires +Explanation: python3-markupsafe >= 2.0 +Package: python3-markupsafe +Pin: release a=bullseye-backports +Pin-Priority: 500 ''' DIST_UPGRADE_OBSOLETE_PACKAGES: List[str] = [] diff --git a/plinth/modules/upgrades/__init__.py b/plinth/modules/upgrades/__init__.py index 634493de0..418be5d89 100644 --- a/plinth/modules/upgrades/__init__.py +++ b/plinth/modules/upgrades/__init__.py @@ -62,7 +62,7 @@ class UpgradesApp(app_module.App): app_id = 'upgrades' - _version = 12 + _version = 13 can_be_disabled = False