Skip to content

Commit

Permalink
net-im/synapse: restrict rdeps to <pillow-10 and <pydantic-2
Browse files Browse the repository at this point in the history
Pillow 10 removes some deprecated constatns that are used in synapse,
the issue is already fixed in upstream, see [1,2].
Moreover, synapse is incompatible with pydantic 2.0 [3].

[1] matrix-org/synapse#15873
[2] matrix-org/synapse#15876
[3] matrix-org/synapse#15858

Closes: https://bugs.gentoo.org/909644
Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
  • Loading branch information
arkamar committed Jul 5, 2023
1 parent f1db0bd commit 16a20b7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ DEPEND="
acct-user/synapse
acct-group/synapse
"
# <pillow-10, see bug #909644
# <pydantic-2, see https://github.com/matrix-org/synapse/issues/15858
RDEPEND="
${DEPEND}
dev-python/attrs[${PYTHON_USEDEP}]
Expand All @@ -108,11 +110,11 @@ RDEPEND="
dev-python/netaddr[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/phonenumbers[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP},webp]
<dev-python/pillow-10[${PYTHON_USEDEP},webp]
dev-python/prometheus-client[${PYTHON_USEDEP}]
dev-python/pyasn1-modules[${PYTHON_USEDEP}]
dev-python/pyasn1[${PYTHON_USEDEP}]
dev-python/pydantic[${PYTHON_USEDEP}]
<dev-python/pydantic-2[${PYTHON_USEDEP}]
dev-python/pymacaroons[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
Expand Down

0 comments on commit 16a20b7

Please sign in to comment.