Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: omni-us/jsonargparse
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.11.1
Choose a base ref
...
head repository: omni-us/jsonargparse
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.11.2
Choose a head ref
  • 2 commits
  • 7 files changed
  • 1 contributor

Commits on May 3, 2021

  1. Copy the full SHA
    836ea8d View commit details
  2. Copy the full SHA
    8d6b9db View commit details
Showing with 15 additions and 7 deletions.
  1. +1 −1 .bumpversion.cfg
  2. +1 −1 .sonarcloud.properties
  3. +8 −0 CHANGELOG.rst
  4. +1 −1 jsonargparse/__init__.py
  5. +1 −1 jsonargparse/actions.py
  6. +2 −2 jsonargparse_tests/signatures_tests.py
  7. +1 −1 setup.cfg
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 3.11.1
current_version = 3.11.2
commit = True
tag = True
tag_name = v{new_version}
2 changes: 1 addition & 1 deletion .sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sonar.sources=jsonargparse
sonar.projectVersion=3.11.1
sonar.projectVersion=3.11.2
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -10,6 +10,14 @@ only be introduced in major versions with advance notice in the **Deprecated**
section of releases.


v3.11.2 (2021-05-03)
--------------------

Fixed
^^^^^
- Link argument arrow `<=` can be confused as less or equal, changed to `<--`.


v3.11.1 (2021-04-30)
--------------------

2 changes: 1 addition & 1 deletion jsonargparse/__init__.py
Original file line number Diff line number Diff line change
@@ -22,4 +22,4 @@
from .util import *


__version__ = '3.11.1'
__version__ = '3.11.2'
2 changes: 1 addition & 1 deletion jsonargparse/actions.py
Original file line number Diff line number Diff line change
@@ -316,7 +316,7 @@ def __init__(
parser._links_group._group_actions.append(self)

# Initialize link action
link_str = target+' <= '
link_str = target+' <-- '
if compute_fn is None:
link_str += source[0]
else:
4 changes: 2 additions & 2 deletions jsonargparse_tests/signatures_tests.py
Original file line number Diff line number Diff line change
@@ -546,8 +546,8 @@ def add(*args):
help_str = StringIO()
parser.print_help(help_str)
self.assertIn('Linked arguments', help_str.getvalue())
self.assertIn('b.v1 <= a.v2', help_str.getvalue())
self.assertIn('b.v2 <= add(a.v1, a.v2)', help_str.getvalue())
self.assertIn('b.v1 <-- a.v2', help_str.getvalue())
self.assertIn('b.v2 <-- add(a.v1, a.v2)', help_str.getvalue())
if docstring_parser_support:
self.assertIn('b v1 help', help_str.getvalue())

2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ doc =

[metadata]
name = jsonargparse
version = 3.11.1
version = 3.11.2
description = Parsing of command line options, yaml/jsonnet config files and/or environment variables based on argparse.
long_description_content_type = text/x-rst
author = Mauricio Villegas