Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings do not display in notebooks for certain ipykernel versions #133

Closed
jlstevens opened this issue Sep 30, 2016 · 5 comments
Closed
Labels
component: ipython ipython/notebook/jupyter support component: log/warn/error type-bug Bug report

Comments

@jlstevens
Copy link
Contributor

This issue is simply to note that a bug in certain older ipykernel versions meant parameterized warnings were not appearing in notebooks.

I believe this issue was fixed in ipython/ipykernel#127 which should means that this issue was fixed for ipykernel version 4.4. This is consistent with what I experienced: when I had version 4.3.1, warnings only appeared in the terminal but after updating to the latest version (4.5.0), the issue was resolved.

@ceball
Copy link
Member

ceball commented Sep 30, 2016

I found the same thing recently.

I'm using continuumio/anaconda3:4.1.1 from dockerhub, and had a tough time upgrading ipykernel. (I think because of problem with conda, but I'm not at all sure; ContinuumIO/anaconda-issues#542.) Here's what I did:

pip install --upgrade --ignore-installed https://github.com/ipython/ipykernel/tarball/master

Maybe you didn't have any trouble upgrading ipykernel, Jean-Luc?

I'll also just note that when I import param in a notebook, I get a deprecation warning in red:

/opt/conda/lib/python3.5/site-packages/ipykernel/__main__.py:1: DeprecationWarning: Use importlib.util.find_spec() instead.
  if __name__ == '__main__':

Presumably that's because I'm using python 3.5, and it's something ipykernel needs to address. Annoying to get it when I import param, though.

@ceball ceball added this to the 1.6.0 milestone Aug 28, 2017
@ceball
Copy link
Member

ceball commented Aug 28, 2017

Check if this is still a problem

@jlstevens
Copy link
Contributor Author

I believe this is no longer a problem with recent versions. I might be wrong though!

@ceball ceball removed this from the 1.6 milestone Apr 13, 2020
@ceball ceball added component: ipython ipython/notebook/jupyter support type-bug Bug report labels Apr 13, 2020
@ceball
Copy link
Member

ceball commented Apr 13, 2020

See also #68 if checking/cleaning up

@jbednar
Copy link
Member

jbednar commented Aug 10, 2020

Appears not to be an issue any more.

@jbednar jbednar closed this as completed Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ipython ipython/notebook/jupyter support component: log/warn/error type-bug Bug report
Projects
None yet
Development

No branches or pull requests

3 participants