Skip to content

Require click for the always-installed deep CLI - #628

Open
Pitchfork-and-Torch wants to merge 1 commit into
qlustered:masterfrom
Pitchfork-and-Torch:fix/cli-require-click
Open

Pitchfork-and-Torch wants to merge 1 commit into
qlustered:masterfrom
Pitchfork-and-Torch:fix/cli-require-click

Conversation

@Pitchfork-and-Torch

Copy link
Copy Markdown

Summary

  • Fixes cli - Missing dependency 'click' in default installation #594: the deep console script is always installed and imports click, but click was only in the optional cli extra.
  • Bare installs (pip install deepdiff, uv tool install deepdiff) therefore raised ModuleNotFoundError: No module named 'click'.
  • Move click into core dependencies; keep pyyaml in the cli extra.

Test plan

  • Confirmed deepdiff.commands imports click at module level and [project.scripts] deep = ... is unconditional
  • Fresh venv: pip install . then deep --help succeeds without installing deepdiff[cli]

The deep console script imports click unconditionally, but click lived
only in the optional cli extra, so bare installs (e.g. uv tool install
deepdiff) raised ModuleNotFoundError (qlustered#594).
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.

cli - Missing dependency 'click' in default installation

1 participant