Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 15, 2023

Updates the requirements on jsonargparse[signatures] to permit the latest version.

Changelog

Sourced from jsonargparse[signatures]'s changelog.

v4.21.1 (2023-05-09)

Fixed ^^^^^

  • AST resolver not working for dict used in a method when the dict is created using the curly braces syntax.
  • Failure on multiple deep arguments linked on instantiation ([#275](https://github.com/omni-us/jsonargparse/issues/275) <https://github.com/omni-us/jsonargparse/issues/275>__).

v4.21.0 (2023-04-21)

Added ^^^^^

  • Support for dataclasses nested in a type ([#243](https://github.com/omni-us/jsonargparse/issues/243) <https://github.com/omni-us/jsonargparse/issues/243>__).
  • Support for pydantic models <https://docs.pydantic.dev/usage/models/>__ and attrs define <https://www.attrs.org/en/stable/examples.html>__ similar to dataclasses.
  • Support for pydantic types <https://docs.pydantic.dev/usage/types/#pydantic-types>__.
  • Backport type stubs in python<=3.9 to support PEP 585 <https://peps.python.org/pep-0585/>__ and 604 <https://peps.python.org/pep-0604/>__ syntax.

Fixed ^^^^^

  • str parameter in subclass incorrectly parsed as dict with implicit null value ([#262](https://github.com/omni-us/jsonargparse/issues/262) <https://github.com/omni-us/jsonargparse/issues/262>__).
  • Wrong error indentation for subclass in union (lightning#17254 <https://github.com/Lightning-AI/lightning/issues/17254>__).
  • dataclass from pydantic not working ([#100](https://github.com/omni-us/jsonargparse/issues/100) comment <https://github.com/omni-us/jsonargparse/issues/100#issuecomment-1408413796>__).
  • add_dataclass_arguments not forwarding sub_configs parameter.
  • Failure to instantiate nested class group without arguments (lightning#17263 <https://github.com/Lightning-AI/lightning/issues/17263>__).

Changed ^^^^^^^

  • Switched from setup.cfg to pyproject.toml for configuration.
  • Removed build_sphinx from setup.py and documented how to build.
  • Include enum members in error when invalid value is given (lightning#17247 <https://github.com/Lightning-AI/lightning/issues/17247>__).
  • The signatures extras now installs the typing-extensions package on python<=3.9.
  • CLI now when given a class without methods, the class instance is returned.

... (truncated)

Commits
  • 0942fb9 Bump version: 4.21.0 → 4.21.1
  • 677a0f9 [pre-commit.ci] auto fixes from pre-commit.com hooks
  • 37e9cbf Refactored util tests using pytest.
  • f3f74d1 adding black formatting (#279)
  • 1c303a6 Fixed failure on multiple deep arguments linked on instantiation (#275).
  • d7e6dde add Ruff as code check (#280)
  • 8d57577 Refactored loaders_dumpers, namespace and optionals tests using pytest.
  • 54bf840 Refactored formatters, jsonschema and jsonnet tests using pytest.
  • 0805435 Refactored actions, argcomplete and cli tests using pytest.
  • 9039750 Removed some unittest specific code.
  • 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 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)

cc @Borda

Updates the requirements on [jsonargparse[signatures]](https://github.com/omni-us/jsonargparse) to permit the latest version.
- [Changelog](https://github.com/omni-us/jsonargparse/blob/master/CHANGELOG.rst)
- [Commits](omni-us/jsonargparse@v4.18.0...v4.21.1)

---
updated-dependencies:
- dependency-name: jsonargparse[signatures]
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the ci Continuous Integration label May 15, 2023
@dependabot dependabot bot requested a review from a team May 15, 2023 01:59
@github-actions github-actions bot added pl Generic label for PyTorch Lightning package and removed ci Continuous Integration labels May 15, 2023
@Borda Borda enabled auto-merge (squash) May 15, 2023 08:28
@Borda Borda merged commit ca83a46 into master May 15, 2023
@Borda Borda deleted the dependabot-pip-requirements-jsonargparse-signatures--gte-4.18.0-and-lt-4.22.0 branch May 15, 2023 14:06
@mergify mergify bot added the ready PRs ready to be merged label May 15, 2023
Borda pushed a commit that referenced this pull request Jun 2, 2023
…>=4.18.0,<4.22.0 in /requirements (#17633)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit ca83a46)
Borda pushed a commit that referenced this pull request Jun 2, 2023
…>=4.18.0,<4.22.0 in /requirements (#17633)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit ca83a46)
lantiga pushed a commit that referenced this pull request Jun 2, 2023
…>=4.18.0,<4.22.0 in /requirements (#17633)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit ca83a46)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pl Generic label for PyTorch Lightning package ready PRs ready to be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants