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
I run PYTHON=python3 ./bootstrap.sh, and then run the command python -m pytest,
the following situation occurs, how can I solve it
g6k/init.py:23
/home/zlh/Desktop/G6K/g6k/g6k/init.py:23: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from .siever_params import SieverParams # noqa
g6k-env/lib/python3.10/site-packages/pkg_resources/init.py:2871
/home/zlh/Desktop/G6K/g6k/g6k-env/lib/python3.10/site-packages/pkg_resources/init.py:2871: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('mpl_toolkits').
Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
g6k-env/lib/python3.10/site-packages/pkg_resources/init.py:2871
/home/zlh/Desktop/G6K/g6k/g6k-env/lib/python3.10/site-packages/pkg_resources/init.py:2871: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('sphinxcontrib').
Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
I run PYTHON=python3 ./bootstrap.sh, and then run the command python -m pytest,
the following situation occurs, how can I solve it
g6k/init.py:23
/home/zlh/Desktop/G6K/g6k/g6k/init.py:23: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from .siever_params import SieverParams # noqa
g6k-env/lib/python3.10/site-packages/pkg_resources/init.py:2871
/home/zlh/Desktop/G6K/g6k/g6k-env/lib/python3.10/site-packages/pkg_resources/init.py:2871: DeprecationWarning: Deprecated call to
pkg_resources.declare_namespace('mpl_toolkits')
.Implementing implicit namespace packages (as specified in PEP 420) is preferred to
pkg_resources.declare_namespace
. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packagesdeclare_namespace(pkg)
g6k-env/lib/python3.10/site-packages/pkg_resources/init.py:2871
/home/zlh/Desktop/G6K/g6k/g6k-env/lib/python3.10/site-packages/pkg_resources/init.py:2871: DeprecationWarning: Deprecated call to
pkg_resources.declare_namespace('sphinxcontrib')
.Implementing implicit namespace packages (as specified in PEP 420) is preferred to
pkg_resources.declare_namespace
. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packagesdeclare_namespace(pkg)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================== 22 passed, 3 warnings in 74.56s (0:01:14) ===================
The text was updated successfully, but these errors were encountered: