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

Commit

Permalink
Pin attrs to <21.1.0 (#9937)
Browse files Browse the repository at this point in the history
Fixes #9936
  • Loading branch information
erikjohnston authored May 6, 2021
1 parent 0644ac0 commit 24f07a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/9937.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix bug where `/sync` would break if using the latest version of `attrs` dependency, by pinning to a previous version.
3 changes: 2 additions & 1 deletion synapse/python_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@
# we use attr.validators.deep_iterable, which arrived in 19.1.0 (Note:
# Fedora 31 only has 19.1, so if we want to upgrade we should wait until 33
# is out in November.)
"attrs>=19.1.0",
# Note: 21.1.0 broke `/sync`, see #9936
"attrs>=19.1.0,<21.1.0",
"netaddr>=0.7.18",
"Jinja2>=2.9",
"bleach>=1.4.3",
Expand Down

0 comments on commit 24f07a8

Please sign in to comment.