From 55a908f23a50e7ab0d59a1f5f3004ed7db41f0bb Mon Sep 17 00:00:00 2001 From: squidfunk Date: Thu, 14 Sep 2017 17:50:34 +0200 Subject: [PATCH] Install secure urllib package to fix twine deployment on Travis --- scripts/travis | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/travis b/scripts/travis index 11e2380e0..aa6e48553 100755 --- a/scripts/travis +++ b/scripts/travis @@ -43,6 +43,10 @@ echo "$TRAVIS_BRANCH" | grep -qvE "^[0-9.]+$" && exit 0; :; # Install dependencies for release build pip install --user wheel twine +# Fix SSL warnings for Python > 2.7.9 +# https://urllib3.readthedocs.io/en/latest/user-guide.html#ssl-py2 +pip install --user urllib3[secure] + # Build and install theme and Docker image python setup.py build sdist bdist_wheel --universal docker build -t $TRAVIS_REPO_SLUG .