Bug 1431339

Summary: python-bleach-2.0 is available
Product: [Fedora] Fedora Reporter: Upstream Release Monitoring <upstream-release-monitoring>
Component: python-bleachAssignee: Matthias Runge <mrunge>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: ignatenko, mrunge, randy
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-28 10:11:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1305828, 1431378    
Bug Blocks:    

Description Upstream Release Monitoring 2017-03-11 12:12:30 UTC
Latest upstream release: 2.0
Current version/release in rawhide: 1.5-2.fc26
URL: http://github.com/jsocol/bleach

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring

Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.

Based on the information from anitya:  https://release-monitoring.org/project/11532/

Comment 1 Randy Barlow 2017-07-27 21:55:46 UTC
Due to the fixing of 1305828, this is now more important as bleach cannot be imported on Rawhide:

$ python -c "import bleach"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/bleach/__init__.py", line 14, in <module>
    from html5lib.sanitizer import HTMLSanitizer
ImportError: No module named sanitizer

html5lib-0.99999999 removed html5lib.sanitizer in favor of their new treewalker API[0]. Fortunately, bleach-2.0's release notes[1] claim that they have refactored to work with the new html5lib.

This is preventing Bodhi from building on Rawhide so I am motivated to get this fixed. I'd be happy to take care of it for you if you grant me ACLs (bowlofeggs in FAS). Otherwise, I'd be obliged if you could take care of this in the next day or two.


[0] https://github.com/html5lib/html5lib-python/blob/0.99999999/CHANGES.rst
[1] https://github.com/mozilla/bleach/blob/v2.0/CHANGES
[2] https://kojipkgs.fedoraproject.org//work/tasks/5715/20815715/build.log

Comment 2 Matthias Runge 2017-07-28 10:11:55 UTC
I've pushed the update to rawhide. 

Randy, I'm happy to accept you as co-maintainer.

Comment 3 Randy Barlow 2017-07-28 13:38:56 UTC
Thanks so much Matthias!