Upgrading to html5lib-1.0.1 breaks, as they made their ReparseException class private as per html5lib/html5lib-python#371. This breaks bleach on import:
File "/home/rixx/Projects/chaos/pretalx/src/pretalx/mail/models.py", line 3, in <module>
import bleach
File "/home/rixx/.virtualenvs/pretalx/lib/python3.6/site-packages/bleach/__init__.py", line 11, in <module>
from bleach.sanitizer import (
File "/home/rixx/.virtualenvs/pretalx/lib/python3.6/site-packages/bleach/sanitizer.py", line 10, in <module>
from html5lib.constants import (
ImportError: cannot import name 'ReparseException'
bleach is also at its latest version. For all concerned: pinning html5lib to html5lib==1.0b10 resolves the issue until a new (fixed) bleach release is out there, or manually install it with pip install html5lib==1.0b10.
Upgrading to
html5lib-1.0.1
breaks, as they made theirReparseException
class private as per html5lib/html5lib-python#371. This breaks bleach on import:bleach is also at its latest version. For all concerned: pinning html5lib to
html5lib==1.0b10
resolves the issue until a new (fixed) bleach release is out there, or manually install it withpip install html5lib==1.0b10
.