fix(install): add pydantic_core + annotated-types to no-torch-runtime.txt

Whack-a-mole on the --no-deps install: after typer's deps (click,
shellingham, annotated-doc, rich, etc.) the next module hit is
pydantic_core, which lives in a separate wheel from pydantic and so
is NOT installed when `pydantic` itself is installed --no-deps.

Pin pydantic-core and annotated-types (pydantic's other dep tree
member) so the import chain works on a fresh windows-latest venv.
This commit is contained in:
Daniel Han 2026-05-07 10:23:20 +00:00
commit c84ff1918a

View file

@ -23,6 +23,12 @@ markdown-it-py>=3.0
mdurl>=0.1
pygments>=2.0
pydantic
# pydantic 2.x's compiled core lives in a SEPARATE wheel and is NOT
# bundled with the pydantic wheel itself. With --no-deps, `import
# pydantic` blows up with `ModuleNotFoundError: No module named
# 'pydantic_core'` on a fresh venv.
pydantic-core
annotated-types>=0.6
pyyaml
nest-asyncio