-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simpletree TreeWalker removed in html5lib 1.0b1 #94
Comments
+1, I was about to post this same issue myself. |
Thanks guys, I'll take a look this weekend. Sent from my phone, please excuse the occasional typo. On May 17, 2013, at 5:43 PM, joshcartme notifications@github.com wrote:
|
Could we get a patch release for bleach that just pins the max html5lib version for now? |
I can try to get that out and on pypi late tonight. Sent from my phone, please excuse the occasional typo. On May 17, 2013, at 5:55 PM, Stephen McDonald notifications@github.com wrote:
|
Thanks a lot James. FWIW this currently breaks https://github.com/stephenmcd/mezzanine which pins bleach but doesn't pin html5lib. |
We're going to do a patch release of Mezzanine that pins html5lib, so no rush. Sorry about the noise. |
Addresses #94 but doesn't fix it. Will need to look into replacing simpletree. - Pin requirements file. - Pin setup.py requirements. - Add note to docs.
I am dumb and put 0.9.5 in the requirements.txt and docs/index.rst files. But setup.py has 0.95, which is correct, so tag v1.2.2 will install. The latest master has the correct requirements. |
Yep, thanks @mdxs! |
The
simpletree
walker, used by bleach, was removed in html5lib 1.0b1. See the changelog: https://pypi.python.org/pypi/html5lib#change-logBleach fails with:
Because
html5lib.treewalkers.getTreeWalker('simpletree')
returnsNone
.The text was updated successfully, but these errors were encountered: