View | Details | Raw Unified | Return to bug 272614 | Differences between
and this patch

Collapse All | Expand All

(-)b/net-im/py-matrix-synapse/Makefile (-2 / +2 lines)
Lines 1-5 Link Here
1
PORTNAME=	matrix-synapse
1
PORTNAME=	matrix-synapse
2
DISTVERSION=	1.87.0
2
DISTVERSION=	1.91.0
3
CATEGORIES=	net-im python
3
CATEGORIES=	net-im python
4
MASTER_SITES=	PYPI
4
MASTER_SITES=	PYPI
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 52-58 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}virtualenv>=15.0:devel/py-virtualenv@${PY_F Link Here
52
		${PYTHON_PKGNAMEPREFIX}authlib>=0.15.1:security/py-authlib@${PY_FLAVOR} \
52
		${PYTHON_PKGNAMEPREFIX}authlib>=0.15.1:security/py-authlib@${PY_FLAVOR} \
53
		${PYTHON_PKGNAMEPREFIX}idna>=2.5:dns/py-idna@${PY_FLAVOR}
53
		${PYTHON_PKGNAMEPREFIX}idna>=2.5:dns/py-idna@${PY_FLAVOR}
54
54
55
USES=		python pycryptography:run cargo
55
USES=		python:3.8+ pycryptography:run cargo
56
USE_PYTHON=	autoplist distutils
56
USE_PYTHON=	autoplist distutils
57
USE_RC_SUBR=	synapse
57
USE_RC_SUBR=	synapse
58
WRKSRC=		${WRKDIR}/${PORTNAME:S/-/_/}-${DISTVERSION}
58
WRKSRC=		${WRKDIR}/${PORTNAME:S/-/_/}-${DISTVERSION}
(-)b/net-im/py-matrix-synapse/Makefile.crates (-11 / +12 lines)
Lines 1-5 Link Here
1
CARGO_CRATES=	aho-corasick-1.0.2 \
1
CARGO_CRATES=	aho-corasick-1.0.2 \
2
		anyhow-1.0.71 \
2
		anyhow-1.0.72 \
3
		arc-swap-1.5.1 \
3
		arc-swap-1.5.1 \
4
		autocfg-1.1.0 \
4
		autocfg-1.1.0 \
5
		bitflags-1.3.2 \
5
		bitflags-1.3.2 \
Lines 15-47 CARGO_CRATES= aho-corasick-1.0.2 \ Link Here
15
		lazy_static-1.4.0 \
15
		lazy_static-1.4.0 \
16
		libc-0.2.135 \
16
		libc-0.2.135 \
17
		lock_api-0.4.9 \
17
		lock_api-0.4.9 \
18
		log-0.4.19 \
18
		log-0.4.20 \
19
		memchr-2.5.0 \
19
		memchr-2.5.0 \
20
		memoffset-0.6.5 \
20
		memoffset-0.6.5 \
21
		once_cell-1.15.0 \
21
		once_cell-1.15.0 \
22
		parking_lot-0.12.1 \
22
		parking_lot-0.12.1 \
23
		parking_lot_core-0.9.3 \
23
		parking_lot_core-0.9.3 \
24
		proc-macro2-1.0.52 \
24
		proc-macro2-1.0.64 \
25
		pyo3-0.17.3 \
25
		pyo3-0.17.3 \
26
		pyo3-build-config-0.17.3 \
26
		pyo3-build-config-0.17.3 \
27
		pyo3-ffi-0.17.3 \
27
		pyo3-ffi-0.17.3 \
28
		pyo3-log-0.8.2 \
28
		pyo3-log-0.8.3 \
29
		pyo3-macros-0.17.3 \
29
		pyo3-macros-0.17.3 \
30
		pyo3-macros-backend-0.17.3 \
30
		pyo3-macros-backend-0.17.3 \
31
		pythonize-0.17.0 \
31
		pythonize-0.17.0 \
32
		quote-1.0.26 \
32
		quote-1.0.29 \
33
		redox_syscall-0.2.16 \
33
		redox_syscall-0.2.16 \
34
		regex-1.8.4 \
34
		regex-1.9.3 \
35
		regex-syntax-0.7.2 \
35
		regex-automata-0.3.6 \
36
		regex-syntax-0.7.4 \
36
		ryu-1.0.11 \
37
		ryu-1.0.11 \
37
		scopeguard-1.1.0 \
38
		scopeguard-1.1.0 \
38
		serde-1.0.164 \
39
		serde-1.0.184 \
39
		serde_derive-1.0.164 \
40
		serde_derive-1.0.184 \
40
		serde_json-1.0.99 \
41
		serde_json-1.0.104 \
41
		smallvec-1.10.0 \
42
		smallvec-1.10.0 \
42
		subtle-2.4.1 \
43
		subtle-2.4.1 \
43
		syn-1.0.104 \
44
		syn-1.0.104 \
44
		syn-2.0.10 \
45
		syn-2.0.28 \
45
		target-lexicon-0.12.4 \
46
		target-lexicon-0.12.4 \
46
		typenum-1.15.0 \
47
		typenum-1.15.0 \
47
		unicode-ident-1.0.5 \
48
		unicode-ident-1.0.5 \
(-)b/net-im/py-matrix-synapse/distinfo (-25 / +27 lines)
Lines 1-10 Link Here
1
TIMESTAMP = 1688493981
1
TIMESTAMP = 1693421632
2
SHA256 (matrix_synapse-1.87.0.tar.gz) = 6bdd836512f0c96158af8eef9870e75c6420e465c3becc4f2c504b76261f83e5
2
SHA256 (matrix_synapse-1.91.0.tar.gz) = 913d78566edcc3c6e5e28199492aab87150c73b52b7f639ac25888de0df3cc13
3
SIZE (matrix_synapse-1.87.0.tar.gz) = 3216171
3
SIZE (matrix_synapse-1.91.0.tar.gz) = 3275709
4
SHA256 (rust/crates/aho-corasick-1.0.2.crate) = 43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41
4
SHA256 (rust/crates/aho-corasick-1.0.2.crate) = 43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41
5
SIZE (rust/crates/aho-corasick-1.0.2.crate) = 167694
5
SIZE (rust/crates/aho-corasick-1.0.2.crate) = 167694
6
SHA256 (rust/crates/anyhow-1.0.71.crate) = 9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8
6
SHA256 (rust/crates/anyhow-1.0.72.crate) = 3b13c32d80ecc7ab747b80c3784bce54ee8a7a0cc4fbda9bf4cda2cf6fe90854
7
SIZE (rust/crates/anyhow-1.0.71.crate) = 43808
7
SIZE (rust/crates/anyhow-1.0.72.crate) = 43837
8
SHA256 (rust/crates/arc-swap-1.5.1.crate) = 983cd8b9d4b02a6dc6ffa557262eb5858a27a0038ffffe21a0f133eaa819a164
8
SHA256 (rust/crates/arc-swap-1.5.1.crate) = 983cd8b9d4b02a6dc6ffa557262eb5858a27a0038ffffe21a0f133eaa819a164
9
SIZE (rust/crates/arc-swap-1.5.1.crate) = 66157
9
SIZE (rust/crates/arc-swap-1.5.1.crate) = 66157
10
SHA256 (rust/crates/autocfg-1.1.0.crate) = d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
10
SHA256 (rust/crates/autocfg-1.1.0.crate) = d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
Lines 35-42 SHA256 (rust/crates/libc-0.2.135.crate) = 68783febc7782c6c5cb401fbda4de5a9898be1 Link Here
35
SIZE (rust/crates/libc-0.2.135.crate) = 604591
35
SIZE (rust/crates/libc-0.2.135.crate) = 604591
36
SHA256 (rust/crates/lock_api-0.4.9.crate) = 435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df
36
SHA256 (rust/crates/lock_api-0.4.9.crate) = 435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df
37
SIZE (rust/crates/lock_api-0.4.9.crate) = 25685
37
SIZE (rust/crates/lock_api-0.4.9.crate) = 25685
38
SHA256 (rust/crates/log-0.4.19.crate) = b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4
38
SHA256 (rust/crates/log-0.4.20.crate) = b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f
39
SIZE (rust/crates/log-0.4.19.crate) = 38073
39
SIZE (rust/crates/log-0.4.20.crate) = 38307
40
SHA256 (rust/crates/memchr-2.5.0.crate) = 2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d
40
SHA256 (rust/crates/memchr-2.5.0.crate) = 2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d
41
SIZE (rust/crates/memchr-2.5.0.crate) = 65812
41
SIZE (rust/crates/memchr-2.5.0.crate) = 65812
42
SHA256 (rust/crates/memoffset-0.6.5.crate) = 5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce
42
SHA256 (rust/crates/memoffset-0.6.5.crate) = 5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce
Lines 47-94 SHA256 (rust/crates/parking_lot-0.12.1.crate) = 3742b2c103b9f06bc9fff0a37ff49129 Link Here
47
SIZE (rust/crates/parking_lot-0.12.1.crate) = 40967
47
SIZE (rust/crates/parking_lot-0.12.1.crate) = 40967
48
SHA256 (rust/crates/parking_lot_core-0.9.3.crate) = 09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929
48
SHA256 (rust/crates/parking_lot_core-0.9.3.crate) = 09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929
49
SIZE (rust/crates/parking_lot_core-0.9.3.crate) = 32256
49
SIZE (rust/crates/parking_lot_core-0.9.3.crate) = 32256
50
SHA256 (rust/crates/proc-macro2-1.0.52.crate) = 1d0e1ae9e836cc3beddd63db0df682593d7e2d3d891ae8c9083d2113e1744224
50
SHA256 (rust/crates/proc-macro2-1.0.64.crate) = 78803b62cbf1f46fde80d7c0e803111524b9877184cfe7c3033659490ac7a7da
51
SIZE (rust/crates/proc-macro2-1.0.52.crate) = 42982
51
SIZE (rust/crates/proc-macro2-1.0.64.crate) = 44848
52
SHA256 (rust/crates/pyo3-0.17.3.crate) = 268be0c73583c183f2b14052337465768c07726936a260f480f0857cb95ba543
52
SHA256 (rust/crates/pyo3-0.17.3.crate) = 268be0c73583c183f2b14052337465768c07726936a260f480f0857cb95ba543
53
SIZE (rust/crates/pyo3-0.17.3.crate) = 408939
53
SIZE (rust/crates/pyo3-0.17.3.crate) = 408939
54
SHA256 (rust/crates/pyo3-build-config-0.17.3.crate) = 28fcd1e73f06ec85bf3280c48c67e731d8290ad3d730f8be9dc07946923005c8
54
SHA256 (rust/crates/pyo3-build-config-0.17.3.crate) = 28fcd1e73f06ec85bf3280c48c67e731d8290ad3d730f8be9dc07946923005c8
55
SIZE (rust/crates/pyo3-build-config-0.17.3.crate) = 29230
55
SIZE (rust/crates/pyo3-build-config-0.17.3.crate) = 29230
56
SHA256 (rust/crates/pyo3-ffi-0.17.3.crate) = 0f6cb136e222e49115b3c51c32792886defbfb0adead26a688142b346a0b9ffc
56
SHA256 (rust/crates/pyo3-ffi-0.17.3.crate) = 0f6cb136e222e49115b3c51c32792886defbfb0adead26a688142b346a0b9ffc
57
SIZE (rust/crates/pyo3-ffi-0.17.3.crate) = 62854
57
SIZE (rust/crates/pyo3-ffi-0.17.3.crate) = 62854
58
SHA256 (rust/crates/pyo3-log-0.8.2.crate) = c94ff6535a6bae58d7d0b85e60d4c53f7f84d0d0aa35d6a28c3f3e70bfe51444
58
SHA256 (rust/crates/pyo3-log-0.8.3.crate) = f47b0777feb17f61eea78667d61103758b243a871edc09a7786500a50467b605
59
SIZE (rust/crates/pyo3-log-0.8.2.crate) = 14254
59
SIZE (rust/crates/pyo3-log-0.8.3.crate) = 14324
60
SHA256 (rust/crates/pyo3-macros-0.17.3.crate) = 94144a1266e236b1c932682136dc35a9dee8d3589728f68130c7c3861ef96b28
60
SHA256 (rust/crates/pyo3-macros-0.17.3.crate) = 94144a1266e236b1c932682136dc35a9dee8d3589728f68130c7c3861ef96b28
61
SIZE (rust/crates/pyo3-macros-0.17.3.crate) = 7257
61
SIZE (rust/crates/pyo3-macros-0.17.3.crate) = 7257
62
SHA256 (rust/crates/pyo3-macros-backend-0.17.3.crate) = c8df9be978a2d2f0cdebabb03206ed73b11314701a5bfe71b0d753b81997777f
62
SHA256 (rust/crates/pyo3-macros-backend-0.17.3.crate) = c8df9be978a2d2f0cdebabb03206ed73b11314701a5bfe71b0d753b81997777f
63
SIZE (rust/crates/pyo3-macros-backend-0.17.3.crate) = 49992
63
SIZE (rust/crates/pyo3-macros-backend-0.17.3.crate) = 49992
64
SHA256 (rust/crates/pythonize-0.17.0.crate) = 0f7f0c136f5fbc01868185eef462800e49659eb23acca83b9e884367a006acb6
64
SHA256 (rust/crates/pythonize-0.17.0.crate) = 0f7f0c136f5fbc01868185eef462800e49659eb23acca83b9e884367a006acb6
65
SIZE (rust/crates/pythonize-0.17.0.crate) = 10949
65
SIZE (rust/crates/pythonize-0.17.0.crate) = 10949
66
SHA256 (rust/crates/quote-1.0.26.crate) = 4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc
66
SHA256 (rust/crates/quote-1.0.29.crate) = 573015e8ab27661678357f27dc26460738fd2b6c86e46f386fde94cb5d913105
67
SIZE (rust/crates/quote-1.0.26.crate) = 28397
67
SIZE (rust/crates/quote-1.0.29.crate) = 28345
68
SHA256 (rust/crates/redox_syscall-0.2.16.crate) = fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a
68
SHA256 (rust/crates/redox_syscall-0.2.16.crate) = fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a
69
SIZE (rust/crates/redox_syscall-0.2.16.crate) = 24012
69
SIZE (rust/crates/redox_syscall-0.2.16.crate) = 24012
70
SHA256 (rust/crates/regex-1.8.4.crate) = d0ab3ca65655bb1e41f2a8c8cd662eb4fb035e67c3f78da1d61dffe89d07300f
70
SHA256 (rust/crates/regex-1.9.3.crate) = 81bc1d4caf89fac26a70747fe603c130093b53c773888797a6329091246d651a
71
SIZE (rust/crates/regex-1.8.4.crate) = 249562
71
SIZE (rust/crates/regex-1.9.3.crate) = 252676
72
SHA256 (rust/crates/regex-syntax-0.7.2.crate) = 436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78
72
SHA256 (rust/crates/regex-automata-0.3.6.crate) = fed1ceff11a1dddaee50c9dc8e4938bd106e9d89ae372f192311e7da498e3b69
73
SIZE (rust/crates/regex-syntax-0.7.2.crate) = 339778
73
SIZE (rust/crates/regex-automata-0.3.6.crate) = 607174
74
SHA256 (rust/crates/regex-syntax-0.7.4.crate) = e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2
75
SIZE (rust/crates/regex-syntax-0.7.4.crate) = 343365
74
SHA256 (rust/crates/ryu-1.0.11.crate) = 4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09
76
SHA256 (rust/crates/ryu-1.0.11.crate) = 4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09
75
SIZE (rust/crates/ryu-1.0.11.crate) = 47007
77
SIZE (rust/crates/ryu-1.0.11.crate) = 47007
76
SHA256 (rust/crates/scopeguard-1.1.0.crate) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd
78
SHA256 (rust/crates/scopeguard-1.1.0.crate) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd
77
SIZE (rust/crates/scopeguard-1.1.0.crate) = 11470
79
SIZE (rust/crates/scopeguard-1.1.0.crate) = 11470
78
SHA256 (rust/crates/serde-1.0.164.crate) = 9e8c8cf938e98f769bc164923b06dce91cea1751522f46f8466461af04c9027d
80
SHA256 (rust/crates/serde-1.0.184.crate) = 2c911f4b04d7385c9035407a4eff5903bf4fe270fa046fda448b69e797f4fff0
79
SIZE (rust/crates/serde-1.0.164.crate) = 77057
81
SIZE (rust/crates/serde-1.0.184.crate) = 77331
80
SHA256 (rust/crates/serde_derive-1.0.164.crate) = d9735b638ccc51c28bf6914d90a2e9725b377144fc612c49a611fddd1b631d68
82
SHA256 (rust/crates/serde_derive-1.0.184.crate) = c1df27f5b29406ada06609b2e2f77fb34f6dbb104a457a671cc31dbed237e09e
81
SIZE (rust/crates/serde_derive-1.0.164.crate) = 54789
83
SIZE (rust/crates/serde_derive-1.0.184.crate) = 55843
82
SHA256 (rust/crates/serde_json-1.0.99.crate) = 46266871c240a00b8f503b877622fe33430b3c7d963bdc0f2adc511e54a1eae3
84
SHA256 (rust/crates/serde_json-1.0.104.crate) = 076066c5f1078eac5b722a31827a8832fe108bed65dfa75e233c89f8206e976c
83
SIZE (rust/crates/serde_json-1.0.99.crate) = 145102
85
SIZE (rust/crates/serde_json-1.0.104.crate) = 146130
84
SHA256 (rust/crates/smallvec-1.10.0.crate) = a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0
86
SHA256 (rust/crates/smallvec-1.10.0.crate) = a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0
85
SIZE (rust/crates/smallvec-1.10.0.crate) = 31564
87
SIZE (rust/crates/smallvec-1.10.0.crate) = 31564
86
SHA256 (rust/crates/subtle-2.4.1.crate) = 6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601
88
SHA256 (rust/crates/subtle-2.4.1.crate) = 6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601
87
SIZE (rust/crates/subtle-2.4.1.crate) = 12630
89
SIZE (rust/crates/subtle-2.4.1.crate) = 12630
88
SHA256 (rust/crates/syn-1.0.104.crate) = 4ae548ec36cf198c0ef7710d3c230987c2d6d7bd98ad6edc0274462724c585ce
90
SHA256 (rust/crates/syn-1.0.104.crate) = 4ae548ec36cf198c0ef7710d3c230987c2d6d7bd98ad6edc0274462724c585ce
89
SIZE (rust/crates/syn-1.0.104.crate) = 236683
91
SIZE (rust/crates/syn-1.0.104.crate) = 236683
90
SHA256 (rust/crates/syn-2.0.10.crate) = 5aad1363ed6d37b84299588d62d3a7d95b5a5c2d9aad5c85609fda12afaa1f40
92
SHA256 (rust/crates/syn-2.0.28.crate) = 04361975b3f5e348b2189d8dc55bc942f278b2d482a6a0365de5bdd62d351567
91
SIZE (rust/crates/syn-2.0.10.crate) = 240095
93
SIZE (rust/crates/syn-2.0.28.crate) = 241635
92
SHA256 (rust/crates/target-lexicon-0.12.4.crate) = c02424087780c9b71cc96799eaeddff35af2bc513278cda5c99fc1f5d026d3c1
94
SHA256 (rust/crates/target-lexicon-0.12.4.crate) = c02424087780c9b71cc96799eaeddff35af2bc513278cda5c99fc1f5d026d3c1
93
SIZE (rust/crates/target-lexicon-0.12.4.crate) = 23020
95
SIZE (rust/crates/target-lexicon-0.12.4.crate) = 23020
94
SHA256 (rust/crates/typenum-1.15.0.crate) = dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987
96
SHA256 (rust/crates/typenum-1.15.0.crate) = dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987
(-)b/net-im/py-matrix-synapse/files/patch-pyproject.toml (-5 / +5 lines)
Lines 1-6 Link Here
1
--- pyproject.toml.orig	2023-07-04 15:35:46 UTC
1
--- pyproject.toml.orig	2023-08-30 18:21:32.688339700 +0800
2
+++ pyproject.toml
2
+++ pyproject.toml	2023-08-31 02:55:41.490241000 +0800
3
@@ -210,17 +210,6 @@ importlib_metadata = { version = ">=1.4", python = "<3
3
@@ -207,17 +207,6 @@
4
 # We are currently incompatible with >=2.0.0: (https://github.com/matrix-org/synapse/issues/15858)
4
 # We are currently incompatible with >=2.0.0: (https://github.com/matrix-org/synapse/issues/15858)
5
 pydantic = "^1.7.4"
5
 pydantic = "^1.7.4"
6
 
6
 
Lines 18-28 Link Here
18
 # Optional Dependencies
18
 # Optional Dependencies
19
 # ---------------------
19
 # ---------------------
20
 matrix-synapse-ldap3 = { version = ">=0.1", optional = true }
20
 matrix-synapse-ldap3 = { version = ">=0.1", optional = true }
21
@@ -370,7 +359,7 @@ furo = ">=2022.12.7,<2024.0.0"
21
@@ -367,7 +356,7 @@
22
 # system changes.
22
 # system changes.
23
 # We are happy to raise these upper bounds upon request,
23
 # We are happy to raise these upper bounds upon request,
24
 # provided we check that it's safe to do so (i.e. that CI passes).
24
 # provided we check that it's safe to do so (i.e. that CI passes).
25
-requires = ["poetry-core>=1.1.0,<=1.6.0", "setuptools_rust>=1.3,<=1.6.0"]
25
-requires = ["poetry-core>=1.1.0,<=1.7.0", "setuptools_rust>=1.3,<=1.6.0"]
26
+requires = ["poetry-core>=1.1.0,<=1.7.0", "setuptools_rust>=1.3,<=1.7.0"]
26
+requires = ["poetry-core>=1.1.0,<=1.7.0", "setuptools_rust>=1.3,<=1.7.0"]
27
 build-backend = "poetry.core.masonry.api"
27
 build-backend = "poetry.core.masonry.api"
28
 
28
 
(-)a/net-im/py-matrix-synapse/files/patch-synapse_media_thumbnailer.py (-11 lines)
Removed Link Here
1
--- synapse/media/thumbnailer.py.orig  2023-07-11 08:10:15 UTC
2
+++ synapse/media/thumbnailer.py
3
@@ -131,7 +131,7 @@ class Thumbnailer:
4
             else:
5
                 with self.image:
6
                     self.image = self.image.convert("RGB")
7
-        return self.image.resize((width, height), Image.ANTIALIAS)
8
+        return self.image.resize((width, height), Image.LANCZOS)
9
 
10
     def scale(self, width: int, height: int, output_type: str) -> BytesIO:
11
         """Rescales the image to the given dimensions.
(-)b/net-im/py-matrix-synapse/files/pkg-message.in (-62 / +4 lines)
Lines 18-86 instructions at %%DOCSDIR%%/UPGRADE.rst Link Here
18
EOM
18
EOM
19
}
19
}
20
{ type: upgrade
20
{ type: upgrade
21
  maximum_version: 1.51.0
21
  maximum_version: 1.88.0
22
  message: <<EOM
22
  message: <<EOM
23
Synapse 1.51.0 deprecates webclient listeners and non-HTTP(S)
23
Starting with synapse 1.88.0, the old worker replication configuration has been
24
web_client_location settings. Please update your homeserver configurations
24
deprecated. Please read the official upgrade instructions on how to migrate your
25
accordingly.
25
configuration.
26
27
Additionally, if you run your own turn server for WebRTC and
28
use Let's Encrypt certificates, be advised that some Android and iOS clients
29
may be unable to connect. Please see upstream's turn-howto[0] for additional
30
details on this issue.
31
32
[0] https://matrix-org.github.io/synapse/latest/turn-howto.html
33
34
EOM
35
}
36
{ type: upgrade
37
  maximum_version: 1.55.0
38
  message: <<EOM
39
The default room version of synapse has been increased to version 9. Consider
40
changing this if interoperability with other matrix servers is an issue.
41
42
If you're using Mjolnir, be advised that this version of synapse is
43
incompatible with Mjolnir 1.3.1 and earlier.
44
45
EOM
46
}
47
{
48
  message: <<EOM
49
Running synapse with the sqlite backend is only recommended for testing purposes.
50
Future versions of synapse will disable federation by default if sqlite is used.
51
EOM
52
}
53
{ type: upgrade
54
  message: <<EOM
55
If you're currently using synapse with sqlite and would like to switch to postgres,
56
please read the instructions at %%DOCSDIR%%/postgres.md
57
EOM
58
}
59
{ type: upgrade
60
  maximum_version: 1.55.2
61
  message: <<EOM
62
Synapse will now refuse to start up if open registration is enabled, in order to help
63
mitigate abuse across the federation. If you would like to provide registration to
64
anyone, consider adding email, recaptcha or token-based verification in order to
65
prevent automated registration from bad actors. This check can be disabled by setting
66
the enable_registration_without_verification option in your homeserver configuration
67
file to true. More details are available in the upgrade notes[0].
68
69
Synapse will additionally now refuse to start when using PostgreSQL with a non-C values
70
for COLLATE and CTYPE, unless the config flag allow_unsafe_locale, found in the database
71
section of the configuration file, is set to true. See the upgrade notes[1] for details.
72
73
[0] https://matrix-org.github.io/synapse/v1.56/upgrade.html#open-registration-without-verification-is-now-disabled-by-default
74
[1] https://matrix-org.github.io/synapse/v1.56/upgrade#change-in-behaviour-for-postgresql-databases-with-unsafe-locale
75
EOM
76
}
77
{ type: upgrade
78
  maximum_version: 1.62.0
79
  message: <<EOM
80
Starting with synapse 1.62.0, this port will no longer ship with sqlite support
81
by default. If you rely on sqlite for your setup, please either migrate to
82
postgresql, install the sqlite dependency manually or build a custom flavor of the
83
port.
84
EOM
26
EOM
85
}
27
}
86
]
28
]

Return to bug 272614