From a55e63b7f49ce444e986af562a5b96f1948678db Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Thu, 23 Jun 2022 15:14:59 -0700 Subject: [PATCH] matrixsynapse: Allow new dependency to be installed from backports Closes: #2230. - matrix-synapse >= 1.59.1-1 requires python3-unpaddedbase64 >= 2.1.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 | 6 ++++++ plinth/modules/upgrades/__init__.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/actions/upgrades b/actions/upgrades index 2f78142ec..49069ce55 100755 --- a/actions/upgrades +++ b/actions/upgrades @@ -68,6 +68,12 @@ Explanation: python3-markupsafe >= 2.0 Package: python3-markupsafe Pin: release a=bullseye-backports Pin-Priority: 500 + +Explanation: matrix-synapse >= 1.59.1-1 requires +Explanation: python3-unpaddedbase64 >= 2.1.0~ +Package: python3-unpaddedbase64 +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 418be5d89..646cb3833 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 = 13 + _version = 14 can_be_disabled = False