You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im currently running some oct2py scripts in my testing setup using pytest, which is when i noticed that pytest generally throws me a warning for my tests whenever im using oct2py.
/home/USER/.local/lib/python3.8/site-packages/metakernel/_metakernel.py:20: DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs
given by the platformdirs library. To remove this warning and
see the appropriate new directories, set the environment variable
`JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`.
The use of platformdirs will be the default in `jupyter_core` v6
from jupyter_core.paths import jupyter_config_path, jupyter_config_dir
This is apparently caused by the dependency on jupyter-core.
The warning/error can be reproduced by creating a simple script:
Im currently running some oct2py scripts in my testing setup using pytest, which is when i noticed that pytest generally throws me a warning for my tests whenever im using oct2py.
This is apparently caused by the dependency on jupyter-core.
The warning/error can be reproduced by creating a simple script:
and running it with enabled warnings:
python3 -W default oct2py_warning.py
This is on the current version oct2py 5.7.1
The text was updated successfully, but these errors were encountered: