With python 3.10 tika-python generates DeprecationWarning
..../lib/python3.10/site-packages/tika/__init__.py:20
..../lib/python3.10/site-packages/tika/__init__.py:20: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
__import__('pkg_resources').declare_namespace(__name__)
..../lib/python3.10/site-packages/tika/__init__.py:20
..../lib/python3.10/site-packages/tika/__init__.py:20: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('tika')`.
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
__import__('pkg_resources').declare_namespace(__name__)
With python 3.10 tika-python generates
DeprecationWarning