File matrix-synapse-remove-rpds-py-dep.patch of Package matrix-synapse
From e046b22e8a4d3dbcf5f046255e724b2752866ffa Mon Sep 17 00:00:00 2001
From: Oleg Girko <ol@infoserver.lv>
Date: Wed, 12 Nov 2025 01:17:47 +0000
Subject: [PATCH] Remove rpds-py Python dependency.
It's not needed by Synapse inself, it's just a transitive dependency.
It's not needed in Fedora 43 that already has 0.27.0.
But it breaks build with RHEL 9 and 10 that have no one at all.
Signed-off-by: Oleg Girko <ol@infoserver.lv>
---
pyproject.toml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index e189868c20..1e0dc66f02 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -17,10 +17,6 @@ classifiers = [
dependencies = [
# we use the TYPE_CHECKER.redefine method added in jsonschema 3.0.0
"jsonschema>=3.0.0",
- # 0.25.0 is the first version to support Python 3.14.
- # We can remove this once https://github.com/python-jsonschema/jsonschema/issues/1426 is fixed
- # and included in a release.
- "rpds-py>=0.25.0",
# We choose 2.0 as a lower bound: the most recent backwards incompatible release.
# It seems generally available, judging by https://pkgs.org/search/?q=immutabledict
"immutabledict>=2.0",
--
2.52.0