+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-aiosmtpd-1.4.6-2.fc37.x86_64/usr/lib64/python3.10/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-aiosmtpd-1.4.6-2.fc37.x86_64/usr/lib/python3.10/site-packages
+ /usr/bin/pytest -ra -m 'not network'
ImportError while loading conftest '/home/tkloczko/rpmbuild/BUILD/aiosmtpd-1.4.6/aiosmtpd/tests/conftest.py'.
aiosmtpd/tests/conftest.py:17: in <module>
from pkg_resources import resource_filename
/usr/lib/python3.10/site-packages/pkg_resources/__init__.py:3292: in <module>
def _initialize_master_working_set():
/usr/lib/python3.10/site-packages/pkg_resources/__init__.py:3266: in _call_aside
f(*args, **kwargs)
/usr/lib/python3.10/site-packages/pkg_resources/__init__.py:3317: in _initialize_master_working_set
tuple(dist.activate(replace=False) for dist in working_set)
/usr/lib/python3.10/site-packages/pkg_resources/__init__.py:3317: in <genexpr>
tuple(dist.activate(replace=False) for dist in working_set)
/usr/lib/python3.10/site-packages/pkg_resources/__init__.py:2832: in activate
declare_namespace(pkg)
/usr/lib/python3.10/site-packages/pkg_resources/__init__.py:2306: in declare_namespace
warnings.warn(msg, DeprecationWarning, stacklevel=2)
E DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`.
E 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
Like it is in title ..