From a382476c6cc2c3017491cba6c2ebacac39ea8a9c Mon Sep 17 00:00:00 2001 From: Marko Petric Date: Tue, 26 Jan 2021 11:51:54 +0100 Subject: [PATCH] Set pip version for python2 as the latest version is only python3 --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 25bc013..37ca219 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,12 +13,12 @@ changelog: stage: changelog tags: - docker - image: cern/cc7-base + image: gitlab-registry.cern.ch/ci-tools/ci-worker:cc7 except: - tags before_script: - - curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py - - python get-pip.py + - pip install 'setuptools<45' + - pip install --upgrade 'pip<21' - pip install -U requests python-dateutil pytz script: - echo "GITHUBTOKEN = \"$GITHUBTOKEN\"" >& GitTokens.py