neels has uploaded this change for review.

View Change

fix downstream error: ImportError: cannot import name 'style' from 'cmd2'

cmd2 version 3.0 was released, with significant API changes. Limit the
dependency to below 3.0, as already reflected in requirements.txt.

Seeing but not changing the discrepancy in minimum version:
requirements.txt has >2.6.2 while setup.py has >= 1.5.0.

Related: SYS#7775 SYS#7777
Change-Id: I5186f242dbc1b770e3ab8cdca7f27d2a1029fff6
---
M setup.py
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/39/41639/1
diff --git a/setup.py b/setup.py
index 6ded38e..1b78274 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@
"pyscard",
"pyserial",
"pytlv",
- "cmd2 >= 1.5.0",
+ "cmd2 >= 1.5.0, < 3.0",
"jsonpath-ng",
"construct >= 2.10.70",
"bidict",

To view, visit change 41639. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I5186f242dbc1b770e3ab8cdca7f27d2a1029fff6
Gerrit-Change-Number: 41639
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr@sysmocom.de>