From ff4f2491b817fef3271a5d8135c95764f2f66d41 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Wed, 10 Dec 2025 04:02:42 +0100 Subject: [PATCH] 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 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6ded38e8..1b78274f 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setup( "pyscard", "pyserial", "pytlv", - "cmd2 >= 1.5.0", + "cmd2 >= 1.5.0, < 3.0", "jsonpath-ng", "construct >= 2.10.70", "bidict",