jayvdb added a comment. In https://phabricator.wikimedia.org/T103769#1447147, @XZise wrote:
> I disagree that we should just blindly encode data using UTF-8. Instead we > should make sure that our requests just contains binary data and no unicode > strings. @valhallasw has two patches which should make sure of that. Maybe > you could test it with that. > > Regarding the other warning I'm not sure what the best handling there is. > Some OS only support Python 2.6 but these might provide packages which don't > emit that warning. I think only RHEL is a 'supported' Python 2.6 platform. So wrt to the Travis-CI problems on Python 2.6, we could try to emulate RHEL Python 2.6 by using the versions provided by RHEL at: http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/ i.e. python-ipaddr-2.1.9 (see https://phabricator.wikimedia.org/T105443), python-crypto-2.0.1 , python-pyasn1-0.0.12a, but I do not see a python-requests in that list. TASK DETAIL https://phabricator.wikimedia.org/T103769 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: VcamX, jayvdb Cc: valhallasw, Legoktm, pywikibot-bugs-list, jayvdb, Aklapper, gerritbot, XZise, Malyacko, P.Copp _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
