wikimedia / pywikibot-core (master)
Build #2597 passed.
29 minutes and 33 seconds
John Vandenberg 1db58db Changeset →
  Python issue #10254

Pywikibot had problems with NFC normalizing unicode,
resulting in Python issue #10254, which was resolved
in Python 2.7.2 and backported to Python 2.6.7.

It is unlikely that supporting Python 2.7.0 and 2.7.1 is still
necessary, so decommission support for Python 2.7.0 and 2.7.1.

Workaround the problem using unicodedata2 backport of unicodedata,
which includes Unicode 7.0 support.

If unicodedata2 isnt available on Python 2.6.6, the Link constructor
raises UnicodeError for titles containing combining characters,
which will allow normal usage for many languages, but will fail
predictably for page titles which could encounter this error.

Moves the unicode test from the version script to the test suite,
as the only supported platform with this bug is Python 2.6.6.

Bug: T102461
Change-Id: If4a8e8eed682b837dd468b02a5d98b01ebf37584

Want to know about upcoming build environment updates?

Would you like to stay up-to-date with the upcoming Travis CI build environment updates? We set up a mailing list for you! Sign up here.

Would you like to test your private code?

Travis Pro could be your new best friend!