From 6088825a89e05eb70844ce42052b6b9f0537ff40 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Mon, 30 Jul 2018 16:28:30 +0100 Subject: [PATCH] Block installation of beautifulsoup4==4.6.1 It contains a critical bug that breaks Wagtail: https://bugs.launchpad.net/beautifulsoup/+bug/1784408 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7d84071ca..9c6b1cf76 100755 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ install_requires = [ "django-treebeard>=3.0,<5.0", "djangorestframework>=3.1.3,<3.7", # 3.7 drops Django 1.8 support "Pillow>=2.6.1", - "beautifulsoup4>=4.5.1", + "beautifulsoup4>=4.5.1,<5.0,!=4.6.1", "html5lib>=0.999,<1", "Unidecode>=0.04.14", "Willow>=0.4,<0.5",