From 9b08bfe34d1127efd9dab73f60cbaca1457a7b41 Mon Sep 17 00:00:00 2001 From: Daniel Playle Date: Mon, 18 Jun 2018 13:26:41 +0100 Subject: Restrict version of pylint pylint >2 is not compatible with pytest_pylint in its current form. As such, allowing any version of pylint for testing results in a failure. This commit restricts down the allowable versions of pylint to those that are both compatible with pytest_pylint, and also offer the feature set that we require. See https://gitlab.com/BuildStream/buildstream/issues/427 for further details. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 03a2bda3d..1f9ff0081 100755 --- a/setup.py +++ b/setup.py @@ -257,5 +257,6 @@ setup(name='BuildStream', 'pytest-cov', # Provide option to run tests in parallel, less reliable 'pytest-xdist', - 'pytest >= 3.1.0'], + 'pytest >= 3.1.0', + 'pylint >= 1.8 , < 2'], zip_safe=False) -- cgit v1.2.1