Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 24f07a8

Browse files
authored
Pin attrs to <21.1.0 (#9937)
Fixes #9936
1 parent 0644ac0 commit 24f07a8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

changelog.d/9937.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix bug where `/sync` would break if using the latest version of `attrs` dependency, by pinning to a previous version.

synapse/python_dependencies.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@
7878
# we use attr.validators.deep_iterable, which arrived in 19.1.0 (Note:
7979
# Fedora 31 only has 19.1, so if we want to upgrade we should wait until 33
8080
# is out in November.)
81-
"attrs>=19.1.0",
81+
# Note: 21.1.0 broke `/sync`, see #9936
82+
"attrs>=19.1.0,<21.1.0",
8283
"netaddr>=0.7.18",
8384
"Jinja2>=2.9",
8485
"bleach>=1.4.3",

0 commit comments

Comments
 (0)