unicodedata2 originally support Python 2 very reliably, and not not support Python 3
Description
Details
Related Objects
Event Timeline
unicodedata2 is only initially intended for Python 2.
There were problems with Python 2.7.0-2.7.2 , which are explained at https://github.com/mikekap/unicodedata2/issues/2
I've added Win32 and Linux tests for lots of Python 2.6 & 2.7 versions:
https://travis-ci.org/jayvdb/unicodedata2/builds/74420595
https://ci.appveyor.com/project/jayvdb/unicodedata2/build/1.0.27
I've created a bug for Python 3 support https://github.com/mikekap/unicodedata2/issues/6
Change 229731 had a related patch set uploaded (by John Vandenberg):
unicodedata2 support for Python 2 only added
Ugh… it didn't actually fix the 2.7 problems. The 3.3+ problems obviously have gone as it won't use unicodedata2 now anymore. Unfortunately it won't compile unicodedata2 without fixing requests[security] (T106512). Now the most recent build (which included John's patch and a fix for T106512) on 2.7.2 is https://ci.appveyor.com/project/VcamX/pywikibot-core/build/1.0.137/job/xjtoddmnp4nfd7gy but I can't compare it with a build of it without John's patch (to see if it improved anything).
Change 230026 had a related patch set uploaded (by John Vandenberg):
Use patched unicodedata2 for < Python 2.7.3
Upstream issue is marked as resolved. I guess we now just need to enable installation of unicodedata2 on Python 3 setups?
It seems to first have been introduced in 1db58dbb763fa4687f30d69878d5dbb2598b6819 to resolve an NFC normalization issue in old Python versions (resolved in Python 2.7.2).
Now that Pywikibot only supports Python 2.7.2+ I'm not sure if having it in our dependencies is still necessary/useful.
Change 432763 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [cleanup] remove unicodedata2 dependency
Change 432763 merged by jenkins-bot:
[pywikibot/core@master] [cleanup] remove unicodedata2 dependency