Skip to content

Commit

Permalink
mypy: attempt to fix build by pinning virtualenv (python#8387)
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja authored Feb 11, 2020
1 parent dca8489 commit 1104a9f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.arch }}
- name: install tox
run: pip install --upgrade setuptools tox==3.9.0
run: pip install --upgrade setuptools 'virtualenv<20' tox==3.9.0
- name: setup tox environment
run: tox -e ${{ matrix.toxenv }} --notest
- name: test
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:

install:
- pip install -U pip setuptools
- pip install -U 'virtualenv<20'
- pip install -U tox==3.9.0
- tox --notest

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ environment:

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

build: off
Expand Down
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ pytest-forked>=1.0.0,<1.1.0
pytest-cov>=2.4.0
typing>=3.5.2; python_version < '3.5'
py>=1.5.2
virtualenv
virtualenv<20
setuptools
importlib-metadata==0.20

0 comments on commit 1104a9f

Please sign in to comment.