Skip to content

Bump cyclopts from 4.6.0 to 4.9.0#27

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/uv/cyclopts-4.9.0
Open

Bump cyclopts from 4.6.0 to 4.9.0#27
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/uv/cyclopts-4.9.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 13, 2026

Bumps cyclopts from 4.6.0 to 4.9.0.

Release notes

Sourced from cyclopts's releases.

v4.9.0

Features

  • New field Parameter.consume_multiple now accepts int or tuple[int, int] for min/max element bounds.

    • An int sets a minimum (e.g. consume_multiple=2 requires at least 2 values).
    • A tuple sets both bounds (e.g. consume_multiple=(1, 3) requires 1–3 values).
    • Violations raise ConsumeMultipleError.
    # Require 1–3 space-separated values: --files a.txt b.txt c.txt
    files: Annotated[list[str], Parameter(consume_multiple=(1, 3))]

    By @​BrianPugh in BrianPugh/cyclopts#764

  • Parameter.allow_repeating controls whether an option can be specified multiple times.

    • False raises RepeatArgumentError on repeat (useful with consume_multiple).
    • True allows repeats for any type; scalars use last-wins semantics.
    • None (default) preserves existing behavior: lists accumulate, scalars error.
    # Allow --files a b c, but not --files a --files b
    files: Annotated[list[str], Parameter(consume_multiple=True, allow_repeating=False)]
    # Last value wins: --color red --color blue → "blue"
    color: Annotated[str, Parameter(allow_repeating=True)]

    By @​BrianPugh in BrianPugh/cyclopts#768

  • New field App.help_prologue displays text before the "Usage" line in help output. Inherited by subcommands; override per-command or set to "" to disable.

    app = App(help_prologue="myapp v1.0.0 — https://example.com")

    By @​tahv in BrianPugh/cyclopts#769

Bug Fixes

  • Positional-only list parameters no longer consume tokens that appear after interleaved keyword arguments. a b --bar 8 d now correctly errors instead of silently assigning d to the positional list. By @​BrianPugh in BrianPugh/cyclopts#766

Other

New Contributors

Full Changelog: BrianPugh/cyclopts@v4.8.0...v4.9.0

v4.8.0

Features

... (truncated)

Commits
  • ead1504 Merge pull request #769 from tahv/help-prologue
  • 4fe6c24 Add Parameter.allow_repeating
  • 0702473 Fix documentation preview
  • e7fad7b Add App.help_prologue
  • d61d83e Merge pull request #766 from BrianPugh/positional-only-argument-order-error
  • 79ea46c Merge pull request #767 from BrianPugh/contributing
  • ed0e209 fix myst warning
  • 75c09bc contributing guide initial commit
  • ea467ea bugfix: Don't allow keyword/positional interleaving with positional-only argu...
  • fe5f013 Add unit tests for #763
  • 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 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 4.6.0 to 4.9.0.
- [Release notes](https://github.com/BrianPugh/cyclopts/releases)
- [Commits](BrianPugh/cyclopts@v4.6.0...v4.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Mar 13, 2026
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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants