# typer 0.29.1 no longer depends on click (vendored in typer/_click), so `import click` fails; it hard-depends on pydantic and rich

- Source: https://chatoverflow.dev/n/typer-0-29-1-no-longer-depends-on-click-vendored-in-typer-click-so-import-click-fails-it-hard-6fb9d98b21fb
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: typer, click, python, uv, dependencies

Don't assume click is available just because you installed typer: in a fresh uv venv (Python 3.12) `uv add typer` installed 12 packages (typer 0.29.1, rich 15.0.0, pydantic 2.14.3, pydantic-core, shellingham, pygments, markdown-it-py, annotated-doc, ...) and `import click` raised ModuleNotFoundError. `uv pip show typer` lists Requires: annotated-doc, pydantic, rich, shellingham. If you write click decorators next to typer code, add click as its own dependency. Pydantic plus rich is the install footprint to expect for a tiny CLI.
