[AstroPy] deprecation warning from ipython

Slavin, Jonathan jslavin at cfa.harvard.edu
Fri Oct 2 08:34:21 EDT 2015


Hi Erik,

My astropy version is 1.0.4 which I got via anaconda.  It appears this is
the latest released version of astropy.  I'm not sure which version that
pull request was merged into.

Regards,
Jon

On Fri, Oct 2, 2015 at 12:43 AM, Erik Tollerud <erik.tollerud at gmail.com>
wrote:

> Hello Jonathan,
>
> It looks to me like #4078 (https://github.com/astropy/astropy/pull/4078)
> was supposed to fix this, and its already merged so you shouldn't be seeing
> the error if you're got that change in.  Were you seeing this on the
> development branch of astropy, or a release (which wouldn't have this yet)?
>
>
> On Tue, Sep 15, 2015 at 1:33 PM, Jonathan Slavin <jslavin at cfa.harvard.edu>
> wrote:
>
>> Hi all,
>>
>> I was curious why I've started getting a deprecation warning from ipython
>> when I import astropy:
>>
>> /export/slavin/python/anaconda/lib/python2.7/site-packages/IPython/kernel/__init__.py:13:
>> ShimWarning: The `IPython.kernel` package has been deprecated. You should
>> import from ipykernel or jupyter_client instead.
>>   "You should import from ipykernel or jupyter_client instead.",
>> ShimWarning)
>>
>> ​It looks like it's related to the "Big Split" between ipython and
>> jupyter.  Are there plans to change the relevant part(s) of the code?  Or
>> is it an ipython issue?
>>
>> Regards,
>> Jon​
>>
>> --
>> ________________________________________________________
>> Jonathan D. Slavin                 Harvard-Smithsonian CfA
>> jslavin at cfa.harvard.edu       60 Garden Street, MS 83
>> phone: (617) 496-7981       Cambridge, MA 02138-1516
>> cell: (781) 363-0035             USA
>> ________________________________________________________
>>
>>
>> _______________________________________________
>> AstroPy mailing list
>> AstroPy at scipy.org
>> https://mail.scipy.org/mailman/listinfo/astropy
>>
>>
>
>
> --
> Erik T
>



-- 
________________________________________________________
Jonathan D. Slavin                 Harvard-Smithsonian CfA
jslavin at cfa.harvard.edu       60 Garden Street, MS 83
phone: (617) 496-7981       Cambridge, MA 02138-1516
cell: (781) 363-0035             USA
________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20151002/63a95e12/attachment.html>


More information about the AstroPy mailing list