I've just pushed 4.2.3 which resolves this. Thanks for the reports.

On Wed, Mar 8, 2017 at 8:30 PM, John Barham <[email protected]> wrote:

> Hi all,
>
> I just installed current version of Mezzanine 4.2.2 but when I run "python
> manage.py shell" after creating a project I get the following error:
>
> File "/home/jbarham/.virtualenvs/foo/lib/python3.5/site-
> packages/mezzanine/utils/html.py", line 36, in <module>
>     if "tel" not in sanitizer.BleachSanitizer.allowed_protocols:
> AttributeError: module 'bleach.sanitizer' has no attribute
> 'BleachSanitizer'
>
> The installed version of Bleach is 2.0 which was released literally 14
> hours ago (https://github.com/mozilla/bleach/releases). If I manually
> revert to the previous release 1.5, the error goes away, so it's evidently
> due a backwards-incompatible change in the bleach API.
>
> ISTM this is a fairly serious issue since it will break any new installs
> of Mezzanine. A quick workaround may be to change the Mezzanine setup.py
> requirement for bleach from "bleach >= 1.4" to "bleach >= 1.4, < 2.0".
>
> Thoughts?
>
> Cheers, John
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Stephen McDonald
http://jupo.org

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to