-
-
Notifications
You must be signed in to change notification settings - Fork 369
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
DeprecationWarning has unclear origin: should_run_async
will not call transform_cell
automatically in the future
#540
Comments
Sorry those are just internal APIs.I transfered this issue to IPykernel repository. |
me too |
print ('hello') |
I Find a idea to this problem. change ipkernel.py:287 line code : |
no, that is wrong, that will break many of the magics and specific IPython syntax. |
look at how IPython is doing it:
|
so ,I can only use 'warnings' function. |
The jupyter notebook crashes when the get_y_range is called in tplot_utilitis.py The root cause of this issue seems to be a bug in ipykernel. See for reference: jupyter/notebook#5757 ipython/ipykernel#540 The is just a workaround working with - python-3.7.9 - jupyter-1.0.0 - ipython-7.18.1 - ipykernel-5.3.4 - tornado-6.0.4 on linux.
Another workaround is to downgrade IPython to 7.10 until this issue is resolved in IPyKernel |
There were some weird warnings coming from an internal `ipython`/`ipykernel` API, causing `pytest-nbval` to fail its tests. So, downgrading `ipython` to 7.10 until that is fixed. Details are available under [this issue](ipython/ipykernel#540).
* Fix ipython version to avoid warnings. There were some weird warnings coming from an internal `ipython`/`ipykernel` API, causing `pytest-nbval` to fail its tests. So, downgrading `ipython` to 7.10 until that is fixed. Details are available under [this issue](ipython/ipykernel#540). * Fix ipython version in workflow file.
* Fix ipython version to avoid warnings. (#126) * Fix ipython version to avoid warnings. There were some weird warnings coming from an internal `ipython`/`ipykernel` API, causing `pytest-nbval` to fail its tests. So, downgrading `ipython` to 7.10 until that is fixed. Details are available under [this issue](ipython/ipykernel#540). * Fix ipython version in workflow file. * Move unmatching inside `second_phase` of SR (#125) * Move unmatching inside `second_phase` This was causing simple examples to fail because the second phase of the algorithm never kicked in. By moving the unmatching, this is avoided, and is fine because of the corollaries in Irving's paper. * Add example tests from #124 * Checkout CI file from dev.
Same problem here |
This is a temporary choice due to a bug in IPykernel ipython/ipykernel#540
I got this error as well, it seems like if it's triggered once it will print out in every cell afterward. It first occurred when printing out values from a list:
All the following cells triggered this warning as well, including this cell:
|
Does this need a owner? Would a fix for this fit in the 6.0 release timeline? |
#605 is not a proper fix, it re-introduces the exact bug that was painfully fixed in CLI IPython. |
Sorry it does not reintroduce it, the bug is still there in IPykernel ; it just mute the error message. |
Now the warning level is reset at the end of the context manager. This was causing a problem on Jupter notebooks, possibly due to the issue ipython/ipykernel#540.
I am still getting this warning at each cell in jupyterlab. python==3.9.2, ipykernel==5.5.3, ipython==7.21.0. |
me too |
Do you have a file and line number for this warning ? it would be helpful to know which lines trigger it. |
|
@Carreau this warning is still appearing with ipykernel=5.5.3, ipython=7.22.0, python=3.9.2:
|
That appear to be expected, the fix in only on the master branch that will become 6.0. |
Ah, thanks. I see now the fix is in #617. Looking forward to it in the 6.0 release. |
There is a bug in ipykernel 5.5, see ipython/ipykernel#540
There is a bug in ipykernel 5.5, see ipython/ipykernel#540
There is a bug in ipykernel 5.5, see ipython/ipykernel#540
Hi, can anyone help me with installing this commit into my already installed package? macOS 11.3.1 |
qutip4.6 requires numpy>=1.16.6,<1.20 and cython>=0.29.20 Add qutip-qip as a dependency Pin the ipython version because there is a bug in ipykernel 5.5, see ipython/ipykernel#540
This is a temporary choice due to a bug in IPykernel ipython/ipykernel#540
This deprecation appears when I have warnings enabled, as of some time within the past week or so, and it is unclear what its origin is. How would I go about finding what component is causing this warning to appear?
For the record, the following code causes the problem to appear:
I could turn off warnings, obviously, but I need them for other situations. Hiding the issue doesn't really fix it, of course. I have the standard contrib notebook extensions installed also.
The text was updated successfully, but these errors were encountered: