Project

General

Profile

Actions

Bug #5589

closed

support cmd2 >= 2.0.0

Added by laforge almost 2 years ago. Updated 10 months ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
pySim-shell
Target version:
-
Start date:
06/23/2022
Due date:
% Done:

0%

Spec Reference:

Description

cmd2 unfortunately had a number of API breaking changes in recent years. We're still stuck with < 2.0.0 (meaning 1.5) while upstream is at 2.4.0

I tried to port pysim to 2.4.0 in the laforge/cmd2_2.4 branch - but somehow the tab completion / history seems completely broken.

Actions #1

Updated by laforge over 1 year ago

  • Category set to pySim-shell
Actions #2

Updated by fixeria over 1 year ago

Somehow I overlooked this ticket and didn't notice your branch.

I also created a branch (https://cgit.osmocom.org/pysim/log/?h=fixeria/cmd2), and for me pySim-shell works like a charm with cmd2 v2.4.2.

I tried to port pysim to 2.4.0 in the laforge/cmd2_2.4 branch - but somehow the tab completion / history seems completely broken.

FYI: Somebody just submitted a patch likely fixing this: https://gerrit.osmocom.org/c/pysim/+/29439.

Actions #3

Updated by laforge 10 months ago

  • Status changed from New to Resolved
commit c85d4067fdbf641f6ca63be862023c0aca726c29
Author: Harald Welte <laforge@osmocom.org>
Date:   Thu Apr 27 17:10:17 2023 +0200

pySim-shell: fix compatibility problem with cmd2 >= 2.0.0 (include_ipy)
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)