From f5f3d8acae1ef17fb3ed87273b8af71738e35aa4 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 20 Dec 2016 13:17:01 +0000 Subject: [PATCH 1/2] Update patched Weasyprint fork to alphagov hosted Better than it being on my personal Github account. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 224f1698f..2bf410402 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ Flask-Script==2.0.5 Flask-WTF==0.11 Flask-Login==0.3.2 Flask-WeasyPrint==0.5 -git+https://github.com/quis/WeasyPrint.git@older-html5lib#egg=WeasyPrint==0.33 +git+https://github.com/alphagov/WeasyPrint.git@older-html5lib#egg=WeasyPrint==0.33 html5lib==1.0b8 credstash==1.8.0 boto3==1.3.0 From b99279afad1f970e79433220008ca3794bc5c858 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 20 Dec 2016 13:43:53 +0000 Subject: [PATCH 2/2] Add link to Bleach bugtracker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Explains why we’re using forked version of Weasyprint --- requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/requirements.txt b/requirements.txt index 2bf410402..c6f611d1c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,10 @@ Flask-Script==2.0.5 Flask-WTF==0.11 Flask-Login==0.3.2 Flask-WeasyPrint==0.5 + +# Can be removed when https://github.com/mozilla/bleach/issues/229 is fixed git+https://github.com/alphagov/WeasyPrint.git@older-html5lib#egg=WeasyPrint==0.33 + html5lib==1.0b8 credstash==1.8.0 boto3==1.3.0