jayvdb created this task. jayvdb added a subscriber: jayvdb. jayvdb added a project: Pywikibot-tests. jayvdb changed Security from none to none.
TASK DESCRIPTION Travis switch to Python 2.7.9 with this build: https://travis-ci.org/wikimedia/pywikibot-core/builds/44257179
The two 2.7 setup.py , not SITE_ONLY, builds failed with this error:
``` ERROR: test_https_cert_error (tests.http_tests.HttpsCertificateTestCase) Test http.request fails on invalid omegawiki SSL certificate. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/build/wikimedia/pywikibot-core/tests/http_tests.py", line 104, in test_https_cert_error uri='https://www.omegawiki.org/') File "/opt/python/2.7.9/lib/python2.7/unittest/case.py", line 473, in assertRaises callableObj(*args, **kwargs) File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/tools.py", line 679, in wrapper return obj(*__args, **__kw) File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 233, in request r = fetch(uri, *args, **kwargs) File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 351, in fetch error_handling_callback(request) File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 268, in error_handling_callback raise request.data SSLHandshakeError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) ```
TASK DETAIL https://phabricator.wikimedia.org/T78764
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: Aklapper, jayvdb, pywikipedia-bugs