Skip to content

Remove cmd2 dependency#82

Closed
sodejm wants to merge 0 commit into
mainfrom
codex/remove-cmd2-dependency-from-pyproject.toml
Closed

Remove cmd2 dependency#82
sodejm wants to merge 0 commit into
mainfrom
codex/remove-cmd2-dependency-from-pyproject.toml

Conversation

@sodejm

@sodejm sodejm commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Remove the direct cmd2 dependency to avoid pulling its transitive packages into the default install while keeping the console primitives (prompt-toolkit and rich) as direct dependencies.

Description

  • Removed "cmd2>=4,<5" from the [project].dependencies section in pyproject.toml.
  • Regenerated the project lockfile with uv lock, which removed cmd2 and no-longer-needed transitive packages such as pyperclip and rich-argparse while retaining prompt-toolkit and rich in uv.lock.
  • Updated uv.lock (revision and package entries) to reflect the removal.

Testing

  • Ran uv lock to regenerate the lockfile and the command completed successfully.
  • Ran rg -n "cmd2" pyproject.toml uv.lock and observed no matches, confirming cmd2 references were removed.

Codex Task

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@sodejm sodejm closed this Jul 22, 2026
@sodejm
sodejm force-pushed the codex/remove-cmd2-dependency-from-pyproject.toml branch from 8348920 to bd2fbc3 Compare July 22, 2026 01:41
@sodejm
sodejm deleted the codex/remove-cmd2-dependency-from-pyproject.toml branch July 22, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant