-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
=============================== warnings summary ===============================
../../../../../../home/jinh/miniconda3/envs/flowbench/lib/python3.10/site-packages/lightning_utilities/core/imports.py:14
/home/jinh/miniconda3/envs/flowbench/lib/python3.10/site-packages/lightning_utilities/core/imports.py:14: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
../../../../../../home/jinh/miniconda3/envs/flowbench/lib/python3.10/site-packages/lightning/fabric/__init__.py:41
/home/jinh/miniconda3/envs/flowbench/lib/python3.10/site-packages/lightning/fabric/__init__.py:41: Deprecated call to `pkg_resources.declare_namespace('lightning.fabric')`.
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
../../../../../../home/jinh/miniconda3/envs/flowbench/lib/python3.10/site-packages/pkg_resources/__init__.py:2350
../../../../../../home/jinh/miniconda3/envs/flowbench/lib/python3.10/site-packages/pkg_resources/__init__.py:2350
/home/jinh/miniconda3/envs/flowbench/lib/python3.10/site-packages/pkg_resources/__init__.py:2350: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('lightning')`.
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(parent)
../../../../../../home/jinh/miniconda3/envs/flowbench/lib/python3.10/site-packages/lightning/pytorch/__init__.py:37
/home/jinh/miniconda3/envs/flowbench/lib/python3.10/site-packages/lightning/pytorch/__init__.py:37: Deprecated call to `pkg_resources.declare_namespace('lightning.pytorch')`.
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
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
ref: Package Discovery and Resource Access using pkg_resources link