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:
parent
c6d449550f
commit
c84ff1918a
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue