# HG changeset patch # User Mads Kiilerich # Date 2018-08-05 22:38:05 # Node ID ffacefade7691a0c4afbd906798c9f606f9922c6 # Parent d1165b45e20726b14711a9430537abd40e35f65d ishell: use traitlets.config and require ipython >= 4.0.0 Since version 4 was released in 2015, ishell has warned: IPython/config.py:13: ShimWarning: The `IPython.config` package has been deprecated. You should import from traitlets.config instead. "You should import from traitlets.config instead.", ShimWarning) diff --git a/kallithea/lib/paster_commands/ishell.py b/kallithea/lib/paster_commands/ishell.py --- a/kallithea/lib/paster_commands/ishell.py +++ b/kallithea/lib/paster_commands/ishell.py @@ -44,7 +44,7 @@ class Command(BasePasterCommand): def take_action(self, args): try: from IPython import embed - from IPython.config.loader import Config + from traitlets.config.loader import Config cfg = Config() cfg.InteractiveShellEmbed.confirm_exit = False embed(config=cfg, banner1="Kallithea IShell.")