-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
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:
import oct2py
oc = oct2py.Oct2Py()
x = oc.zeros(3, 3)
print(x, x.dtype)and running it with enabled warnings: python3 -W default oct2py_warning.py
This is on the current version oct2py 5.7.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels