Pin attrs to <21.1.0 (#9937)

Fixes #9936
This commit is contained in:
Erik Johnston 2021-05-06 14:06:06 +01:00 committed by GitHub
parent 0644ac0989
commit 24f07a83e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

1
changelog.d/9937.bugfix Normal file
View file

@ -0,0 +1 @@
Fix bug where `/sync` would break if using the latest version of `attrs` dependency, by pinning to a previous version.

View file

@ -78,7 +78,8 @@ REQUIREMENTS = [
# 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",