cmd2: Constrain version to >= 1.3.0 but < 2.0.0
2.0.0 introduces several incompatible changes, see
https://github.com/python-cmd2/cmd2/blob/master/CHANGELOG.md
as well as https://github.com/python-cmd2/cmd2/issues/1120
As we want to be able to use what distributions ship, let's stay
with 1.x for now. If piip is used, use 1.5
Change-Id: Iecc953269d5ae9ed9f31b829743c63bdfd29fa61
diff --git a/README.md b/README.md
index 3751078..a45934c 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@
- pyscard
- serial
- pytlv
- - cmd2
+ - cmd2 >= 1.3.0 but < 2.0.0
- jsonpath-ng
- construct
- bidict
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 27f0245..91dcdd2 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -19,7 +19,7 @@
. venv/bin/activate
pip install pytlv
pip install pyyaml
-pip install cmd2
+pip install cmd2==1.5
pip install jsonpath-ng
pip install construct
pip install bidict
diff --git a/requirements.txt b/requirements.txt
index 10e9667..f547abf 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,7 +1,7 @@
pyscard
serial
pytlv
-cmd2
+cmd2==1.5
jsonpath-ng
construct
bidict
diff --git a/setup.py b/setup.py
index 2ef498f..e8e4173 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@
"pyscard",
"serial",
"pytlv",
- "cmd2 >= 1.3.0",
+ "cmd2 >= 1.3.0, < 2.0.0",
"jsonpath-ng",
"construct >= 2.9",
"bidict",