From 4f8a66c1a67a3dc2457e51c9862b52645b28a890 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Tue, 10 Apr 2018 11:34:17 +0200 Subject: [PATCH] Pin bleach >=2.1,<2.2 --- docs/release_notes.rst | 1 + requirements_readthedocs.txt | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/release_notes.rst b/docs/release_notes.rst index 5525dc70..38af8b66 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -25,6 +25,7 @@ Added Changed ~~~~~~~ + * Dependency for escaping HTML and safeguarding against injections ``bleach`` upgraded ``>=2.1,<2.2`` (last-partizan) :url-issue:`702` * Use full path names for ``MARKDOWN_KWARGS['extensions']`` as short names support wil be removed in ``Markdown 2.7`` :url-issue:`823` * Support for ``include('wiki.urls')`` for urls instantiation :url-issue:`827` diff --git a/requirements_readthedocs.txt b/requirements_readthedocs.txt index 1bfcf2ac..6bec18c9 100644 --- a/requirements_readthedocs.txt +++ b/requirements_readthedocs.txt @@ -8,4 +8,4 @@ django-mptt>=0.8.6,<0.9 django-sekizai>=0.10 sorl-thumbnail>=12,<13 Markdown>=2.6,<2.7 -bleach>=2 +bleach>=2.1,<2.2 diff --git a/setup.py b/setup.py index 841e02a9..97c52dae 100755 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ def get_path(fname): install_requirements = [ "Django>=1.11,<2.1", - "bleach>=2", + "bleach>=2.1,<2.2", "Pillow", "django-nyt>=1.1b1,<1.2", "django-mptt>=0.9,<0.10", -- 2.45.2