Skip to content

Commit e1b34b5

Browse files
authored
Fix Python 3.5 travis build by pinning pip (#9949)
It looks like pip just dropped Python 3.5 support, but we are not quite yet ready to do it (as long as there's an easy workaround). Example failure here: https://travis-ci.com/github/python/mypy/jobs/474676438
1 parent 5aa707d commit e1b34b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ jobs:
8282
# - EXTRA_ARGS=
8383

8484
install:
85-
- pip install -U pip setuptools
85+
# pip 21.0 no longer works on Python 3.5
86+
- pip install -U pip==20.3.4 setuptools
8687
- pip install -U 'virtualenv<20'
8788
- pip install -U tox==3.20.1
8889
- python2 -m pip install --user -U typing

0 commit comments

Comments
 (0)