From 5ae15f02bc057548de24e9007e9d551740ebee17 Mon Sep 17 00:00:00 2001
From: Martin Donath <squidfunk@users.noreply.github.com>
Date: Tue, 6 Mar 2018 19:22:16 +0100
Subject: [PATCH] Fixed build error on Travis

---
 .travis.sh       | 4 ----
 requirements.txt | 4 ++++
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.travis.sh b/.travis.sh
index 98ded0ad..10777f12 100755
--- a/.travis.sh
+++ b/.travis.sh
@@ -40,10 +40,6 @@ 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 .
diff --git a/requirements.txt b/requirements.txt
index 7aa05105..9937f4f0 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -18,6 +18,10 @@
 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
 # IN THE SOFTWARE.
 
+# Direct dependencies
 mkdocs>=0.17.1
 Pygments>=2.2
 pymdown-extensions>=3.4
+
+# Temporary fix for build errors on Travis
+tornado<5
-- 
GitLab