diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 51c1a21c8d74e2b56b2f9e5fff785ca139377229..a0dccf96e43ab66904a9e9743348214689503c21 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,7 +15,7 @@ build:
   stage: build
   script:
     - apt-get install -y --force-yes build-essential python-dev python-pip git nodejs nodejs-legacy npm
-    - pip install --upgrade pip
+    - pip install --upgrade pip==9.0.3
     - pip install --editable .
     - cd content && npm install && cd ..
     - sed -i "s/RELATIVE_URLS = True/RELATIVE_URLS = False/" pelicanconf.py