Update dependency jsonargparse to v4.41.0 #368
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
==4.36.0
->==4.41.0
Release Notes
omni-us/jsonargparse (jsonargparse)
v4.41.0
Compare Source
Added
^^^^^
#​753 <https://github.com/omni-us/jsonargparse/pull/753>
__).#​758 <https://github.com/omni-us/jsonargparse/pull/758>
__).ActionFail
for arguments that should fail parsing with a given errormessage (
#​759 <https://github.com/omni-us/jsonargparse/pull/759>
__).omegaconf+
parser mode that supports variable interpolationand resolving across configs and command line arguments. Depending on
community feedback, in v5.0.0 this new mode could replace the current
omegaconf
mode, introducing a breaking change (#​765 <https://github.com/omni-us/jsonargparse/pull/765>
__).Fixed
^^^^^
KEYWORD_ONLY
parameters now correctly use--flag
style (#​756 <https://github.com/omni-us/jsonargparse/pull/756>
__).#​760 <https://github.com/omni-us/jsonargparse/pull/760>
__).default_env
is true (#​763 <https://github.com/omni-us/jsonargparse/pull/763>
__).parse_object
not parsing correctly configs (#​765 <https://github.com/omni-us/jsonargparse/pull/765>
__).Changed
^^^^^^^
#​752 <https://github.com/omni-us/jsonargparse/pull/752>
__).YAML
comments feature is now implemented in a separate class to allowbetter support for custom help formatters without breaking the comments (
#​754 <https://github.com/omni-us/jsonargparse/pull/754>
__).ruyaml
withruamel.yaml
(
#​768 <https://github.com/omni-us/jsonargparse/pull/768>
__).Deprecated
^^^^^^^^^^
DefaultHelpFormatter.*_yaml*_comment*
methods are deprecated and will beremoved in v5.0.0. This logic has been moved to a new private class
YAMLCommentFormatter
. If deemed necessary, this class might be made publicin the future (
#​754 <https://github.com/omni-us/jsonargparse/pull/754>
__).ruyaml
optional dependency is deprecated and will be removed inv5.0.0. Instead use the
ruamel
optional dependency (#​768 <https://github.com/omni-us/jsonargparse/pull/768>
__).v4.40.2
Compare Source
Fixed
^^^^^
#​743 <https://github.com/omni-us/jsonargparse/pull/743>
__).#​746 <https://github.com/omni-us/jsonargparse/pull/746>
__).#​749 <https://github.com/omni-us/jsonargparse/pull/749>
__).without-future-annotations
test not included in local coverage (#​751 <https://github.com/omni-us/jsonargparse/pull/751>
__).v4.40.1
Compare Source
Fixed
^^^^^
print_shtab
incorrectly parsed from environment variable (#​726 <https://github.com/omni-us/jsonargparse/pull/726>
__).adapt_class_type
used a locally definedpartial_instance
wrapperfunction that is not pickleable (
#​728 <https://github.com/omni-us/jsonargparse/pull/728>
__).#​736 <https://github.com/omni-us/jsonargparse/pull/736>
__).typeshed-client
(#​740 <https://github.com/omni-us/jsonargparse/pull/740>
__).docstring-parser
to avoid deprecation warnings(
#​741 <https://github.com/omni-us/jsonargparse/pull/741>
__).v4.40.0
Compare Source
Added
^^^^^
auto_parser
function for convenience and more visibility of thecapture_parser
feature (#​721 <https://github.com/omni-us/jsonargparse/pull/721>
__).Fixed
^^^^^
set_parsing_settings(validate_defaults=True)
fails when the parser has aconfig action (
#​718 <https://github.com/omni-us/jsonargparse/pull/718>
__).skip_link_targets=True
andtarget being an entire required dataclass (
#​717 <https://github.com/omni-us/jsonargparse/pull/717>
__).TypedDict
values not validated when types are forward references (#​722 <https://github.com/omni-us/jsonargparse/pull/722>
__).inspect.signature
availableleading to missing parameter defaults (
#​724 <https://github.com/omni-us/jsonargparse/pull/724>
__).Changed
^^^^^^^
(
#​682 <https://github.com/omni-us/jsonargparse/pull/682>
__).Deprecated
^^^^^^^^^^
LoggerProperty
is deprecated and will be removed in v5.0.0. There is noreplacement since jsonargparse is not a logging library. A similar class can
be found in
reconplogger
(#​719 <https://github.com/omni-us/jsonargparse/pull/719>
__).namespace_to_dict
is deprecated and will be removed in v5.0.0. Instead use.clone().as_dict()
or.as_dict()
(#​720 <https://github.com/omni-us/jsonargparse/pull/720>
__).v4.39.0
Compare Source
Added
^^^^^
shtab
hint for positionals in bash now includes the argument name (#​699 <https://github.com/omni-us/jsonargparse/pull/699>
__).shtab
support for optionals parsed as positionals (#​700 <https://github.com/omni-us/jsonargparse/pull/700>
__).auto_cli
now supports class@property
(#​701 <https://github.com/omni-us/jsonargparse/pull/701>
__).inspect.signature
fails(
#​698 <https://github.com/omni-us/jsonargparse/pull/698>
__).#​711 <https://github.com/omni-us/jsonargparse/pull/711>
__).instantiation links (
#​716 <https://github.com/omni-us/jsonargparse/pull/716>
__).Changed
^^^^^^^
None
default no longer skipped whenfail_untyped=True
(#​697 <https://github.com/omni-us/jsonargparse/pull/697>
__).config_read_mode
anddocstring_parse
options can now be set usingset_parsing_settings
(#​712 <https://github.com/omni-us/jsonargparse/pull/712>
__).Fixed
^^^^^
ActionParser
not updatingdest
of groups for instantiation (#​707 <https://github.com/omni-us/jsonargparse/pull/707>
__).#​709 <https://github.com/omni-us/jsonargparse/pull/709>
__).#​710 <https://github.com/omni-us/jsonargparse/pull/710>
__).Deprecated
^^^^^^^^^^
get_config_read_mode
,set_config_read_mode
andset_docstring_parse_options
are deprecated and will be removed in v5.0.0.Instead of
set_config_read_mode
andset_docstring_parse_options
useset_parsing_settings
. There will be no replacement forget_config_read_mode
since this is considered internal (#​712 <https://github.com/omni-us/jsonargparse/pull/712>
__).v4.38.0
Compare Source
Added
^^^^^
shtab
completion ofLiteral
types (#​693 <https://github.com/omni-us/jsonargparse/pull/693>
__).#​692 <https://github.com/omni-us/jsonargparse/pull/692>
__).Changed
^^^^^^^
validate
now checks values before required so that errors related to wronglevel in a config are easier to understand (
#​681 <https://github.com/omni-us/jsonargparse/pull/681>
__).add_argument
of a positional and providingdefault
now raises an error(
#​694 <https://github.com/omni-us/jsonargparse/pull/694>
__).Fixed
^^^^^
add_class_arguments
with dashes in thenested_key
fail to instantiate(
#​679 <https://github.com/omni-us/jsonargparse/pull/679>
__).#​686 <https://github.com/omni-us/jsonargparse/pull/686>
__).--print_shtab
.add_argument
raises error when type is assigned withaction=None
(
#​687 <https://github.com/omni-us/jsonargparse/pull/687>
__).shtab
failing when parser has positional arguments (#​693 <https://github.com/omni-us/jsonargparse/pull/693>
__).v4.37.0
Compare Source
Added
^^^^^
ArgumentParser
to customizeadd_argument
(#​661 <https://github.com/omni-us/jsonargparse/pull/661>
__).Fixed
^^^^^
#​662 <https://github.com/omni-us/jsonargparse/pull/662>
__).#​667 <https://github.com/omni-us/jsonargparse/pull/667>
__).#​668 <https://github.com/omni-us/jsonargparse/pull/668>
__).TypeAlias
return type to avoid mypyerrors (
#​671 <https://github.com/omni-us/jsonargparse/pull/671>
__).#​673 <https://github.com/omni-us/jsonargparse/pull/673>
,#​674 <https://github.com/omni-us/jsonargparse/pull/674>
).CLI
and inferring components from the localcontext (
#​676 <https://github.com/omni-us/jsonargparse/pull/676>
__).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.