Pin more-itertools~=5.0.0 69/16669/4
authorAnil Belur <abelur@linuxfoundation.org>
Mon, 26 Aug 2019 19:12:17 +0000 (00:42 +0530)
committerAnil Belur <abelur@linuxfoundation.org>
Tue, 27 Aug 2019 02:33:30 +0000 (08:03 +0530)
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 <abelur@linuxfoundation.org>
releasenotes/notes/pin-more-itertools-5.0.0-03f31745c23c83da.yaml [new file with mode: 0644]
shell/python-tools-install.sh
tox.ini

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 (file)
index 0000000..a4987ef
--- /dev/null
@@ -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
index d509203..bd26060 100644 (file)
@@ -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 1e9b858..4ce9e31 100644 (file)
--- 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