Regression in devel/py(27)-configargparse 0.12
Kubilay Kocak
koobs at FreeBSD.org
Mon May 15 14:54:06 UTC 2017
On 5/14/17 11:26 PM, jim at ohlste.in wrote:
> Hello,
>
> This is a runtime dependency for py-certbot. Trying to check
> certificates I get the following error:
>
> # certbot renew --dryrun
> An unexpected error occurred:
> AttributeError: 'tuple' object has no attribute 'add'
> Please see the logfile 'certbot.log' for more details.
>
> # cat certbot.log
> Traceback (most recent call last):
> File "/usr/local/bin/certbot", line 11, in <module>
> load_entry_point('certbot==0.13.0', 'console_scripts', 'certbot')()
> File "/usr/local/lib/python2.7/site-packages/certbot/main.py", line
> 738, in main
> args = cli.prepare_and_parse_args(plugins, cli_args)
> File "/usr/local/lib/python2.7/site-packages/certbot/cli.py", line
> 1072, in prepare_and_parse_args
> helpful.add_deprecated_argument("--agree-dev-preview", 0)
> File "/usr/local/lib/python2.7/site-packages/certbot/cli.py", line
> 726, in add_deprecated_argument
> self.parser.add_argument, argument_name, num_args)
> File "/usr/local/lib/python2.7/site-packages/certbot/util.py", line
> 440, in add_deprecated_argument
> configargparse.ACTION_TYPES_THAT_DONT_NEED_A_VALUE.add(ShowWarning)
> AttributeError: 'tuple' object has no attribute 'add'
>
>
> Reverting to 0.11 fixes the issue.
>
Tracking in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219306
More information about the freebsd-ports
mailing list