-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description of the bug
unit test are not passing due to a deprecation warning of a dependency, which is considered as an error by the test harness
To Reproduce
at commit 76664ca
make test
```
git clone https://github.com/username/repro
cd repro
python -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
... # command or code showing the issue
```
-->
Full traceback
Full traceback
=========================== short test summary info ============================
ERROR config/test_cli.py - DeprecationWarning: Jupyter is migrating its paths to use standard platform...
ERROR config/test_cli.py - DeprecationWarning: Jupyter is migrating its paths to use standard platform...
============================== 8 errors in 3.94s ===============================
tests/test_cli.py:7: in <module>
from geogof import cli, debug
src/geogof/__init__.py:7: in <module>
from geogof import points
src/geogof/points.py:6: in <module>
import geoplot as gplt
.venvs/3.11/lib/python3.11/site-packages/geoplot/__init__.py:1: in <module>
from .geoplot import (
.venvs/3.11/lib/python3.11/site-packages/geoplot/geoplot.py:14: in <module>
import seaborn as sns
.venvs/3.11/lib/python3.11/site-packages/seaborn/__init__.py:12: in <module>
from .widgets import * # noqa: F401,F403
.venvs/3.11/lib/python3.11/site-packages/seaborn/widgets.py:6: in <module>
from ipywidgets import interact, FloatSlider, IntSlider
.venvs/3.11/lib/python3.11/site-packages/ipywidgets/__init__.py:25: in <module>
from .widgets import *
.venvs/3.11/lib/python3.11/site-packages/ipywidgets/widgets/__init__.py:4: in <module>
from .widget import Widget, CallbackDispatcher, register, widget_serialization
.venvs/3.11/lib/python3.11/site-packages/ipywidgets/widgets/widget.py:12: in <module>
from ipykernel.comm import Comm
.venvs/3.11/lib/python3.11/site-packages/ipykernel/__init__.py:7: in <module>
from .connect import * # noqa: F403
.venvs/3.11/lib/python3.11/site-packages/ipykernel/connect.py:12: in <module>
import jupyter_client
.venvs/3.11/lib/python3.11/site-packages/jupyter_client/__init__.py:3: in <module>
from .asynchronous import AsyncKernelClient
.venvs/3.11/lib/python3.11/site-packages/jupyter_client/asynchronous/__init__.py:1: in <module>
from .client import AsyncKernelClient # noqa
.venvs/3.11/lib/python3.11/site-packages/jupyter_client/asynchronous/client.py:12: in <module>
from ..client import KernelClient, reqrep
.venvs/3.11/lib/python3.11/site-packages/jupyter_client/client.py:20: in <module>
from .connect import ConnectionFileMixin
.venvs/3.11/lib/python3.11/site-packages/jupyter_client/connect.py:22: in <module>
from jupyter_core.paths import jupyter_data_dir, jupyter_runtime_dir, secure_write
.venvs/3.11/lib/python3.11/site-packages/jupyter_core/paths.py:210: in <module>
deprecation(
.venvs/3.11/lib/python3.11/site-packages/jupyter_core/utils/__init__.py:90: in deprecation
warnings.warn(message, DeprecationWarning, stacklevel=stacklevel + 1)
E DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs
E given by the platformdirs library. To remove this warning and
E see the appropriate new directories, set the environment variable
E `JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`.
E The use of platformdirs will be the default in `jupyter_core` v6
Expected behavior
Environment information
at commit 76664ca
- __System__: Linux-6.1.0-28-amd64-x86_64-with-glibc2.36
- __Python__: cpython 3.11.10 (/home/per202/src/geogof/.venvs/3.11/bin/python3)
- __Environment variables__:
- __Installed packages__:
- `geogof` v0.1.dev9+g762691c.d20241204
Additional context
Metadata
Metadata
Assignees
Labels
No labels