From 4df26abf28a13f005dc4b220a5f7eb96bc4df116 Mon Sep 17 00:00:00 2001
From: Erik Johnston <erik@matrix.org>
Date: Fri, 7 May 2021 12:57:21 +0100
Subject: [PATCH] Unpin attrs dep after new version has been released (#9946)

c.f. #9936
---
 changelog.d/9946.misc          | 1 +
 synapse/python_dependencies.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 changelog.d/9946.misc

diff --git a/changelog.d/9946.misc b/changelog.d/9946.misc
new file mode 100644
index 0000000000..142ec5496f
--- /dev/null
+++ b/changelog.d/9946.misc
@@ -0,0 +1 @@
+Unpin attrs dependency.
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index 7709361f16..45a6b82834 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -79,7 +79,7 @@ REQUIREMENTS = [
     # Fedora 31 only has 19.1, so if we want to upgrade we should wait until 33
     # is out in November.)
     # Note: 21.1.0 broke `/sync`, see #9936
-    "attrs>=19.1.0,<21.1.0",
+    "attrs>=19.1.0,!=21.1.0",
     "netaddr>=0.7.18",
     "Jinja2>=2.9",
     "bleach>=1.4.3",
-- 
GitLab