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
Deprecation warnings do not appear in notebook but in the terminal #1148
Comments
Hmm, something is clearly wrong with the way we are handling warnings. I made a change some time ago that allowed the output of e.g. |
Here's the relevant function as of this writing. The change I made was to handle |
I'll see if I can find some time to look at |
I guess this is related to #612 ? |
I should have added in my original report that I am using whatever https://github.com/tweag/jupyterWith points to, and I don't know if this has your latest changes to handle stderr in. |
It looks like tweag/jupyterWith is currently pinned to the last commit which bumped the cabalfile version. Maybe time for another version bump and a hackage release? I also have my own selfish reasons for wanting jupyterWith to upgrade. |
I could make another release, but it looks like the version |
I've released |
So I'm using ihaskell-0.10.1.1 and I see this behavior (this is with import qualified Graphics.Vega.VegaLite as VL ) expectedlet xs = VL.NamedStyles [] which reports (in the web browser containing
unexpectedIf I drop the ys = VL.NamedStyles [] |
This is the behavior I get with ihaskell-0.10.2.0 - ideally all the uses of I haven't looked at the code much, but I can't imagine how it can grab the warning in some cases and not in others, as I'd imagine they are going through the same code path,,, |
There's some pretty convoluted logic around capturing |
I have a notebook that uses a deprecated Haskell constructor (i.e. one marked with the
DEPRECATED
pragma). If I use this then I get the following message in the terminal which is runningjupyter notebook
, but nothing in the notebook.I was expecting to see it in the actual notebook (e.g. in the same way that you see
hlint
suggestions).Is this possible?
The text was updated successfully, but these errors were encountered: