Skip to content

Bump jsonargparse from 4.42.0 to 4.47.0#35

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/jsonargparse-4.47.0
Open

Bump jsonargparse from 4.42.0 to 4.47.0#35
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/jsonargparse-4.47.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2026

Bumps jsonargparse from 4.42.0 to 4.47.0.

Changelog

Sourced from jsonargparse's changelog.

v4.47.0 (2026-03-13)

Added ^^^^^

  • Improved shtab bash typehint completions for Union and Literal: choices for unions that also accept open values now require a prefix to be completed, and literal booleans/None now complete as false/true and null ([#851](https://github.com/omni-us/jsonargparse/issues/851) <https://github.com/omni-us/jsonargparse/pull/851>__).
  • auto_cli now supports a return_instance parameter to instantiate class components directly instead of exposing methods as subcommands ([#855](https://github.com/omni-us/jsonargparse/issues/855) <https://github.com/omni-us/jsonargparse/pull/855>__).
  • New ArgumentParser.get_completion_script(completion_type) public method to generate completion scripts programmatically, and new set_parsing_settings(add_print_completion_argument=...) setting and JSONARGPARSE_ADD_PRINT_COMPLETION_ARGUMENT environment variable to opt-in automatic addition of --print_completion when shtab is installed ([#859](https://github.com/omni-us/jsonargparse/issues/859) <https://github.com/omni-us/jsonargparse/pull/859>__).

Fixed ^^^^^

  • Positional arguments with nargs="*" or nargs="?" now correctly allow default values, matching standard argparse behavior ([#846](https://github.com/omni-us/jsonargparse/issues/846) <https://github.com/omni-us/jsonargparse/pull/846>__).
  • Parsing of floats with implicit leading zero (e.g. -.5) not working ([#847](https://github.com/omni-us/jsonargparse/issues/847) <https://github.com/omni-us/jsonargparse/pull/847>__).
  • Subcommand names now correctly take precedence over top-level option strings with the same name, fixing a failure during typed sub-default processing ([#853](https://github.com/omni-us/jsonargparse/issues/853) <https://github.com/omni-us/jsonargparse/pull/853>__).
  • --help no longer fails with IndexError for options without explicit help text while keeping argparse compatibility for help=None ([#854](https://github.com/omni-us/jsonargparse/issues/854) <https://github.com/omni-us/jsonargparse/pull/854>__).
  • store_true and store_false arguments now parse boolean environment variable values as true/false and raise a clear error for invalid values ([#858](https://github.com/omni-us/jsonargparse/issues/858) <https://github.com/omni-us/jsonargparse/pull/858>__).
  • Environment variable overrides now correctly take precedence over default_config_files values for subcommands and nested subsubcommands ([#862](https://github.com/omni-us/jsonargparse/issues/862) <https://github.com/omni-us/jsonargparse/pull/862>__).
  • omegaconf+ incorrectly applied for default_config_files ([#865](https://github.com/omni-us/jsonargparse/issues/865) <https://github.com/omni-us/jsonargparse/pull/865>__).
  • ActionSubCommands.add_subcommand() missing from API reference ([#863](https://github.com/omni-us/jsonargparse/issues/863) <https://github.com/omni-us/jsonargparse/pull/863>__).

Changed ^^^^^^^

  • Tests are no longer installed by default, there is a separate jsonargparse_tests wheel file for that ([#843](https://github.com/omni-us/jsonargparse/issues/843) <https://github.com/omni-us/jsonargparse/pull/843>__).
  • Adding argument giving both type and action is now allowed ([#845](https://github.com/omni-us/jsonargparse/issues/845) <https://github.com/omni-us/jsonargparse/pull/845>__).

... (truncated)

Commits
  • 6e79c5f Bump version: 4.46.0 → 4.47.0
  • 1a7c64e Stricter parsing of JSONARGPARSE_DEBUG and JSONARGPARSE_ADD_PRINT_COMPLETION_...
  • bd76477 Fix ActionSubCommands.add_subcommand missing from API reference (#863)
  • 56a61c7 New get_completion_script method and opt-in --print_completion argument (#859)
  • 7a098eb Allow importing ActionSubCommands from jsonargparse package (#866)
  • 96917aa New auto_cli parameter to return instance instead of exposing methods as subc...
  • 8fcfd72 Fix omegaconf+ incorrectly applied for defaut_config_files (#865)
  • d37fddd Fix environment variable precedent over default_config_files for subcommands ...
  • 40b8930 Fix environment variable parsing for store_true/store_false actions (#858)
  • 948d666 Change type hint to accept argparse HelpFormatter classes (#856)
  • 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 [jsonargparse](https://github.com/omni-us/jsonargparse) from 4.42.0 to 4.47.0.
- [Changelog](https://github.com/omni-us/jsonargparse/blob/main/CHANGELOG.rst)
- [Commits](omni-us/jsonargparse@v4.42.0...v4.47.0)

---
updated-dependencies:
- dependency-name: jsonargparse
  dependency-version: 4.47.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 Pull requests that update python code labels Apr 1, 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 Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants