Only cap pylint for python2

I noticed that pylint environment doesn't work with Python 3.7; I
guess the pinned version has become incompatible.  From the history
the pin is only for Python 2.7 compatability, so just restrict it to
that (with the basepython for the environment set to python3, it's
questionable if we still support pylint with 2.7, but anyway).

Change-Id: I6a916c8422239a4e1b47dcf28a4569f1637cae7a
This commit is contained in:
Ian Wienand 2018-11-26 14:48:57 +11:00
parent bee92637e2
commit 194f021621

View File

@ -2,7 +2,8 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking<0.11,>=0.10.0
pylint==1.7.6 # GPLv2
pylint==1.7.6;python_version=='2.7' # GPLv2
pylint;python_version>'3.0' #GPLv2
fixtures>=3.0.0 # Apache-2.0/BSD
mock>=2.0.0 # BSD