Change in pysim[master]: cmd2: Constrain version to >= 1.3.0 but < 2.0.0

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Jun 11 21:47:40 UTC 2021


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/24648 )


Change subject: cmd2: Constrain version to >= 1.3.0 but < 2.0.0
......................................................................

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
---
M README.md
M contrib/jenkins.sh
M requirements.txt
M setup.py
4 files changed, 4 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/48/24648/1

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",

-- 
To view, visit https://gerrit.osmocom.org/c/pysim/+/24648
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Iecc953269d5ae9ed9f31b829743c63bdfd29fa61
Gerrit-Change-Number: 24648
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210611/a7cdb46e/attachment.htm>


More information about the gerrit-log mailing list