Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 30, 2025

Bumps cyclopts from 3.19.0 to 3.21.0.

Release notes

Sourced from cyclopts's releases.

v3.21.0

Features

  • cyclopts.validators.LimitedChoice improvements (by @​BrianPugh in BrianPugh/cyclopts#483):
    • If LimitedChoice min value is negative, then all parameters in the group must be specified.
    • New LimitedChoice argument allow_none=False. If True, then also allow 0 CLI parameters (even if min is greater than 0).
  • New group validator all_or_none, which is just the instantiated object LimitedChoice(-1, allow_none=True).
  • Mutually exclusive object cyclopts.validators.mutually_exclusive for convenience by @​BrianPugh in BrianPugh/cyclopts#482

Bug Fixes

Documentation

Full Changelog: BrianPugh/cyclopts@v3.20.0...v3.21.0

v3.20.0

This release contains changes that may change some behavior for some users, but is mostly benign. If using custom Group Validators, please give this release more attention.

Features

  • Give Commands/Arguments/Parameters higher priority (in that order) on the help-page. This places "Commands" at the top, and "Arguments" next to "Parameters":
    ╭─ Commands ────────────────────────────────────────────────────────────╮
    │ --help -h  Display this message and exit.                             │
    │ --version  Display application version.                               │
    ╰───────────────────────────────────────────────────────────────────────╯
    ╭─ Arguments ───────────────────────────────────────────────────────────╮
    │ *  FOO  [required]                                                    │
    ╰───────────────────────────────────────────────────────────────────────╯
    ╭─ Parameters ──────────────────────────────────────────────────────────╮
    │ *  BAR --bar  [required]                                              │
    ╰───────────────────────────────────────────────────────────────────────╯
    
    See Group.sort_key for more details. By @​BrianPugh in BrianPugh/cyclopts#476

Bug Fixes

  • config.Env: recombine remaining_keys into a single key if the found argument doesn't have any sub-arguments. by @​BrianPugh in BrianPugh/cyclopts#472
  • Always call all group-validators; provide all arguments within the group. by @​BrianPugh in BrianPugh/cyclopts#473
    • Previously, only validators of groups that were provided arguments were executed. Also, only arguments that had parsed tokens were supplied. This was as bug and went against documented behavior.

Full Changelog: BrianPugh/cyclopts@v3.19.0...v3.20.0

Commits
  • 04e6a8e Update LimitedChoice group validator to support newly created all_or_none
  • d09454b Add convenience mutually_exclusive object
  • 908ac2d Fix multiple anonymous groups resolving to the same group.
  • 51d58d3 Add User-Specified Config File example.
  • 9deef29 Give Commands/Arguments/Parameters higher priority (in that order) on the hel...
  • 5fbbb78 Merge pull request #473 from BrianPugh/group-validator-calling
  • bd030b9 get rid of unreachable code.
  • b562ad0 config.Env: recombine remaining_keys into a single key if the found argument ...
  • 33dd8d0 Bump pytest from 8.4.0 to 8.4.1
  • a4aeb80 update group-validators documentation.
  • 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 [cyclopts](https://github.com/BrianPugh/cyclopts) from 3.19.0 to 3.21.0.
- [Release notes](https://github.com/BrianPugh/cyclopts/releases)
- [Commits](BrianPugh/cyclopts@v3.19.0...v3.21.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jun 30, 2025
@BrianPugh BrianPugh merged commit d239b87 into main Jul 1, 2025
15 checks passed
@BrianPugh BrianPugh deleted the dependabot/pip/cyclopts-3.21.0 branch July 1, 2025 12:05
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 python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants