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

build(deps): update rich-argparse requirement from <1.7,>=1 to >=1,<1.8 #258

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2025

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

Release notes

Sourced from rich-argparse's releases.

Version 1.7.0

This is the last release to support Python 3.8

Introducing auto-rich-argparse 🚀

Improve the help output of your favorite argparse command line tool by simply installing auto-rich-argparse in its environment. Try it out with your favorite tool using:

uvx --with auto-rich-argparse <YOUR_FAVORITE_TOOL> --help

Read more at https://github.com/hamdanal/auto-rich-argparse.

Incoming Change in Version 2.0

In rich-argparse 2.0, rich markup will become opt in instead of opt out. This means usages like this:

parser.add_argument("--foo", help="[red]This text is in red[/]")

Will need to set the option RichHelpFormatter.help_markup = True to work as expected. Please see #151 for context and to give feedback.

What's Changed

This release adds new features and fixes a few bugs.

Features

Fixes

Other Changes

New Contributors

Full Changelog: hamdanal/rich-argparse@v1.6.0...v1.7.0

Changelog

Sourced from rich-argparse's changelog.

1.7.0 - 2025-02-08

Features

Fixes

  • GH-152, PR-153, PR-154 Fix ValueError when using %(default)s inside square brackets and help_markup is enabled.
  • GH-141, PR-142 Do not highlight --options inside backticks.

1.6.0 - 2024-11-02

Fixes

  • GH-133, PR-135 Fix help preview generation with newer releases of rich.
  • GH-130, PR-131 Fix a bug that caused long group titles to wrap.
  • GH-125, GH-127, PR-128 Redesign metavar styling to fix broken colors of usage when some metavars are wrapped to multiple lines. The brackets and spaces of metavars are no longer colored.

1.5.2 - 2024-06-15

Fixes

  • PR-124 Fix a regression in %(default)s style that was introduced in #123.

1.5.1 - 2024-06-06

Fixes

  • GH-121, PR-123 Fix %(default)s style when help markup is deactivated.

1.5.0 - 2024-06-01

... (truncated)

Commits
  • 91a48c5 Version 1.7.0
  • daa91aa Update pre-commit hooks
  • ef87d9d Tweak warning message for an edge case of default in markup (#154)
  • 0afba0a Minor updates to the project files
  • 672f21e Fix ValueError when using %(default)s inside square brackets and `help_ma...
  • f946bb3 Add python nightly workflow (#150)
  • 160ce70 Add proper django support (#149)
  • cbf1c09 Minor internal updates
  • 3707030 Add contrib module with ParagraphRichHelpFormatter (#147)
  • 7ff5067 Bump astral-sh/setup-uv from 4 to 5 (#148)
  • 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)

Updates the requirements on [rich-argparse](https://github.com/hamdanal/rich-argparse) to permit the latest version.
- [Release notes](https://github.com/hamdanal/rich-argparse/releases)
- [Changelog](https://github.com/hamdanal/rich-argparse/blob/main/CHANGELOG.md)
- [Commits](hamdanal/rich-argparse@v1.0.0...v1.7.0)

---
updated-dependencies:
- dependency-name: rich-argparse
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link

sonarqubecloud bot commented Mar 1, 2025

@Guts Guts merged commit 577e20f into main Mar 3, 2025
18 of 30 checks passed
@Guts Guts deleted the dependabot/pip/rich-argparse-gte-1-and-lt-1.8 branch March 3, 2025 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant