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

Bump cmd2 from 2.4.3 to 2.5.3 #120

Merged
merged 1 commit into from
Nov 6, 2024
Merged

Bump cmd2 from 2.4.3 to 2.5.3 #120

merged 1 commit into from
Nov 6, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 6, 2024

Bumps cmd2 from 2.4.3 to 2.5.3.

Release notes

Sourced from cmd2's releases.

2.5.3 (November 5, 2024)

  • Enhancements
    • Changed CommandSet._cmd to a read-only property which never returns None because it is meant to be called after the CommandSet is registered. This addresses type checker errors that occurred if CommandSet._cmd wasn't cast or checked if None before use.

2.5.2 (November 3, 2024)

  • Bug Fixes
    • Fixed default pytest execution when not using cmd2's custom invoke command via inv pytest

2.5.1 (November 2, 2024)

  • Bug Fixes
    • Fixed readline bug when using ipy command with gnureadline and Python 3.13

2.5.0 (October 23, 2024)

  • Breaking Change
    • cmd2 2.5 supports Python 3.8+ (removed support for Python 3.6 and 3.7)
  • Bug Fixes
    • Fixed issue where persistent history file was not saved upon SIGHUP and SIGTERM signals.
    • Multiline commands are no longer fragmented in up-arrow history.
    • Fixed bug where async_alert() overwrites readline's incremental and non-incremental search prompts.
      • This fix introduces behavior where an updated prompt won't display after an aborted search until a user presses Enter. See async_printing.py example for how to handle this case using Cmd.need_prompt_refresh() and Cmd.async_refresh_prompt().
  • Enhancements
    • Removed dependency on attrs and replaced with dataclasses
    • add allow_clipboard initialization parameter and attribute to disable ability to add output to the operating system clipboard
    • Updated unit tests to be Python 3.13 compliant.
    • Fall back to bz2 compression of history file when lzma is not installed.
    • Added settable called scripts_add_to_history which determines whether scripts and pyscripts add commands to history.
  • Deletions (potentially breaking changes)
    • Removed apply_style from Cmd.pwarning().
Changelog

Sourced from cmd2's changelog.

2.5.3 (November 5, 2024)

  • Enhancements
    • Changed CommandSet._cmd to a read-only property which never returns None because it is meant to be called after the CommandSet is registered. This addresses type checker errors that occurred if CommandSet._cmd wasn't cast or checked if None before use.

2.5.2 (November 3, 2024)

  • Bug Fixes
    • Fixed default pytest execution when not using cmd2's custom invoke command via inv pytest

2.5.1 (November 2, 2024)

  • Bug Fixes
    • Fixed readline bug when using ipy command with gnureadline and Python 3.13

2.5.0 (October 23, 2024)

  • Breaking Change
    • cmd2 2.5 supports Python 3.8+ (removed support for Python 3.6 and 3.7)
  • Bug Fixes
    • Fixed issue where persistent history file was not saved upon SIGHUP and SIGTERM signals.
    • Multiline commands are no longer fragmented in up-arrow history.
    • Fixed bug where async_alert() overwrites readline's incremental and non-incremental search prompts.
      • This fix introduces behavior where an updated prompt won't display after an aborted search until a user presses Enter. See async_printing.py example for how to handle this case using Cmd.need_prompt_refresh() and Cmd.async_refresh_prompt().
  • Enhancements
    • Removed dependency on attrs and replaced with dataclasses
    • add allow_clipboard initialization parameter and attribute to disable ability to add output to the operating system clipboard
    • Updated unit tests to be Python 3.13 compliant.
    • Fall back to bz2 compression of history file when lzma is not installed.
    • Added settable called scripts_add_to_history which determines whether scripts and pyscripts add commands to history.
  • Deletions (potentially breaking changes)
    • Removed apply_style from Cmd.pwarning().
Commits
  • 457dca7 Add 'build' to uv dev dependencies.
  • 49c352b Update change log for release.
  • e281a40 Rename CommandSet.__private_cmd to CommandSet.__cmd_internal.
  • b93dcd9 Change CommandSet._cmd to a read-only property which never returns None.
  • c4a8d0e GitHub Actions pytest workflow now uses uv instead of nox (#1370)
  • 9fc5683 Use add_subparsers() 'required' keyword argument added in Python 3.7.
  • f85e7fc Fix invoke clean.all
  • 99358d4 Make Sphinx documentation build not dependent on nox (#1368)
  • 2dea62e Add support for uv venvs (#1367)
  • 8117d3b Remove setup.py file to fully move to a modern build based on pyproject.toml ...
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [cmd2](https://github.com/python-cmd2/cmd2) from 2.4.3 to 2.5.3.
- [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.4.3...2.5.3)

---
updated-dependencies:
- dependency-name: cmd2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 6, 2024
@aquilax aquilax merged commit 67da0c4 into master Nov 6, 2024
1 check passed
@aquilax aquilax deleted the dependabot/pip/cmd2-2.5.3 branch November 6, 2024 04:30
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