Skip to content

Conversation

@mochaaP
Copy link
Contributor

@mochaaP mochaaP commented Dec 8, 2025

Tested on mkdocs 1.6.1 + mkdocstrings 1.0.0 + Python 3.14.0.
Ruff check target = py3.8

from pathlib import Path
from subprocess import PIPE, STDOUT, CalledProcessError, Popen
from typing import Any, List, Mapping, Optional
from typing import Any, ClassVar, TYPE_CHECKING, final, override
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI complains about override:

ImportError: cannot import name 'override' from 'typing' (/usr/lib/python3.10/typing.py)

https://github.com/fmtlib/fmt/actions/runs/20028626137/job/57455771194

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@mochaaP mochaaP force-pushed the mochaa-fix-mkdocstrings branch 3 times, most recently from da3eef6 to 0cf82a5 Compare December 8, 2025 19:43
@mochaaP
Copy link
Contributor Author

mochaaP commented Dec 8, 2025

sudo apt update
sudo apt install doxygen
pip install mkdocs-material==9.5.25 mkdocstrings==0.26.1 mike==2.1.1
pip install mkdocs-material==9.7.0 mkdocstrings==1.0.0 mike==2.1.3 typing_extensions==4.15.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are typing_extension required? In general it's good to keep the number of deps small.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the backported runtime behavior for builtin typing. it's maintained by the python team and only has one file so i'm okay with it.

@mochaaP mochaaP force-pushed the mochaa-fix-mkdocstrings branch from 0cf82a5 to fdad8cf Compare December 9, 2025 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants