Skip to content

Replace typer[all] with typer in dependencies — [all] extra no longer exists #4

Description

@doublegate

Description

The pyproject.toml declares typer[all] as a dependency, but the [all] extra was removed from typer starting with v0.12.0. Since that version, typer ships with rich, shellingham, and the typer CLI command included by default — the [all] extra is no longer defined in the package metadata.

This causes uv (and potentially pip) to emit a warning every time the dependency tree is resolved:

warning: The package `typer==0.24.1` does not have an extra named `all`

Steps to Reproduce

uv tool install nano-pdf
uv tool upgrade --all

Output:

warning: The package `typer==0.24.1` does not have an extra named `all`
Nothing to upgrade

Environment

  • nano-pdf version: 0.2.1
  • typer version: 0.24.1
  • uv version: 0.7.x
  • OS: CachyOS Linux (Arch-based)
  • Python: 3.14

Root Cause

In the installed package metadata (nano_pdf-0.2.1.dist-info/METADATA):

Requires-Dist: typer[all]

The typer package dropped the [all] extra in v0.12.0 when it was restructured to always include rich and shellingham as core dependencies. See the upstream discussion: fastapi/typer#785

Suggested Fix

In pyproject.toml, change:

"typer[all]"

to:

"typer"

This is a one-line change with no functional impact, since typer >= 0.12.0 already bundles everything that [all] used to provide.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions