From fc4fb5adc4f233c372166db128115d6eb9da3eae Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 13 Jun 2018 14:58:18 -0400 Subject: [PATCH] update pylint to 1.9.2 The older version of pylint being used does not work correctly under python 3. In order to be able to update the pylint job to run under python 3, we need to update the tool. This patch updates to the latest version at this time. It also updates and pins astroid, which was previously capped. Using a pin instead of a cap should let us avoid issues with new releases while being specific about which version to actually use. This patch also fix lower-constraints. Co-Authored-By: Nguyen Hai Change-Id: I6443247ab110dc9d5e71d23dc40ceabb439e23be Signed-off-by: Doug Hellmann --- lower-constraints.txt | 44 +++++++++++++++++++++---------------------- test-requirements.txt | 4 ++-- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index 2b7d6188..2828f7e2 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -4,17 +4,17 @@ astroid==1.3.8 Babel==2.5.3 certifi==2018.1.18 chardet==3.0.4 -coverage==4.5.1 +coverage==4.0 debtcollector==1.19.0 decorator==4.2.1 docutils==0.14 dogpile.cache==0.6.5 dulwich==0.19.0 -elasticsearch==2.4.1 +elasticsearch==2.0.0 extras==1.0.0 -falcon==1.4.1 +falcon==1.0.0 fixtures==3.0.0 -flake8==2.5.5 +flake8==2.5.4 hacking==0.12.0 idna==2.6 imagesize==1.0.0 @@ -22,7 +22,7 @@ iso8601==0.1.12 Jinja2==2.10 jsonschema==2.6.0 keystoneauth1==3.4.0 -keystonemiddleware==4.21.0 +keystonemiddleware==4.17.0 linecache2==1.0.0 logilab-common==1.4.1 Mako==1.0.7 @@ -33,21 +33,21 @@ monotonic==1.4 msgpack==0.5.6 netaddr==0.7.19 netifaces==0.10.6 -openstackdocstheme==1.20.0 -os-api-ref==1.5.0 +openstackdocstheme==1.18.1 +os-api-ref==1.4.0 oslo.cache==1.29.0 oslo.config==5.2.0 -oslo.context==2.20.0 -oslo.db==4.35.0 -oslo.i18n==3.20.0 -oslo.log==3.37.0 -oslo.middleware==3.35.0 -oslo.policy==1.34.0 +oslo.context==2.19.2 +oslo.db==4.27.0 +oslo.i18n==3.15.3 +oslo.log==3.36.0 +oslo.middleware==3.31.0 +oslo.policy==1.30.0 oslo.serialization==2.25.0 oslo.utils==3.36.0 -oslosphinx==4.18.0 -Paste==2.0.3 -PasteDeploy==1.5.2 +oslosphinx==4.7.0 +Paste==2.0.2 +PasteDeploy==1.5.0 pbr==3.1.1 pep8==1.7.1 pycadf==2.7.0 @@ -63,23 +63,23 @@ python-mimeparse==1.6.0 python-subunit==1.2.0 pytz==2018.3 PyYAML==3.12 -reno==2.7.0 +reno==2.5.0 requests==2.18.4 rfc3986==1.1.0 -six==1.11.0 +six==1.10.0 snowballstemmer==1.2.1 -Sphinx==1.6.5 +Sphinx==1.6.2 sphinxcontrib-websupport==1.0.1 -SQLAlchemy==1.2.5 sqlalchemy-migrate==0.11.0 +SQLAlchemy==1.2.5 sqlparse==0.2.4 statsd==3.2.2 stevedore==1.28.0 Tempita==0.5.2 -testrepository==0.0.20 +testrepository==0.0.18 testresources==2.0.1 testscenarios==0.5.0 -testtools==2.3.0 +testtools==2.2.0 traceback2==1.4.0 unittest2==1.1.0 urllib3==1.22 diff --git a/test-requirements.txt b/test-requirements.txt index 82a56fd7..9b95872e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,9 +1,9 @@ # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -astroid<1.4.0 # LGPLv2.1 # breaks pylint 1.4.4 +astroid==1.6.5 # LGPLv2.1 flake8<2.6.0,>=2.5.4 # MIT -pylint==1.4.5 # GPLv2 +pylint==1.9.2 # GPLv2 hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 mock>=2.0.0 # BSD