A changeset to switch to python-requests has been merged into pywikibot-core.
https://gerrit.wikimedia.org/r/#/c/213977/
Note that config.proxy support doesnt exist. requests will read your environment variables to find a proxy. If this doesnt work for you, please raise a bug.
A minimum version of requests is not specified anywhere. If you find a problem with older versions of requests, please raise bugs and we'll either try to fix them or set a minimum supported version if a fix isnt easy.
Please test so we can fix any critical problems before releasing PR2 into pip.
Especially retest any problem which was http related, as it may now be fixed ;-)
Le 02/06/2015 18:42, John Mark Vandenberg a écrit :
A changeset to switch to python-requests has been merged into pywikibot-core.
https://gerrit.wikimedia.org/r/#/c/213977/
Note that config.proxy support doesnt exist. requests will read your environment variables to find a proxy. If this doesnt work for you, please raise a bug.
A minimum version of requests is not specified anywhere. If you find a problem with older versions of requests, please raise bugs and we'll either try to fix them or set a minimum supported version if a fix isnt easy.
Please test so we can fix any critical problems before releasing PR2 into pip.
Especially retest any problem which was http related, as it may now be fixed ;-)
This is great. Thank you very much :-)
Please note that it currently (as I understand it) always validates the certificate. So if a certificate is invalid it might fail, although there is one test to a site with an invalid certificate and that test doesn't fail. So comments regarding issues that are appreciated.
Fabian On 2 Jun 2015 7:12 pm, "Antoine Musso" hashar+wmf@free.fr wrote:
Le 02/06/2015 18:42, John Mark Vandenberg a écrit :
A changeset to switch to python-requests has been merged into
pywikibot-core.
https://gerrit.wikimedia.org/r/#/c/213977/
Note that config.proxy support doesnt exist. requests will read your environment variables to find a proxy. If this doesnt work for you, please raise a bug.
A minimum version of requests is not specified anywhere. If you find a problem with older versions of requests, please raise bugs and we'll either try to fix them or set a minimum supported version if a fix isnt easy.
Please test so we can fix any critical problems before releasing PR2
into pip.
Especially retest any problem which was http related, as it may now be
fixed ;-)
This is great. Thank you very much :-)
-- Antoine "hashar" Musso
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l