Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

build(deps): update jsonargparse[signatures] requirement from <4.23.0,>=4.22.0 to >=4.22.0,<4.23.0 in /requirements #1693

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 25, 2023

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

Changelog

Sourced from jsonargparse[signatures]'s changelog.

v4.25.0 (2023-09-25)

Added ^^^^^

  • Support for user-defined generic types ([#366](https://github.com/omni-us/jsonargparse/issues/366) <https://github.com/omni-us/jsonargparse/issues/366>__).
  • New function extend_base_type for easy creation and registering of custom types that extend a base type ([#195](https://github.com/omni-us/jsonargparse/issues/195) <https://github.com/omni-us/jsonargparse/issue/195>__).
  • Support for Annotated types either ignoring the metadata or using it for validation in case of pydantic types <https://docs.pydantic.dev/latest/api/types/>__ ([#384](https://github.com/omni-us/jsonargparse/issues/384) <https://github.com/omni-us/jsonargparse/issue/384>__).
  • Support for Python 3.12.

Fixed ^^^^^

  • --print_config fails when parser has shallow links.
  • Argument links unnecessarily applied when --print_config used and parser has subcommands ([#311](https://github.com/omni-us/jsonargparse/issues/311) <https://github.com/omni-us/jsonargparse/issue/311>__).
  • Parsing fails when data type is a Callable with multiple input arguments ([#372](https://github.com/omni-us/jsonargparse/issues/372) <https://github.com/omni-us/jsonargparse/issues/372>__).
  • Postponed annotations not working for dataclasses.
  • Unsupported pop/get default incorrectly sets default as None (lightning#18616 <https://github.com/Lightning-AI/lightning/issues/18616>__).
  • Pydantic models and dataclasses not working for pydantic>=2.0.0 ([#361](https://github.com/omni-us/jsonargparse/issues/361) <https://github.com/omni-us/jsonargparse/issue/361>__).

Changed ^^^^^^^

  • Provide a more informative error message to remind user to select and provide a subcommand when a subcommand is required but not given ([#371](https://github.com/omni-us/jsonargparse/issues/371) <https://github.com/omni-us/jsonargparse/pull/371>__).
  • Now when an argument link compute_fn fails, the error message will say this ([#311](https://github.com/omni-us/jsonargparse/issues/311) <https://github.com/omni-us/jsonargparse/issue/311>__).
  • add_subclass_arguments now shows a better error message when an empty tuple is given (lightning#18546 <https://github.com/Lightning-AI/lightning/issues/18546>__).
  • Document the requirements for creating and using custom types ([#195](https://github.com/omni-us/jsonargparse/issues/195) <https://github.com/omni-us/jsonargparse/issue/195>__).
  • Parameters with default and without type, now get as type Union[type(default), Any].
  • Removed support for python 3.6.

v4.24.1 (2023-09-06)

... (truncated)

Commits
  • dfc8507 Bump version: 4.24.1 → 4.25.0
  • 7b207e7 - Fix unsupported pop/get default incorrectly sets default as None (lightning...
  • 3ae77ff - Support Annotated types either ignoring the metadata or using it for valida...
  • cfec5a2 fix parse_args for Callable with multiple input arguments (#383)
  • 1400adb - New function extend_base_type for easy creation and registering of custom t...
  • 133c158 Add support for python 3.12.
  • 715e6ed Added support for user-defined generic types (#366).
  • 5da0381 Fix postponed annotations not working for dataclasses.
  • 1d1b917 Added typos to pre-commit config.
  • 4436e49 add_subclass_arguments now shows a better error message when an empty tuple i...
  • 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 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)

@codecov
Copy link

codecov bot commented Sep 25, 2023

Codecov Report

Merging #1693 (464ed3c) into master (9574c95) will decrease coverage by 13%.
Report is 7 commits behind head on master.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #1693     +/-   ##
========================================
- Coverage      85%     73%    -13%     
========================================
  Files         291     291             
  Lines       12859   12859             
========================================
- Hits        10992    9357   -1635     
- Misses       1867    3502   +1635     

@Borda
Copy link
Member

Borda commented Sep 27, 2023

@dependabot rebase

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/main/CHANGELOG.rst)
- [Commits](omni-us/jsonargparse@v4.22.0...v4.25.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot-pip-requirements-jsonargparse-signatures--gte-4.22.0-and-lt-4.26.0 branch from 9ad9782 to 25bc0d3 Compare September 27, 2023 08:58
requirements/base.txt Outdated Show resolved Hide resolved
@Borda Borda changed the title build(deps): update jsonargparse[signatures] requirement from <4.23.0,>=4.22.0 to >=4.22.0,<4.26.0 in /requirements build(deps): update jsonargparse[signatures] requirement from <4.23.0,>=4.22.0 to >=4.22.0,<4.25.0 in /requirements Oct 8, 2023
requirements/base.txt Outdated Show resolved Hide resolved
@Borda Borda changed the title build(deps): update jsonargparse[signatures] requirement from <4.23.0,>=4.22.0 to >=4.22.0,<4.25.0 in /requirements build(deps): update jsonargparse[signatures] requirement from <4.23.0,>=4.22.0 to >=4.22.0,<4.24.0 in /requirements Oct 8, 2023
requirements/base.txt Outdated Show resolved Hide resolved
@Borda Borda changed the title build(deps): update jsonargparse[signatures] requirement from <4.23.0,>=4.22.0 to >=4.22.0,<4.24.0 in /requirements build(deps): update jsonargparse[signatures] requirement from <4.23.0,>=4.22.0 to >=4.22.0,<4.23.0 in /requirements Oct 8, 2023
@Borda Borda merged commit 9eecb1d into master Oct 8, 2023
31 of 39 checks passed
@Borda Borda deleted the dependabot-pip-requirements-jsonargparse-signatures--gte-4.22.0-and-lt-4.26.0 branch October 8, 2023 14:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant