laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/41639?usp=email )
Change subject: fix downstream error: ImportError: cannot import name 'style' from 'cmd2' ......................................................................
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(-)
Approvals: osmith: Looks good to me, but someone else must approve Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve laforge: Looks good to me, approved
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",