From: Anil Belur Date: Mon, 26 Aug 2019 19:12:17 +0000 (+0530) Subject: Pin more-itertools~=5.0.0 X-Git-Tag: v0.42.0~2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=7c19696eca2a3ae35e0ff26015adde74654b72c1;p=releng%2Fglobal-jjb.git Pin more-itertools~=5.0.0 Pin more-itertools ~= 5.0.0, since version 6.0.0 requires Python 3.4 https://github.com/erikrose/more-itertools/releases Error: more-itertools requires Python '>=3.4' but the running Python is 2.7.5 Pin tox~<3.5.0 Change-Id: I1f2eefefc3f5b58a14441db78fb3f0bf9061e711 Signed-off-by: Anil Belur --- diff --git a/releasenotes/notes/pin-more-itertools-5.0.0-03f31745c23c83da.yaml b/releasenotes/notes/pin-more-itertools-5.0.0-03f31745c23c83da.yaml new file mode 100644 index 00000000..a4987eff --- /dev/null +++ b/releasenotes/notes/pin-more-itertools-5.0.0-03f31745c23c83da.yaml @@ -0,0 +1,8 @@ +--- +fixes: + - | + Pin more-itertools ~= 5.0.0, since version 6.0.0 requires Python 3.4 + https://github.com/erikrose/more-itertools/releases + + Error: + more-itertools requires Python '>=3.4' but the running Python is 2.7.5 diff --git a/shell/python-tools-install.sh b/shell/python-tools-install.sh index d509203d..bd260602 100644 --- a/shell/python-tools-install.sh +++ b/shell/python-tools-install.sh @@ -48,7 +48,9 @@ lftools[openstack]~=0.26.0 python-heatclient~=1.16.1 python-openstackclient~=3.16.0 dogpile.cache~=0.6.8 # Version 0.7.[01] seems to break openstackclient +more-itertools~=5.0.0 niet~=1.4.2 # Extract values from yaml +tox~=3.5.0 yq~=2.7.2 EOF diff --git a/tox.ini b/tox.ini index 1e9b8581..4ce9e319 100644 --- a/tox.ini +++ b/tox.ini @@ -66,7 +66,9 @@ deps = lftools commands = lftools license check-dir -r '.+' shell [testenv:pre-commit] -deps = pre-commit +deps = + more-itertools~=5.0.0 + pre-commit commands = pre-commit run --all-files