File matrix-synapse-remove-rpds-py-dep.patch of Package matrix-synapse

From 587ccb3f58339ded488eeb9cc3714d41efadf3ce 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 d56075793b..3a1a0c4d91 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -171,10 +171,6 @@ python = "^3.10.0"
 # ----------------------
 # 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.51.1