lanl / dsi

LANL Data Science Infrastructure Project
https://lanl.github.io/dsi
5 stars 3 forks source link

Jupyter platformdirs warning #83

Open qwofford opened 8 months ago

qwofford commented 8 months ago

This is a non-critical, non-breaking issue.

I get the following warning while running unit tests for the Parquet driver. The error appears to be related to internal components of Jupyter rather than something in DSI.

=========================================== warnings summary ============================================
../../miniconda3/envs/dsi/lib/python3.11/site-packages/jupyter_client/connect.py:20
  /home/qwofford/miniconda3/envs/dsi/lib/python3.11/site-packages/jupyter_client/connect.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_data_dir, jupyter_runtime_dir, secure_write

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
===================================== 26 passed, 1 warning in 1.00s =====================================

I suggest updating all python environment packages to see if the warning goes away, or following Jupyter documentation to resolve this warning.