mkdocs / mkdocs-redirects

Open source plugin for Mkdocs page redirects
MIT License
176 stars 25 forks source link

`DeprecationWarning` in mkdocs 1.5.3 for use of `warning_filter` #58

Closed shauncarter closed 7 months ago

shauncarter commented 7 months ago

Every time I run mkdocs serve I get this message

INFO    -  DeprecationWarning: warning_filter doesn't do anything since MkDocs
           1.2 and will be removed soon. All messages on the `mkdocs` logger get
           counted automatically.
             File
           "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mkdocs_redirects/plugin.py",
           line 15, in <module>
               log.addFilter(utils.warning_filter)
             File
           "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mkdocs/utils/__init__.py",
           line 453, in __getattr__
               warnings.warn(
oprypin commented 7 months ago

How about upgrading to the latest version of the package