0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-24 01:57:32 +01:00

Update setup.py to use django-filter latest version

The django-filter package has changed its versioning from a semver to a year based one. The latest version (21.1) is the same as the old one that wagtail supported (2.4): https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst 

So we could just bumb the requirement to `<=22` (I think it's fine to use that because the readme claims that breaking changes will be introduced to version+2 so breaking versions for v.21 will be introduced to v.23)
This commit is contained in:
Serafeim Papastefanos 2021-11-09 14:16:03 +02:00 committed by Matt Westcott
parent 364398be7f
commit 204831f5c0

View File

@ -25,7 +25,7 @@ install_requires = [
"django-taggit>=1.0,<2.0",
"django-treebeard>=4.2.0,<5.0,!=4.5",
"djangorestframework>=3.11.1,<4.0",
"django-filter>=2.2,<3.0",
"django-filter>=2.2,<22",
"draftjs_exporter>=2.1.5,<3.0",
"Pillow>=4.0.0,<9.0.0",
"beautifulsoup4>=4.8,<4.10",