Skip to content

Comments

Bump cyclopts from 3.4.1 to 3.7.0#200

Merged
BrianPugh merged 1 commit intomainfrom
dependabot/pip/cyclopts-3.7.0
Feb 10, 2025
Merged

Bump cyclopts from 3.4.1 to 3.7.0#200
BrianPugh merged 1 commit intomainfrom
dependabot/pip/cyclopts-3.7.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 10, 2025

Bumps cyclopts from 3.4.1 to 3.7.0.

Release notes

Sourced from cyclopts's releases.

v3.7.0

This release primarily extends the features of v3.6.0

Features

  • Json data can now be passed both positionally, and via keyword to lists. I.e.
    $ myscript '[1,2,3]'
    This feature is enabled by default, EXCEPT for the case where each element is a string (e.g. list[str]). To enable it for these cases, see next bullet point.
  • 2 new Parameter configurations:
    • Parameter.json_dict: Optional[bool] - Whether or not to allow json-like data for dicts. None be default, which is the same as True except when the annotated class is union'd with a str.
    • Parameter.json_list: Optional[bool] - Whether or not to allow json-like data for lists. None be default, which is the same as True except when each element of the annotated class is str.

Full Changelog: BrianPugh/cyclopts@v3.6.0...v3.7.0

v3.6.0

New Features

  • Allow parsing of json data if object is dict-like. Works for both environment variables, as well as cli variables. For example, the following are equivalent:
    $ movie-maintainer add --movie.title 'Furiosa: A Mad Max Saga' --movie.year 2024
    $ movie-maintainer add --movie='{"title": "Mad Max: Fury Road", "year": 2024}'
    $ MOVIE='{"title": "Mad Max: Fury Road", "year": 2024}' movie-maintainer add
    By @​BrianPugh in BrianPugh/cyclopts#285

Full Changelog: BrianPugh/cyclopts@v3.5.1...v3.6.0

v3.5.1

Bug Fixes

Full Changelog: BrianPugh/cyclopts@v3.5.0...v3.5.1

v3.5.0

Features

Bug Fixes

Full Changelog: BrianPugh/cyclopts@v3.4.1...v3.5.0

Commits
  • 4beb370 Merge pull request #325 from BrianPugh/json-dict-list
  • 0745e04 Fix _should_attempt_json_list incorrect reference to dict
  • 18ca866 Add place-holder test for json-string for list[UserClass]
  • d697b24 remove duplicate test_ prefix
  • a6375f3 reorganize json-list and json-dict tests.
  • b037faf Fix API Parameter.json_list docs.
  • 1f5abee logic for parsing json-list.
  • 63e4421 centralize logic on whether or not json dict/list should be attempted to be p...
  • 3aa1db6 Implement cli-token-parsing logic for Paramater.json_dict and Parameter.json_...
  • 2bfc395 Add Parameter.json_dict and Parameter.json_list. Logic not implemented yet.
  • 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.4.1 to 3.7.0.
- [Release notes](https://github.com/BrianPugh/cyclopts/releases)
- [Commits](BrianPugh/cyclopts@v3.4.1...v3.7.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 the dependencies Pull requests that update a dependency file label Feb 10, 2025
@BrianPugh BrianPugh merged commit f73aaec into main Feb 10, 2025
15 checks passed
@BrianPugh BrianPugh deleted the dependabot/pip/cyclopts-3.7.0 branch February 10, 2025 21:29
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant