Skip to content

Commit 1786d90

Browse files
authored
Pin virtualenv to 16.7.10 (#10853)
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.
1 parent 2a332e7 commit 1786d90

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
python-version: ${{ matrix.python }}
4141
architecture: ${{ matrix.arch }}
4242
- name: install tox
43-
run: pip install --upgrade 'setuptools!=50' 'virtualenv<20' tox==3.20.1
43+
run: pip install --upgrade 'setuptools!=50' 'virtualenv<16.7.11' tox==3.20.1
4444
- name: setup tox environment
4545
run: tox -e ${{ matrix.toxenv }} --notest
4646
- name: test

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
install:
8686
# pip 21.0 no longer works on Python 3.5
8787
- pip install -U pip==20.3.4 setuptools
88-
- pip install -U 'virtualenv<20'
88+
- pip install -U 'virtualenv<16.7.11'
8989
- pip install -U tox==3.20.1
9090
- python2 -m pip install --user -U typing
9191
- tox --notest

test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ pytest-forked>=1.3.0,<2.0.0
1212
pytest-cov>=2.10.0,<3.0.0
1313
typing>=3.5.2; python_version < '3.5'
1414
py>=1.5.2
15-
virtualenv<20
15+
virtualenv<16.7.11
1616
setuptools!=50
1717
importlib-metadata==0.20

0 commit comments

Comments
 (0)