jimporter / mike

Manage multiple versions of your MkDocs-powered documentation via Git
BSD 3-Clause "New" or "Revised" License
511 stars 45 forks source link

DeprecationWarning about use of pkg_resources #166

Closed apirogov closed 11 months ago

apirogov commented 11 months ago

When using mike as a mkdocs plugin, I get the following warning. Would be great if it would be resolved:

INFO    -  DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
             File "/home/a.pirogov/.cache/pypoetry/virtualenvs/metador-core-AXME58BY-py3.9/lib/python3.9/site-packages/mike/mkdocs_plugin.py",
           line 6, in <module>
               from pkg_resources import iter_entry_points
             File
           "/home/a.pirogov/.cache/pypoetry/virtualenvs/metador-core-AXME58BY-py3.9/lib/python3.9/site-packages/pkg_resources/__init__.py",
           line 118, in <module>
               warnings.warn(
jimporter commented 11 months ago

Dupe of #148.