SSVC
SSVC copied to clipboard
Mkdocs deprecation warning
This warning is showing up when mkdocs runs. It might be a library problem, but I'm just capturing it here so we can come back and fix it if it happens to be an us problem
INFO - DeprecationWarning: A plugin has set File.page to an instance of Page and it got overwritten. The behavior of this will change in MkDocs 1.6.
File "/Users/adh/anaconda3/envs/SSVC_pub/lib/python3.10/site-packages/mkdocs/structure/nav.py", line 183, in <listcomp>
_data_to_navigation((key, value), files, config)
File "/Users/adh/anaconda3/envs/SSVC_pub/lib/python3.10/site-packages/mkdocs/structure/nav.py", line 209, in _data_to_navigation
warnings.warn(
replication: run mkdocs serve and watch the output
This warning no longer appears when I do a local serve, but there are other deprecation warnings:
INFO - DeprecationWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html
File
"/Users/$USER/github/SSVC/ssvc-venv/lib/python3.13/site-packages/pybtex/plugin/__init__.py",
line 26, in <module>
import pkg_resources
File
"/Users/$USER/github/SSVC/ssvc-venv/lib/python3.13/site-packages/pkg_resources/__init__.py",
line 98, in <module>
warnings.warn(
...
INFO - DeprecationWarning: Setting a fallback anchor function is deprecated
and will be removed in a future release.
File
"/Users/$USER/github/SSVC/ssvc-venv/lib/python3.13/site-packages/mkdocstrings/plugin.py",
line 190, in on_config
autorefs.get_fallback_anchor = self.handlers.get_anchors
File
"/Users/$USER/github/SSVC/ssvc-venv/lib/python3.13/site-packages/mkdocs_autorefs/plugin.py",
line 130, in get_fallback_anchor
warn(
I'm running mkdocs v1.6.1, and your warning says it will deprecate in v1.6.