<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/pysim/+/24647">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">compatibility with cmd2 >= 2.0.0: Don't use 'use_ipython'<br><br>Upstream cmd2 removed the 'use_ipython' keyword argument.  Three's<br>a new 'include_ipy' instead.<br><br>See https://github.com/python-cmd2/cmd2/commit/2397280cad072a27a51f5ec1cc64908039d14bd1<br>and https://github.com/python-cmd2/cmd2/issues/1120<br><br>To make our life simpler and as a quick fix, we simply disable ipython<br>support for now.<br><br>If this was to be re-introduced, we would have to use<br>pkg_resources.get_distribution("cmd2") and use packaging.version.parse<br>to compare against 2.0.0<br><br>Change-Id: Ibc9f7a9413b1656dbc1f75e1c3577e8e8db9c03c<br>---<br>M pySim-shell.py<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/47/24647/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/pySim-shell.py b/pySim-shell.py</span><br><span>index 59bfa28..01a1b94 100755</span><br><span>--- a/pySim-shell.py</span><br><span>+++ b/pySim-shell.py</span><br><span>@@ -56,7 +56,7 @@</span><br><span>        def __init__(self, card, rs, script = None):</span><br><span>                 basic_commands = [Iso7816Commands(), PySimCommands()]</span><br><span>                super().__init__(persistent_history_file='~/.pysim_shell_history', allow_cli_args=False,</span><br><span style="color: hsl(0, 100%, 40%);">-                                 use_ipython=True, auto_load_commands=False, command_sets=basic_commands, startup_script=script)</span><br><span style="color: hsl(120, 100%, 40%);">+                                       auto_load_commands=False, command_sets=basic_commands, startup_script=script)</span><br><span>               self.intro = style('Welcome to pySim-shell!', fg=fg.red)</span><br><span>             self.default_category = 'pySim-shell built-in commands'</span><br><span>              self.card = card</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/pysim/+/24647">change 24647</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/pysim/+/24647"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: pysim </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ibc9f7a9413b1656dbc1f75e1c3577e8e8db9c03c </div>
<div style="display:none"> Gerrit-Change-Number: 24647 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>