Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cmd2 requirement from ~=2.1.2 to ~=2.4.3 #2

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 16, 2023

Updates the requirements on cmd2 to permit the latest version.

Release notes

Sourced from cmd2's releases.

2.4.3 (January 27, 2023)

  • Bug Fixes
    • Fixed ValueError caused when passing Cmd.columnize() strings wider than display_width.
  • Enhancements
    • Renamed utils.str_to_bool() -> utils.to_bool().
    • Enhanced utils.to_bool() so that it accepts and converts bool, int, and float in addition to str.
Changelog

Sourced from cmd2's changelog.

2.4.3 (January 27, 2023)

  • Bug Fixes
    • Fixed ValueError caused when passing Cmd.columnize() strings wider than display_width.
  • Enhancements
    • Renamed utils.str_to_bool() -> utils.to_bool().
    • Enhanced utils.to_bool() so that it accepts and converts bool, int, and float in addition to str.

2.4.2 (July 13, 2022)

  • Enhancements
    • Updated argparse decorator to remove annotations when the docstring is used for a command's help text.
    • Updated unit test to be Python 3.11 compliant.

2.4.1 (April 13, 2022)

  • Bug Fixes
    • Fixed value for ansi.Bg.YELLOW.
    • Fixed unit tests for ansi.allow_style.
  • Enhancements
    • async_alert() raises a RuntimeError if called from the main thread.

2.4.0 (February 22, 2022)

  • Bug Fixes
    • Fixed issue in ansi.async_alert_str() which would raise IndexError if prompt was blank.
    • Fixed issue where tab completion was quoting argparse flags in some cases.
  • Enhancements
    • Added broader exception handling when enabling clipboard functionality via pyperclip.
    • Added PassThroughException to __init__.py imports.
    • cmd2 now uses pyreadline3 when running any version of Python on Windows
    • Improved memory usage in certain use cases of tables (e.g. nested colored tables)
  • Deletions (potentially breaking changes)
    • Deleted cmd2.fg and cmd2.bg which were deprecated in 2.3.0. Use cmd2.Fg and cmd2.Bg instead.

2.3.3 (November 29, 2021)

  • Enhancements
    • Added clearer exception handling to BorderedTable and SimpleTable.

2.3.2 (November 22, 2021)

  • Bug Fixes
    • Fixed issue where a ns_provider could be passed None instead of its correct cmd2.Cmd or CommandSet value.

2.3.1 (November 18, 2021)

  • Bug Fixes
    • Fixed issue introduced in 2.3.0 with AlternatingTable, BorderedTable, and SimpleTable that caused header alignment settings to be overridden by data alignment settings.
  • Enhancements
    • CompletionItems now saves the original object from which it creates a string.
    • Using CompletionItems as argparse choices is fully supported. cmd2 patched argparse to compare input to the original value instead of the CompletionItems instance.
    • ArgparseCompleter now does the following if a list of CompletionItems was created with numerical types:
      • Sorts completion hints numerically
      • Right-aligns the left-most column in completion hint table

... (truncated)

Commits
  • 031832a Updated LICENSE with current year.
  • 6a0e9ea Updating CHANGELOG for 2.4.3 release.
  • c6d1624 Removed Python 3.6 testing since the testing network no longer supports it on...
  • 694718a Fixed mypy and flake8 errors.
  • 50b5aa7 Fixed ValueError caused when passing Cmd.columnize() strings wider than displ...
  • 23a7d22 Merge pull request #1253 from python-cmd2/1252-str-to-bool
  • 860403e Clean up spacing
  • f2a7fcc Add tests for to_bool() when passing boolean values
  • eff9274 Fix black errors
  • 5a6df16 Update type hints and comments on to_bool()
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 16, 2023
@dependabot dependabot bot force-pushed the dependabot/pip/cmd2-approx-eq-2.4.3 branch from 3b198f0 to e773669 Compare August 16, 2023 12:51
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/master/CHANGELOG.md)
- [Commits](python-cmd2/cmd2@2.1.2...2.4.3)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/cmd2-approx-eq-2.4.3 branch from e773669 to 1ecd9dd Compare August 16, 2023 12:52
@dgcampbe dgcampbe merged commit 2276548 into main Aug 16, 2023
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant