fplll / g6k

The General Sieve Kernel
GNU General Public License v2.0
103 stars 31 forks source link

Problems when installing and testing g6k #120

Open zlhlovelattice opened 1 year ago

zlhlovelattice commented 1 year ago

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)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================== 22 passed, 3 warnings in 74.56s (0:01:14) ===================