Skip to content

chore(deps): update cmd2 requirement from >=2.4.0 to >=3.4.0#22

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cmd2-gte-3.4.0
Open

chore(deps): update cmd2 requirement from >=2.4.0 to >=3.4.0#22
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cmd2-gte-3.4.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Apr 13, 2026

Updates the requirements on cmd2 to permit the latest version.

Release notes

Sourced from cmd2's releases.

3.4.0 (March 3, 2026)

  • Enhancements

    • Moved cmd2-specific printing logic from Cmd.print_to() into Cmd2BaseConsole.print() and Cmd2BaseConsole.log(). This removes need to pass a console object to Cmd.print_to().
    • Addressed a bug in rich.console.Console where complex renderables (like Table and Rule) may not receive formatting settings passed to console.print() and console.log().
  • Breaking Changes

    • Renamed the destination parameter of Cmd.print_to() back to file since you can no longer pass in a console.
Changelog

Sourced from cmd2's changelog.

3.4.0 (March 3, 2026)

  • Enhancements

    • Moved cmd2-specific printing logic from Cmd.print_to() into Cmd2BaseConsole.print() and Cmd2BaseConsole.log(). This removes need to pass a console object to Cmd.print_to().
    • Addressed a bug in rich.console.Console where complex renderables (like Table and Rule) may not receive formatting settings passed to console.print() and console.log().
  • Breaking Changes

    • Renamed the destination parameter of Cmd.print_to() back to file since you can no longer pass in a console.

3.3.0 (March 1, 2026)

  • Enhancements

    • Added ability to pass a console object to Cmd.print_to(). This provides support for things like wrapping a print_to() call in a console.status() or console.capture() context manager.
  • Breaking Changes

    • Renamed the file parameter of Cmd.print_to() to destination to support file-like objects and console objects.
    • Cmd2BaseConsole(file) argument is now a keyword-only argument to be consistent with the rich.console.Console class.

3.2.2 (February 21, 2026)

  • Bug Fixes
    • Updated rich_utils.ANSI_STYLE_SEQUENCE_RE to only match ANSI SGR (Select Graphic Rendition) sequences for text styling. It previously also matched DEC Private Mode sequences.

3.2.1 (February 21, 2026)

  • Bug Fixes
    • The async_alert and async_prompt_update methods of cmd2.Cmd now respect the current value of the allow_style settable
      • If allow_style is NEVER, all style-related ANSI escape codes will be stripped to ensure plain text output

3.2.0 (February 5, 2026)

  • Bug Fixes

    • Fixed incompatibilities with Python 3.14.3.
  • Potentially Breaking Changes

    • To avoid future incompatibilities with argparse, we removed most of our overridden help functions. This should not break an application, but it could affect unit tests which parse help text.

3.1.3 (February 3, 2026)

... (truncated)

Commits
  • 8a48700 Add 3.4.0 release date
  • 443fddc Removed unnecessary arguments in rich_text_to_string(). (#1597)
  • 78eb813 Addressed bug in Rich and made it unnecessary to pass a console into print_to...
  • 25aa3e6 Fixed typo in changelog
  • 309556f Set release date for 3.3.0 in CHANGELOG.md
  • a3b2d80 Added ability to pass a console object to Cmd.print_to(). (#1592)
  • 6c48851 Updated change log.
  • 1d15007 Updated rich_utils.ANSI_STYLE_SEQUENCE_RE to only match ANSI SGR (Select Grap...
  • faddfc3 Make note in CHANGELOG more accurate
  • c15d505 Update date in changelog in preparation for 3.2.1 release
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [cmd2](https://github.com/python-cmd2/cmd2) to permit the latest version.
- [Release notes](https://github.com/python-cmd2/cmd2/releases)
- [Changelog](https://github.com/python-cmd2/cmd2/blob/main/CHANGELOG.md)
- [Commits](python-cmd2/cmd2@2.4.0...3.4.0)

---
updated-dependencies:
- dependency-name: cmd2
  dependency-version: 3.4.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Apr 13, 2026

Labels

The following labels could not be found: dependencies, python. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

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.

0 participants