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
With the recent release of version 0.8.0 of mkdocs-alias, we started having errors when building our documentation using Python 3.8 (See these CI logs).
It seems that the package's code started using list for annotating lists of objects instead of using List from the typing package and that is not supported in Python 3.8.
There are 2 possible solutions:
Add from __future__ import annotations at the top of the plugin module.
Use List from the typing package instead of list until Python 3.8 is no longer supported.
The text was updated successfully, but these errors were encountered:
Hi Anes, thanks for the bug fix! I've merged it, and it will go out in version 0.8.1. I agree with your comment on the PR. I will implement CI checks for all the Python versions that MkDocs still supports.
With the recent release of version 0.8.0 of mkdocs-alias, we started having errors when building our documentation using Python 3.8 (See these CI logs).
It seems that the package's code started using
list
for annotating lists of objects instead of usingList
from the typing package and that is not supported in Python 3.8.There are 2 possible solutions:
from __future__ import annotations
at the top of the plugin module.List
from the typing package instead oflist
until Python 3.8 is no longer supported.The text was updated successfully, but these errors were encountered: