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.0 to ~=1.7.1 #25

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 1, 2023

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

Release notes

Sourced from rich-click's releases.

v1.7.1

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

Sourced from rich-click's changelog.

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 rich-click version 1.8.x. 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)

Version 1.6.0 (2022-12-05)

... (truncated)

Commits
  • 7a7b0ef changelog and version bump
  • d20c162 fix compatability with another library
  • f3cc0c6 Merge pull request #142 from dwreeves/make-py-3-12-work
  • dedbbe3 make rich-click cli work for python 3.12
  • 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.0...v1.7.1)

---
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 November 1, 2023 00:51
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 1, 2023

The following labels could not be found: dependencies.

Copy link

codecov bot commented Nov 1, 2023

Codecov Report

Merging #25 (d1cb7f6) into main (6f0d5a6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #25   +/-   ##
=======================================
  Coverage   93.38%   93.38%           
=======================================
  Files          11       11           
  Lines         408      408           
=======================================
  Hits          381      381           
  Misses         27       27           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jossmoff jossmoff merged commit f69a265 into main Nov 7, 2023
4 checks passed
@jossmoff jossmoff deleted the dependabot/pip/rich-click-approx-eq-1.7.1 branch November 7, 2023 08:57
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