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 rich-click requirement from ~=1.7.1 to ~=1.7.3 #41

Merged
merged 1 commit into from
Jan 13, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 8, 2024

Updates the requirements on rich-click to permit the latest version.

Release notes

Sourced from rich-click's releases.

v1.7.3

  • Fix false deprecation warning.
Changelog

Sourced from rich-click's changelog.

Version 1.7.3

  • Fix false deprecation warning. [#151]

Version 1.7.2

  • Add support for rich formatting in epilog text [#146]

Version 1.7.1

  • Fix bug with rich-click CLI not working with Python 3.12. [#141]
  • Fix compatibility issue with dbt-core CLI. [#140]

Version 1.7.0

[!WARNING]

Click 7.x support is deprecated and will be removed in a future version. Please update to a newer version of click.

This release comes after merging a huge pull-request from @​BrutalSimplicity - see #92

  • Extends Click's HelpFormatter class
  • Creates a HelpConfiguration class that doubles the current module-level settings
  • Added a decorator that allows the HelpConfiguration to be passed into Click via the supported context_settings argument provided by the Command and Group classes.
  • The Rich Console object can also be configured per command and is distinct from the Console instance used internally by the formatter. The RichHelpFormatter creates a console based on the RichHelpConfiguration as the tight coupling between the Formatter and Click's internals make it difficult to allow the Console to be configured externally (i.e. one example is that Click expects help formatting to be buffered).
  • Created a RichContext class to allow creation of the custom formatter.
  • The Rich Command, Group, and Context now expose the Console and RichHelpConfiguration properties.
  • Added contributor VSCode settings

This PR closes a number of issues:

  • #25: Add tests!
  • #90: click.ClickException should output to stderr
  • #88: Rich Click breaks contract of Click's format_help and its callers
  • #18: Options inherited from context settings aren't applied

In addition, we merged another large pull-request that adds full static type-checking support (see issue #85), and fixes many bugs - see PR #126.

In addition:

  • Add new style option STYLE_COMMAND [#102]
  • Add new style option WIDTH (in addition to MAX_WIDTH), thanks to @​ealap [#110]
  • Add new style option STYLE_ERRORS_SUGGESTION_COMMAND [#136]
  • Updated styling for Usage: line to avoid off-target effects [#108]
  • Click 7.x support has been deprecated. [#117]
  • Fixed error where ctx.exit(exit_code) would not show nonzero exit codes.[#114]
  • Support click.MultiCommand. [#38]:

Version 1.6.1 (2023-01-19)

... (truncated)

Commits
  • 7d40b91 Merge pull request #152 from dwreeves/fix-deprecation-warning
  • 42a592b fix deprecation warning for rich-click cli
  • 7c9aae3 fix tests for c7
  • c07f249 Merge branch '1.7.x' of github.com-dwreeves:ewels/rich-click into fix-epilog-bug
  • e6a3add update changelog and bump version
  • 8aba9a7 Merge pull request #146 from dwreeves/fix-epilog-bug
  • 670b466 add epilog text formatting support
  • 3128c30 Merge pull request #143 from dwreeves/fix-error-with-rich-click-cli-impacting...
  • 74c87b5 Generate new screengrabs with rich-codex
  • See full diff 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)

Updates the requirements on [rich-click](https://github.com/ewels/rich-click) to permit the latest version.
- [Release notes](https://github.com/ewels/rich-click/releases)
- [Changelog](https://github.com/ewels/rich-click/blob/main/CHANGELOG.md)
- [Commits](ewels/rich-click@v1.7.1...v1.7.3)

---
updated-dependencies:
- dependency-name: rich-click
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from jossmoff January 8, 2024 01:07
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 8, 2024

The following labels could not be found: dependencies.

Copy link

codecov bot commented Jan 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (89049a8) 93.97% compared to head (f016141) 93.97%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #41   +/-   ##
=======================================
  Coverage   93.97%   93.97%           
=======================================
  Files          11       11           
  Lines         448      448           
=======================================
  Hits          421      421           
  Misses         27       27           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jossmoff jossmoff merged commit 5323210 into main Jan 13, 2024
6 checks passed
@jossmoff jossmoff deleted the dependabot/pip/rich-click-approx-eq-1.7.3 branch January 13, 2024 13:16
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.

1 participant