# HG changeset patch # User Mads Kiilerich # Date 2021-09-28 12:40:55 # Node ID 7a4e2c6ec02f0b702c02fb304cda26ea4ce156fa # Parent 7ef14c1fe99fc8e25e78c90c4aebf86b93e7b3d8 setup: support Bleach 4.2 for Python 3.10 support Changelog shows no significant API changes. Bleach 3.2 and later are however even more unreasonably paranoid than 3.1, and the test thus has to be updated and we stop supporting 3.1 . diff --git a/kallithea/lib/markup_renderer.py b/kallithea/lib/markup_renderer.py --- a/kallithea/lib/markup_renderer.py +++ b/kallithea/lib/markup_renderer.py @@ -117,7 +117,7 @@ class MarkupRenderer(object): At last it will just do a simple html replacing new lines with
>>> MarkupRenderer.render('''''', '.md') - '

' + '

' >>> MarkupRenderer.render('''''', 'b.mkd') '

' >>> MarkupRenderer.render('''foo''', 'c.mkdn') diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -66,7 +66,7 @@ requirements = [ "mercurial >= 5.2, < 5.9", "decorator >= 4.2.1, < 4.5", "Paste >= 2.0.3, < 3.5", - "bleach >= 3.0, < 3.1.4", + "bleach >= 3.2, < 4.2", "Click >= 7.0, < 8", "ipaddr >= 2.2.0, < 2.3", "paginate >= 0.5, < 0.6",