From 335edddfb8c7f2e72fdd6e373a7fd6390745a6fe Mon Sep 17 00:00:00 2001 From: Olivier Bieler Date: Tue, 17 Sep 2024 16:12:37 +0200 Subject: [PATCH] Fix install pip for py27 test --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 33426ff..777c803 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,8 +19,9 @@ jobs: if: matrix.python-version == '2.7' run: | sudo apt-get update - sudo apt-get install -y python2.7 python-pip - python2.7 -m pip install --upgrade "pip<21.0" "setuptools<45" + sudo apt-get install -y python2.7 curl + curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py + python2.7 get-pip.py --upgrade "pip<21.0" "setuptools<45" python2.7 -m pip install tox==3.24.4 tox-gh-actions - name: Set up Python ${{ matrix.python-version }}