Skip to content

Comments

Bump cyclopts from 3.9.2 to 3.10.0#208

Merged
BrianPugh merged 1 commit intomainfrom
dependabot/pip/cyclopts-3.10.0
Mar 17, 2025
Merged

Bump cyclopts from 3.9.2 to 3.10.0#208
BrianPugh merged 1 commit intomainfrom
dependabot/pip/cyclopts-3.10.0

Conversation

@dependabot
Copy link
Contributor

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

Bumps cyclopts from 3.9.2 to 3.10.0.

Release notes

Sourced from cyclopts's releases.

v3.10.0

Features

  • By default, registering a subapp will set it's help and version "show" attribute to False, making --help and --version not show up in the subapp's help page. This is done because the previous behavior (showing these flags) mostly cluttered the help-page and wasn't particularly useful. By @​BrianPugh in BrianPugh/cyclopts#363
  • Always apply Parameter.validator to command-signature default-values. Consider the following code:
    import cyclopts
    from pathlib import Path
    

    def command(file: cyclopts.types.ExistingFile = Path("foo.bin")):
    pass

    cyclopts.run(command)


    Previously, if no file was specified, file would be Path("foo.bin"), but the validator that checks if the file exists would have not ran. This is unintuitive/unexpected to the developer. Now Cyclopts always runs validators, even on default values.

  • Render default/choices/required styling (colors!) in the help page. by @​BrianPugh in BrianPugh/cyclopts#365
  • More types: uint64/int64/Email/URL/Port by @​BrianPugh in BrianPugh/cyclopts#366

Bug Fixes

Full Changelog: BrianPugh/cyclopts@v3.9.3...v3.10.0

v3.9.3

Bug Fixes

  • Fix from __future__ import annotations type-resolution. By @​BrianPugh in BrianPugh/cyclopts#355
    • This does not solve issues when the annotated class is defined in a closure, but this should be pretty uncommon for Cyclopts use-cases.

Docs

Full Changelog: BrianPugh/cyclopts@v3.9.2...v3.9.3

Commits
  • f3ca09c Merge pull request #366 from BrianPugh/more-types
  • 71b2782 Add Port type; fix some docs.
  • f22f44a Add URL type.
  • 2d00965 add Email type.
  • 776698f Add uint64/int64 types.
  • e14d999 fix up default/choices/required coloring in the help page.
  • 3069c7d Merge pull request #364 from BrianPugh/always-validate
  • 628707e By default, registering a subapp will set it's help and version "show" attrib...
  • bcbec55 fix python3.9 compat
  • 4ec628c Always apply validator to default signature values.
  • 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.9.2 to 3.10.0.
- [Release notes](https://github.com/BrianPugh/cyclopts/releases)
- [Commits](BrianPugh/cyclopts@v3.9.2...v3.10.0)

---
updated-dependencies:
- dependency-name: cyclopts
  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 Pull requests that update python code labels Mar 17, 2025
@BrianPugh BrianPugh merged commit 2842f4e into main Mar 17, 2025
15 checks passed
@BrianPugh BrianPugh deleted the dependabot/pip/cyclopts-3.10.0 branch March 17, 2025 18:59
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.

1 participant