From e845fd41c2743001558cce00b83e53a5ae300905 Mon Sep 17 00:00:00 2001
From: Amber Brown <hawkowl@atleastfornow.net>
Date: Sat, 7 Jul 2018 10:46:59 +1000
Subject: [PATCH] Correct attrs package name in requirements (#3492)

---
 changelog.d/.gitignore         | 1 +
 changelog.d/3492.bugfix        | 1 +
 synapse/python_dependencies.py | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 changelog.d/.gitignore
 create mode 100644 changelog.d/3492.bugfix

diff --git a/changelog.d/.gitignore b/changelog.d/.gitignore
new file mode 100644
index 0000000000..f935021a8f
--- /dev/null
+++ b/changelog.d/.gitignore
@@ -0,0 +1 @@
+!.gitignore
diff --git a/changelog.d/3492.bugfix b/changelog.d/3492.bugfix
new file mode 100644
index 0000000000..a287a945bd
--- /dev/null
+++ b/changelog.d/3492.bugfix
@@ -0,0 +1 @@
+Amend the Python dependencies to depend on attrs from PyPI, not attr
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index 7632dd50b7..987eec3ef2 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -57,7 +57,7 @@ REQUIREMENTS = {
     "phonenumbers>=8.2.0": ["phonenumbers"],
     "six": ["six"],
     "prometheus_client": ["prometheus_client"],
-    "attr": ["attr"],
+    "attrs": ["attr"],
     "netaddr>=0.7.18": ["netaddr"],
 }
 
-- 
GitLab