Accepting request 925757 from devel:languages:python

- update to 8.0.3:
  * Fix issue with ``Path(resolve_path=True)`` type creating invalid
    paths. :issue:`2088`
  * Importing ``readline`` does not cause the ``confirm()`` prompt to
    disappear when pressing backspace. :issue:`2092`
  * Any default values injected by ``invoke()`` are cast to the
    corresponding parameter's type. :issue:`2089, 2090`
  * ``is_bool_flag`` is not set to ``True`` if ``is_flag`` is ``False``.
  * Bash version detection is locale independent. :issue:`1940`
  * Empty ``default`` value is not shown for ``multiple=True``.
  * Fix shell completion for arguments that start with a forward slash
    such as absolute file paths. :issue:`1929`
  * ``Path`` type with ``resolve_path=True`` resolves relative symlinks
    to be relative to the containing directory. :issue:`1921`
  * Completion does not skip Python's resource cleanup when exiting,
    avoiding some unexpected warning output. :issue:`1738, 2017`
  * Fix type annotation for ``type`` argument in ``prompt`` function.
  * Fix overline and italic styles, which were incorrectly added when
    adding underline. :pr:`2058`
  * An option with ``count=True`` will not show "[x>=0]" in help text.
  * Default values are not cast to the parameter type twice during
    processing.
  * Options with ``multiple`` and ``flag_value`` use the flag value
    instead of leaving an internal placeholder.

OBS-URL: https://build.opensuse.org/request/show/925757
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2021-10-20 18:23:32 +00:00 committed by Git OBS Bridge
commit ac078b95d2
4 changed files with 33 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c04c11192119b1ef78ea049e0a6f0463e4c48ef00a30160c704337586f3ad7a
size 327655

3
click-8.0.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:410e932b050f5eed773c4cda94de75971c89cdb3155a72a0831139a79e5ecb5b
size 329034

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Sat Oct 16 21:18:48 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 8.0.3:
* Fix issue with ``Path(resolve_path=True)`` type creating invalid
paths. :issue:`2088`
* Importing ``readline`` does not cause the ``confirm()`` prompt to
disappear when pressing backspace. :issue:`2092`
* Any default values injected by ``invoke()`` are cast to the
corresponding parameter's type. :issue:`2089, 2090`
* ``is_bool_flag`` is not set to ``True`` if ``is_flag`` is ``False``.
* Bash version detection is locale independent. :issue:`1940`
* Empty ``default`` value is not shown for ``multiple=True``.
* Fix shell completion for arguments that start with a forward slash
such as absolute file paths. :issue:`1929`
* ``Path`` type with ``resolve_path=True`` resolves relative symlinks
to be relative to the containing directory. :issue:`1921`
* Completion does not skip Python's resource cleanup when exiting,
avoiding some unexpected warning output. :issue:`1738, 2017`
* Fix type annotation for ``type`` argument in ``prompt`` function.
* Fix overline and italic styles, which were incorrectly added when
adding underline. :pr:`2058`
* An option with ``count=True`` will not show "[x>=0]" in help text.
* Default values are not cast to the parameter type twice during
processing.
* Options with ``multiple`` and ``flag_value`` use the flag value
instead of leaving an internal placeholder.
-------------------------------------------------------------------
Mon Aug 30 10:30:30 UTC 2021 - John Vandenberg <jayvdb@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-click
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-click
Version: 8.0.1
Version: 8.0.3
Release: 0
Summary: A wrapper around optparse for command line utilities
License: BSD-3-Clause