Skip to content

Update cmd2 requirement from ~=1.1 to ~=1.2

Created by: dependabot-preview[bot]

Updates the requirements on cmd2 to permit the latest version.

Release notes

Sourced from cmd2's releases.

1.2.0 (July 13, 2020)

  • Bug Fixes
    • Fixed typing module compatibility issue with Python 3.5 prior to 3.5.4
  • Enhancements
    • Switched to getting version using importlib.metadata instead of using pkg_resources
      • Improves cmd2 application launch time on systems that have a lot of Python packages on sys.path
      • Added dependency on importlib_metadata when running on versions of Python prior to 3.8
Changelog

Sourced from cmd2's changelog.

1.2.0 (July 13, 2020)

  • Bug Fixes
    • Fixed typing module compatibility issue with Python 3.5 prior to 3.5.4
  • Enhancements
    • Switched to getting version using importlib.metadata instead of using pkg_resources
      • Improves cmd2 application launch time on systems that have a lot of Python packages on sys.path
      • Added dependency on importlib_metadata when running on versions of Python prior to 3.8

1.1.0 (June 6, 2020)

  • Bug Fixes
    • Fixed issue where subcommand usage text could contain a subcommand alias instead of the actual name
    • Fixed bug in ArgparseCompleter where fill_width could become negative if token_width was large relative to the terminal width.
  • Enhancements
    • Made ipy consistent with py in the following ways
      • ipy returns whether any of the commands run in it returned True to stop command loop
      • Cmd.in_pyscript() returns True while in ipy.
      • Starting ipy when Cmd.in_pyscript() is already True is not allowed.
    • with_argument_list, with_argparser, and with_argparser_and_unknown_args wrappers now pass kwargs through to their wrapped command function.
    • Added table_creator module for creating richly formatted tables. This module is in beta and subject to change.
    • Added the following exceptions to the public API
      • SkipPostcommandHooks - Custom exception class for when a command has a failure bad enough to skip post command hooks, but not bad enough to print the exception to the user.
      • Cmd2ArgparseError - A SkipPostcommandHooks exception for when a command fails to parse its arguments. Normally argparse raises a SystemExit exception in these cases. To avoid stopping the command loop, catch the SystemExit and raise this instead. If you still need to run post command hooks after parsing fails, just return instead of raising an exception.
    • Added explicit handling of SystemExit. If a command raises this exception, the command loop will be gracefully stopped.

1.0.2 (April 06, 2020)

  • Bug Fixes
    • Ctrl-C now stops a running text script instead of just the current run_script command
  • Enhancements
    • do_shell() now saves the return code of the command it runs in self.last_result for use in pyscripts

1.0.1 (March 13, 2020)

  • Bug Fixes
    • Fixed issue where postcmd hooks were running after an argparse exception in a command.

1.0.0 (March 1, 2020)

  • Enhancements
    • The documentation at cmd2.rftd.io received a major overhaul
  • Other
Commits
  • 104f9af Merge pull request #955 from python-cmd2/typing_deque
  • 95d6a25 Added PyCharm warning suppressions
  • cd6a18c small simplification
  • 3fc0833 slight cleanup
  • 252bde4 Address fact that typing.Deque wasn't defined prior to 3.5.4
  • 27a8414 Update release date in CHANGELOG
  • 0cb8391 Updated CHANGELOG
  • aeacd50 Merge pull request #953 from dhellmann/drop-pkg-resources
  • 859d45b replace pkg_resources with importlib.metadata
  • 6e19fb1 Ran isort
  • 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 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Merge request reports

Loading