Skip to content

Commit 1104a9f

Browse files
authored
mypy: attempt to fix build by pinning virtualenv (python#8387)
1 parent dca8489 commit 1104a9f

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
python-version: ${{ matrix.python }}
4343
architecture: ${{ matrix.arch }}
4444
- name: install tox
45-
run: pip install --upgrade setuptools tox==3.9.0
45+
run: pip install --upgrade setuptools 'virtualenv<20' tox==3.9.0
4646
- name: setup tox environment
4747
run: tox -e ${{ matrix.toxenv }} --notest
4848
- name: test

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181

8282
install:
8383
- pip install -U pip setuptools
84+
- pip install -U 'virtualenv<20'
8485
- pip install -U tox==3.9.0
8586
- tox --notest
8687

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ environment:
1414

1515
install:
1616
- "git submodule update --init mypy/typeshed"
17-
- "%PYTHON%\\python.exe -m pip install -U setuptools tox==3.9.0"
17+
- '%PYTHON%\\python.exe -m pip install -U setuptools "virtualenv<20" tox==3.9.0'
1818
- "%PYTHON%\\python.exe -m tox -e py37 --notest"
1919

2020
build: off

test-requirements.txt

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy