File matrix-synapse-older-attrs.patch of Package matrix-synapse

From 8bbb538d9bf3e07bd3ac40f3acad17845b8cfb02 Mon Sep 17 00:00:00 2001
From: Oleg Girko <ol@infoserver.lv>
Date: Tue, 19 May 2026 18:05:50 +0100
Subject: [PATCH] Partially revert "Bump attrs from 25.4.0 to 26.1.0 (#19684)"

Bumping package versions arbitrarily breaks build for Fedora and RHEL.

This reverts commit 2e9d6f7f35df53f510b689c09d3a9ace82a0d840.
---
 pyproject.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index 2199db73e5..7294e4d7b5 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -60,7 +60,7 @@ dependencies = [
     "prometheus-client>=0.6.0",
     # we use `order`, which arrived in attrs 19.2.0.
     # Note: 21.1.0 broke `/sync`, see https://github.com/matrix-org/synapse/issues/9936
-    "attrs>=26.1.0,!=21.1.0",
+    "attrs>=19.2.0,!=21.1.0",
     "netaddr>=0.7.18",
     # Jinja 2.x is incompatible with MarkupSafe>=2.1. To ensure that admins do not
     # end up with a broken installation, with recent MarkupSafe but old Jinja, we
-- 
2.54.0