[AstroPy] deprecation warning from ipython

Larry Bradley lbradley at stsci.edu
Fri Oct 2 08:57:25 EDT 2015


I sent email this a few weeks ago, but it must not have gone through.
Trying again....
--------

Jonathan,

Yes, this deprecation warning occurs with iPython 4.0/Jupyter 1.0, the
first releases after the Big Split.  I fixed this in astropy master a
while back [1].  It will appear in the astropy 1.0.5 release.

Thanks,
Larry


On Fri, Oct 2, 2015 at 8:34 AM, Slavin, Jonathan
<jslavin at cfa.harvard.edu> wrote:
> 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
> ________________________________________________________
>
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> https://mail.scipy.org/mailman/listinfo/astropy
>



More information about the AstroPy mailing list