You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run mkdocs serve, the I get the following warnings at the top of the output:
INFO - DeprecationWarning: pkg_resources is deprecated as an API
File "/home/souto/.cache/pypoetry/virtualenvs/omegat-guides-3pPVScJG-py3.11/lib/python3.11/site-packages/mkdocs_macros/context.py", line 19, in
<module>
import pkg_resources
File "/home/souto/.cache/pypoetry/virtualenvs/omegat-guides-3pPVScJG-py3.11/lib/python3.11/site-packages/pkg_resources/__init__.py", line 121, in
<module>
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
INFO - Building documentation...
The site seems to serve well, with a few issues that I'm investigating at the moment (I don't know whether they are related).
Thanks!
The text was updated successfully, but these errors were encountered:
That is a standard Python library. If you get a warning from calling it, it might be something connected to your system's Python 3.11 standard packages?
I do not know the ins and outs, but I would try to update the Python version (without jumping all the way to 3.12, you might try to get a more recent minor version?).
I fiddled a bit with dependencies, I have now ^3.10 as the python version in the poetry config. Not sure what it was, but the warnings don't appear anymore. Thanks for your reply.
The
plugins/macros
section in mymkdocs.yml
file says:When I run
mkdocs serve
, the I get the following warnings at the top of the output:The site seems to serve well, with a few issues that I'm investigating at the moment (I don't know whether they are related).
Thanks!
The text was updated successfully, but these errors were encountered: