matrixsynapse: Handle release of matrix-synapse 1.11

- python3-signedjson >= 1.1.0 is needed by matrix-synapse-1.11.

- Force upgrade to version 1.11 is needed.

Closes: #1791.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>

Reviewed-by: Nektarios Katakis <iam@nektarioskatakis.xyz>
This commit is contained in:
Sunil Mohan Adapa 2020-03-13 17:40:01 -07:00 committed by Nektarios Katakis
parent 79f369916d
commit 476b0e966c
No known key found for this signature in database
GPG Key ID: 9CA475E691EBCF76
2 changed files with 6 additions and 1 deletions

View File

@ -132,7 +132,7 @@ def force_upgrade(helper, packages):
# Allow any lower version to upgrade to 1.8.*
package = packages['matrix-synapse']
if Version(package['new_version']) > Version('1.9~'):
if Version(package['new_version']) > Version('1.12~'):
return False
public_registration_status = get_public_registration_status()

View File

@ -19,3 +19,8 @@ Explanation: matrix-synapse >= 1.5 requires python3-typing-extensions >= 3.7.4
Package: python3-typing-extensions
Pin: release a=buster-backports
Pin-Priority: 500
Explanation: matrix-synapse >= 1.11 requires python3-signedjson >= 1.1.0
Package: python3-signedjson
Pin: release a=buster-backports
Pin-Priority: 500