From 194f021621b17524df9733f818a74c96e4aa2afe Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Mon, 26 Nov 2018 14:48:57 +1100 Subject: [PATCH] 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 --- test-requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 69996823..4d3c661c 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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