Path to this page:
Subject: CVS commit: pkgsrc/devel/py-click
From: Adam Ciarcinski
Date: 2024-12-25 11:09:09
Message id: 20241225100909.3226FFC1D@cvs.NetBSD.org
Log Message:
py-click: updated to 8.1.8
Version 8.1.8
- Fix an issue with type hints for ``click.open_file()``.
- Fix issue where error message for invalid ``click.Path`` displays on
multiple lines.
- Fixed issue that prevented a default value of ``""`` from being \
displayed in
the help for an option.
- The test runner handles stripping color consistently on Windows.
- Show correct value for flag default when using ``default_map``.
- Fix ``click.echo(color=...)`` passing ``color`` to coloroma so it can be
forced on Windows.
- More robust bash version check, fixing problem on Windows with git-bash.
- Cache the help option generated by the ``help_option_names`` setting to
respect its eagerness.
- Replace uses of ``os.system`` with ``subprocess.Popen``.
- Exceptions generated during a command will use the context's ``color``
setting when being displayed.
- Error message when defining option with invalid name is more descriptive.
- Refactor code generating default ``--help`` option to deduplicate code.
- Test ``CLIRunner`` resets patched ``_compat.should_strip_ansi``.
Files: