From 7c19696eca2a3ae35e0ff26015adde74654b72c1 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Tue, 27 Aug 2019 00:42:17 +0530 Subject: [PATCH] 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 --- releasenotes/notes/pin-more-itertools-5.0.0-03f31745c23c83da.yaml | 8 ++++++++ shell/python-tools-install.sh | 2 ++ tox.ini | 4 +++- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/pin-more-itertools-5.0.0-03f31745c23c83da.yaml 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 -- 2.16.6