ipython-sql icon indicating copy to clipboard operation
ipython-sql copied to clipboard

Compatibility Warning with Ipython4

Open stonebig opened this issue 10 years ago • 3 comments

Under Ipython 4, I get this error, and I don't see how to fix it. Is it a Ipython-sql issue ?

python-3.4.3.amd64\lib\site-packages\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)
python-3.4.3.amd64\lib\site-packages\IPython\utils\traitlets.py:5: UserWarning: IPython.utils.traitlets has moved to a top-level traitlets package.
  warn("IPython.utils.traitlets has moved to a top-level traitlets package.")

stonebig avatar Aug 13 '15 18:08 stonebig

see this pull request for a workaround: https://github.com/catherinedevlin/ipython-sql/pull/42

mccahill avatar Sep 14 '15 16:09 mccahill

Great!

stonebig avatar Sep 14 '15 16:09 stonebig

also have the same question:

/Users/flasher/anaconda3/lib/python3.6/site-packages/IPython/config.py:13: ShimWarning: The IPython.config package has been deprecated since IPython 4.0. You should import from traitlets.config instead. "You should import from traitlets.config instead.", ShimWarning) /Users/flasher/anaconda3/lib/python3.6/site-packages/sql/magic.py:4: UserWarning: IPython.utils.traitlets has moved to a top-level traitlets package. from IPython.utils.traitlets import Bool, Int, Unicode

sandianyang avatar Feb 07 '18 09:02 sandianyang