From 1a4e9fd163bbf3888a5d84d36919590460cd83d8 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 11 Jun 2021 23:45:26 +0200 Subject: [PATCH] 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 --- README.md | 2 +- contrib/jenkins.sh | 2 +- requirements.txt | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 37510786..a45934cb 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Please install the following dependencies: - 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 27f02451..91dcdd20 100755 --- a/contrib/jenkins.sh +++ b/contrib/jenkins.sh @@ -19,7 +19,7 @@ virtualenv -p python3 venv --system-site-packages . 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 10e96679..f547abfb 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 2ef498ff..e8e4173e 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( "pyscard", "serial", "pytlv", - "cmd2 >= 1.3.0", + "cmd2 >= 1.3.0, < 2.0.0", "jsonpath-ng", "construct >= 2.9", "bidict",