From c448cef02d3f85996dd8da7714fe16276162e186 Mon Sep 17 00:00:00 2001 From: Pranav Rajpal <78008260+pranavrajpal@users.noreply.github.com> Date: Wed, 21 Jul 2021 13:26:40 -0700 Subject: [PATCH] Pin virtualenv to 16.7.10 virtualenv 16.7.11 appears to have broken our CI by upgrading the version of pip embedded to something that doesn't support python 2, so this pins virtualenv to the last version that we know works. --- .github/workflows/test.yml | 2 +- .travis.yml | 2 +- test-requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e176182b14ab6..eca1e3b679569 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,7 +40,7 @@ jobs: python-version: ${{ matrix.python }} architecture: ${{ matrix.arch }} - name: install tox - run: pip install --upgrade 'setuptools!=50' 'virtualenv<20' tox==3.20.1 + run: pip install --upgrade 'setuptools!=50' 'virtualenv<16.7.11' tox==3.20.1 - name: setup tox environment run: tox -e ${{ matrix.toxenv }} --notest - name: test diff --git a/.travis.yml b/.travis.yml index da5bc67cf6ba6..d7dbcce5ab915 100644 --- a/.travis.yml +++ b/.travis.yml @@ -85,7 +85,7 @@ jobs: install: # pip 21.0 no longer works on Python 3.5 - pip install -U pip==20.3.4 setuptools -- pip install -U 'virtualenv<20' +- pip install -U 'virtualenv<16.7.11' - pip install -U tox==3.20.1 - python2 -m pip install --user -U typing - tox --notest diff --git a/test-requirements.txt b/test-requirements.txt index b5b9da8b0a241..d80d127cc440a 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -12,6 +12,6 @@ pytest-forked>=1.3.0,<2.0.0 pytest-cov>=2.10.0,<3.0.0 typing>=3.5.2; python_version < '3.5' py>=1.5.2 -virtualenv<20 +virtualenv<16.7.11 setuptools!=50 importlib-metadata==0.20