Skip to content
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

Python3: evict sgmllib and BeautifulSoup #5642

Merged
merged 7 commits into from
Mar 7, 2018

Conversation

nsoranzo
Copy link
Member

@nsoranzo nsoranzo commented Mar 6, 2018

  • Use HTMLParser instead of Python2-only sgmllib
  • Use bleach for HTML sanitizing
  • Stop shipping old BeautifulSoup library in script/microbes/
  • Merge _BaseHTMLProcessor class (copied from feedparser) in _PageContentProcessor

xref: #1715

@dannon
Copy link
Member

dannon commented Mar 6, 2018

@nsoranzo Thanks for picking this up and running with it!

@nsoranzo nsoranzo changed the title [WIP] Python3: evict sgmllib and BeautifulSoup Python3: evict sgmllib and BeautifulSoup Mar 7, 2018
@nsoranzo
Copy link
Member Author

nsoranzo commented Mar 7, 2018

Ready for review and test (especially the part about pages).

@dannon
Copy link
Member

dannon commented Mar 7, 2018

+1, my local pages are still working and it looks good to me. If something wonky pops up I'll be happy to help out. Thanks again for picking up this effort and finishing it off @nsoranzo!

@dannon dannon merged commit fffca43 into galaxyproject:dev Mar 7, 2018
@nsoranzo nsoranzo deleted the evict_sgmllib branch March 7, 2018 19:51
@nsoranzo nsoranzo added the area/python3 Specific to Python 3 label Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants