# HG changeset patch # User Mads Kiilerich # Date 1533501485 -7200 # 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 -r d1165b45e207 -r ffacefade769 kallithea/lib/paster_commands/ishell.py --- a/kallithea/lib/paster_commands/ishell.py Sun Aug 05 22:37:55 2018 +0200 +++ b/kallithea/lib/paster_commands/ishell.py Sun Aug 05 22:38:05 2018 +0200 @@ -44,7 +44,7 @@ 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.")