71 Commits

Author SHA256 Message Date
d0a81c0a94 Accepting request 1318239 from devel:languages:python
- Update to 8.3.1
  * Don’t discard pager arguments by correctly using subprocess.Popen.
  * Replace Sentinel.UNSET default values by None as they’re passed
    through the Context.invoke() method.
  * Fix conversion of Sentinel.UNSET happening too early, which caused
    incorrect behavior for multiple parameters using the same name.
  * Hide Sentinel.UNSET values as None when looking up for other
    parameters through the context inside parameter callbacks.
  * Fix rendering when prompt and confirm parameter prompt_suffix is empty.
  * When Sentinel.UNSET is found during parsing, it will skip calls to
    type_cast_value.

OBS-URL: https://build.opensuse.org/request/show/1318239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=27
2025-11-18 14:29:24 +00:00
4c3161c651 - Update to 8.3.1
* Don’t discard pager arguments by correctly using subprocess.Popen.
  * Replace Sentinel.UNSET default values by None as they’re passed
    through the Context.invoke() method.
  * Fix conversion of Sentinel.UNSET happening too early, which caused
    incorrect behavior for multiple parameters using the same name.
  * Hide Sentinel.UNSET values as None when looking up for other
    parameters through the context inside parameter callbacks.
  * Fix rendering when prompt and confirm parameter prompt_suffix is empty.
  * When Sentinel.UNSET is found during parsing, it will skip calls to
    type_cast_value.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=67
2025-11-17 13:42:26 +00:00
128eca6232 Accepting request 1307244 from devel:languages:python
- Update to 8.3.0:
  * Improved flag option handling: Reworked the relationship between
    flag_value and default parameters for better consistency.
  * Show correct auto complete value for nargs option in combination with
    flag option.
  * Fix handling of quoted and escaped parameters in Fish autocompletion.
  * Properly forward exception information to resources registered with
    click.core.Context.with_resource().
  * Fix regression related to EOF handling in CliRunner.
- Drop patch click-8.2.1-clirunner.patch, included upstream.

Revert to 8.2.1, version 8.2.2 was yanked because Unintended change in
behavior of boolean options and None
https://pypi.org/project/click/8.2.2/
(and if I read `osc log` I would know dgarcia did this already)

OBS-URL: https://build.opensuse.org/request/show/1307244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=26
2025-09-26 20:24:20 +00:00
8df0488fc9 - Update to 8.3.0:
* Improved flag option handling: Reworked the relationship between
    flag_value and default parameters for better consistency.
  * Show correct auto complete value for nargs option in combination with
    flag option.
  * Fix handling of quoted and escaped parameters in Fish autocompletion.
  * Properly forward exception information to resources registered with
    click.core.Context.with_resource().
  * Fix regression related to EOF handling in CliRunner.
- Drop patch click-8.2.1-clirunner.patch, included upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=65
2025-09-26 04:28:28 +00:00
4994069796 Revert to 8.2.1, version 8.2.2 was yanked because Unintended change in
behavior of boolean options and None
https://pypi.org/project/click/8.2.2/
(and if I read `osc log` I would know dgarcia did this already)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=64
2025-08-09 07:10:28 +00:00
17b6353beb Accepting request 1298502 from devel:languages:python
revert

OBS-URL: https://build.opensuse.org/request/show/1298502
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=63
2025-08-09 07:08:18 +00:00
33f90a5284 - Update to 8.2.2:
- Fix reconciliation of default, flag_value and type parameters
    for flag options, as well as parsing and normalization of
    environment variables. #2952 #2956
  - Fix typing issue in BadParameter and MissingParameter
    exceptions for the parameter param_hint that did not allow
    for a sequence of string where the underlying functino
    _join_param_hints allows for it. #2777 #2990
  - Use the value of Enum choices to render their default value
    in help screen. #2911 #3004
  - Fix completion for the Z shell (zsh) for completion items
    containing colons. #2703 #2846
  - Don't include envvar in error hint when not configured. #2971
    #2972
  - Fix a rare race in click.testing.StreamMixer's finalization
    that manifested as a ValueError on close in a multi-threaded
    test session. #2993 #2991

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=62
2025-08-08 19:05:29 +00:00
90d07df29f Accepting request 1298127 from devel:languages:python
Revert to 8.2.1, version 8.2.2 was yanked because Unintended change in
behavior of boolean options and None
https://pypi.org/project/click/8.2.2/

OBS-URL: https://build.opensuse.org/request/show/1298127
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=61
2025-08-07 11:42:35 +00:00
4c1da6bdc6 Accepting request 1297475 from home:nkrapp:branches:devel:languages:python
- Update to 8.2.2
  * Fix reconciliation of default, flag_value and type parameters for
    flag options, as well as parsing and normalization of environment variables.
    #2952 #2956
  * Fix typing issue in BadParameter and MissingParameter exceptions for the
    parameter param_hint that did not allow for a sequence of string where the
    underlying functino _join_param_hints allows for it. #2777 #2990
  * Use the value of Enum choices to render their default value in help
    screen. #2911 #3004
  * Fix completion for the Z shell (zsh) for completion items containing
    colons. #2703 #2846
  * Don't include envvar in error hint when not configured. #2971 #2972
  * Fix a rare race in click.testing.StreamMixer's finalization that manifested
    as a ValueError on close in a multi-threaded test session.
    #2993 #2991
- drop upstream changelog entry from patch

OBS-URL: https://build.opensuse.org/request/show/1297475
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=60
2025-08-05 18:43:12 +00:00
9dfb63ce15 Accepting request 1291432 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1291432
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=25
2025-07-10 21:14:49 +00:00
da5df39830 Accepting request 1291320 from home:hsk17:branches:devel:languages:python
add click-8.2.1-clirunner.patch to fix clirunner breaking other modules' tests, cf. github.com/pallets/click/issues/2939.  e.g. python-mercantile fails tests since click-8.2.1.

OBS-URL: https://build.opensuse.org/request/show/1291320
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=58
2025-07-09 08:31:43 +00:00
5fce70d45f Accepting request 1278968 from devel:languages:python
- Update to 8.2.1:
  * Fix flag value handling for flag options with a provided type.
    #2894 #2897
  * Fix shell completion for nested groups. #2906
  * Flush sys.stderr at the end of CliRunner.invoke. #2682
  * Fix EOF handling for stdin input in CliRunner. #2787
- Update URL.

- Update to version 8.2.0:
  * Drop support for Python 3.7, 3.8, and 3.9. #2588 #2893
  * Use modern packaging metadata with pyproject.toml instead of setup.cfg.
    #2438
  * Use flit_core instead of setuptools as build backend. #2543
  * Deprecate the __version__ attribute. Use feature detection, or
    importlib.metadata.version("click"), instead. #2598
  * BaseCommand is deprecated. Command is the base class for all
    commands. #2589
  * MultiCommand is deprecated. Group is the base class for all group
    commands. #2590
  * The current parser and related classes and methods, are deprecated.
    #2205
    - OptionParser and the parser module, which is a modified copy of
      optparse in the standard library.
    - Context.protected_args is unneeded. Context.args contains any
      remaining arguments while parsing.
    - Parameter.add_to_parser (on both Argument and Option) is
      unneeded. Parsing works directly without building a separate parser.
    - split_arg_string is moved from parser to shell_completion.
  * Enable deferred evaluation of annotations with
    from __future__ import annotations. #2270

OBS-URL: https://build.opensuse.org/request/show/1278968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=24
2025-05-31 17:14:09 +00:00
0c0c4c0a4d - Update to 8.2.1:
* Fix flag value handling for flag options with a provided type.
    #2894 #2897
  * Fix shell completion for nested groups. #2906
  * Flush sys.stderr at the end of CliRunner.invoke. #2682
  * Fix EOF handling for stdin input in CliRunner. #2787
- Update URL.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=56
2025-05-21 07:16:56 +00:00
f0145b331e re-format changelog as requested in request#1276563
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=55
2025-05-13 06:23:34 +00:00
768aeeb63b - Update to version 8.2.0:
-   Drop support for Python 3.7, 3.8, and 3.9. :pr:`2588` :pr:`2893`
 -   Use modern packaging metadata with ``pyproject.toml`` instead of ``setup.cfg``.
     :pr:`2438`
 -   Use ``flit_core`` instead of ``setuptools`` as build backend. :pr:`2543`
 -   Deprecate the ``__version__`` attribute. Use feature detection, or
     ``importlib.metadata.version("click")``, instead. :issue:`2598`
 -   ``BaseCommand`` is deprecated. ``Command`` is the base class for all
     commands. :issue:`2589`
 -   ``MultiCommand`` is deprecated. ``Group`` is the base class for all group
     commands. :issue:`2590`
 -   The current parser and related classes and methods, are deprecated.
     :issue:`2205`
     -   ``OptionParser`` and the ``parser`` module, which is a modified copy of
         ``optparse`` in the standard library.
     -   ``Context.protected_args`` is unneeded. ``Context.args`` contains any
         remaining arguments while parsing.
     -   ``Parameter.add_to_parser`` (on both ``Argument`` and ``Option``) is
         unneeded. Parsing works directly without building a separate parser.
     -   ``split_arg_string`` is moved from ``parser`` to ``shell_completion``.
 -   Enable deferred evaluation of annotations with
     ``from __future__ import annotations``. :pr:`2270`
 -   When generating a command's name from a decorated function's name, the
     suffixes ``_command``, ``_cmd``, ``_group``, and ``_grp`` are removed.
     :issue:`2322`
 -   Show the ``types.ParamType.name`` for ``types.Choice`` options within
     ``--help`` message if ``show_choices=False`` is specified.
     :issue:`2356`
 -   Do not display default values in prompts when ``Option.show_default`` is
     ``False``. :pr:`2509`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=54
2025-05-12 06:35:29 +00:00
ad1dcc2cb6 Accepting request 1244737 from devel:languages:python
Revert to rev 51

OBS-URL: https://build.opensuse.org/request/show/1244737
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=53
2025-02-10 12:08:16 +00:00
62ff4bdfc3 Accepting request 1243308 from home:mcalabkova:branches:devel:languages:python
- Update to 8.2.0
  * Drop support for Python 3.7.
  * BaseCommand is deprecated. Command is the base class for all commands.
  * MultiCommand is deprecated. Group is the base class for all group commands.
  * The current parser and related classes and methods, are deprecated.
  * Enable deferred evaluation of annotations with from __future__ import annotations.
  * When generating a command's name from a decorated function's name, the suffixes 
    _command, _cmd, _group, and _grp are removed.
  * Add a catch_exceptions parameter to CliRunner. If catch_exceptions is not passed 
    to CliRunner.invoke, the value from CliRunner.
  * Option.flag_value will no longer have a default value set based on Option.default 
    if Option.is_flag is False.
  * Choice is now generic and supports any iterable value. This allows you to use 
    enums and other non-str values.

OBS-URL: https://build.opensuse.org/request/show/1243308
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=52
2025-02-05 15:41:13 +00:00
0058dc70a6 Accepting request 1236135 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1236135
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=23
2025-01-12 10:10:10 +00:00
841eec754e - Update to 8.1.8
* Fix an issue with type hints for ``click.open_file()``. :issue:`2717`
  * Fix issue where error message for invalid ``click.Path`` displays on
    multiple lines. :issue:`2697`
  * Fixed issue that prevented a default value of ``""`` from being displayed in
    the help for an option. :issue:`2500`
  * The test runner handles stripping color consistently on Windows.
    :issue:`2705`
  * Show correct value for flag default when using ``default_map``.
    :issue:`2632`
  * Fix ``click.echo(color=...)`` passing ``color`` to coloroma so it can be
    forced on Windows. :issue:`2606`.
- Switch build system from setuptools to pyproject.toml
  * Add python-pip and python-wheel to BuildRequires
  * Replace %python_build with %pyproject_wheel
  * Replace %python_install with %pyproject_install
  * Update name for dist directory in %files section
- Update BuildRequires from pyproject.toml

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=50
2025-01-09 10:00:31 +00:00
8ff7a7f8df Accepting request 1109509 from devel:languages:python
- update to 8.1.7:
  * Fix issue with regex flags in shell completion.
  * Bash version detection issues a warning instead of an
    error.
  * Fix issue with completion script for Fish shell.

- Update to version 4.1

OBS-URL: https://build.opensuse.org/request/show/1109509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=22
2023-09-08 19:14:58 +00:00
c00a0b7141 - update to 8.1.7:
* Fix issue with regex flags in shell completion.
  * Bash version detection issues a warning instead of an
    error.
  * Fix issue with completion script for Fish shell.
- Update to version 4.1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=48
2023-09-07 10:59:41 +00:00
f1b53e8ef1 Accepting request 1101851 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1101851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=21
2023-08-03 15:27:08 +00:00
555d91a213 Accepting request 1101850 from home:mcalabkova:branches:devel:languages:python
- Update to 8.1.6
  * Replace all typing.Dict occurrences to typing.MutableMapping for parameter
    hints. #2255
  * Improve type hinting for decorators and give all generic types parameters.
  * Fix return value and type signature of
    shell_completion.add_completion_class function. #2421
  * Bash version detection doesn’t fail on Windows. #2461
  * Completion works if there is a dot (.) in the program name. #2166
  * Improve type annotations for pyright type checker. #2268
  * Improve responsiveness of click.clear(). #2284
  * Improve command name detection when using Shiv or PEX. #2332
  * Avoid showing empty lines if command help text is empty. #2368
  * ZSH completion script works when loaded from fpath. #2344.
  * EOFError and KeyboardInterrupt tracebacks are not suppressed when
    standalone_mode is disabled. #2380
  * @group.command does not fail if the group was created with a custom
    command_class. #2416
  * multiple=True is allowed for flag options again and does not require
    setting default=(). #2246, #2292, #2295
  * Make the decorators returned by @argument() and @option() reusable when the
    cls parameter is used. #2294
  * Don’t fail when writing filenames to streams with strict errors. Replace
    invalid bytes with the replacement character (�). #2395
  * Remove unnecessary attempt to detect MSYS2 environment. #2355
  * Remove outdated and unnecessary detection of App Engine environment. #2554
  * echo() does not fail when no streams are attached, such as with pythonw on
    Windows. #2415
  * Argument with expose_value=False do not cause completion to fail. #2336
  * Fix an issue with type hints for @click.command(), @click.option(), and
    other decorators. Introduce typing tests. #2558

OBS-URL: https://build.opensuse.org/request/show/1101850
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=46
2023-08-01 20:02:49 +00:00
a365e2eece Accepting request 1085129 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1085129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=20
2023-05-09 11:06:53 +00:00
5155385e9a Accepting request 1085122 from home:mcalabkova:branches:devel:languages:python
- add fix-tests.patch to fix tests with new versions of python packages

OBS-URL: https://build.opensuse.org/request/show/1085122
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=44
2023-05-05 14:21:21 +00:00
8048aae015 Accepting request 1082055 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1082055
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=19
2023-04-22 20:03:06 +00:00
68d0c66698 Accepting request 1081364 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081364
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=42
2023-04-21 15:11:59 +00:00
161dd2ca32 Accepting request 1074172 from devel:languages:python
- Remove not needed requirement python-setuptools

OBS-URL: https://build.opensuse.org/request/show/1074172
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=18
2023-03-26 18:19:08 +00:00
f91a825490 - Remove not needed requirement python-setuptools
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=40
2023-03-24 12:48:46 +00:00
20c806c323 Accepting request 980907 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/980907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=17
2022-06-06 09:10:06 +00:00
324486d8a6 Accepting request 980898 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/980898
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=38
2022-06-05 16:39:42 +00:00
7a94572bd4 Accepting request 966639 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/966639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=16
2022-04-05 17:55:23 +00:00
f950effb5d - update to 8.0.4:
* ``open_file`` recognizes ``Path("-")`` as a standard stream, the
    same as the string ``"-"``. :issue:`2106`
  * The ``option`` and ``argument`` decorators preserve the type
    annotation of the decorated function. :pr:`2155`
  * A callable default value can customize its help text by overriding
    ``__str__`` instead of always showing ``(dynamic)``. :issue:`2099`
  * Fix a typo in the Bash completion script that affected file and
    directory completion. If this script was generated by a previous
    version, it should be regenerated. :issue:`2163`
  *  Fix typing for ``echo`` and ``secho`` file argument.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=36
2022-03-27 11:03:10 +00:00
ac078b95d2 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
2021-10-20 18:23:32 +00:00
3fc27ed0ee - 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/package/show/devel:languages:python/python-click?expand=0&rev=35
2021-10-16 21:20:06 +00:00
3493444e30 Accepting request 915041 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/915041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=14
2021-09-03 19:26:02 +00:00
9ceb7e3883 Accepting request 915000 from home:jayvdb:branches:devel:languages:python:flask
- Add runtime dependency on importlib-metadata on Python 3.6

OBS-URL: https://build.opensuse.org/request/show/915000
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=34
2021-08-30 12:56:07 +00:00
7a7892ddda Accepting request 901106 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/901106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=13
2021-07-10 20:53:43 +00:00
7dbfbb6629 Accepting request 900890 from home:stroeder:python
update to 8.0.1 (PY3-only)

OBS-URL: https://build.opensuse.org/request/show/900890
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=33
2021-06-21 08:06:03 +00:00
c99d6649e3 Accepting request 828408 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/828408
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=12
2020-08-25 10:39:13 +00:00
Tomáš Chvátal
6f6a8dd35d Accepting request 828333 from home:jayvdb:branches:devel:languages:python
- Add runtime dependency on setuptools

OBS-URL: https://build.opensuse.org/request/show/828333
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=31
2020-08-21 08:30:32 +00:00
1fc830c000 Accepting request 811100 from devel:languages:python
- update to 7.1.2:
   Revert applying shell quoting to commands for ``echo_with_pager``
   and ``edit``. This was intended to allows spaces in commands, but
   caused issues if the string was actually a command and arguments, or
   on Windows. Instead, the string must be quoted manually as it should
   appear on the command line. :issue:`1514`

OBS-URL: https://build.opensuse.org/request/show/811100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=11
2020-06-05 18:00:58 +00:00
c6c4936c46 - update to 7.1.2:
Revert applying shell quoting to commands for ``echo_with_pager``
   and ``edit``. This was intended to allows spaces in commands, but
   caused issues if the string was actually a command and arguments, or
   on Windows. Instead, the string must be quoted manually as it should
   appear on the command line. :issue:`1514`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=29
2020-06-03 11:15:50 +00:00
97efde2aa8 Accepting request 790137 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/790137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=10
2020-04-19 19:48:26 +00:00
Tomáš Chvátal
ed746d4ad7 Accepting request 790129 from home:mcalabkova:branches:devel:languages:python
- Update to 7.1.1
  *   Fix ``ClickException`` output going to stdout instead of stderr.
  *   Fix PyPI package name, "click" is lowercase again.
  *   Fix link in ``unicode_literals`` error message. :pr:`1151`
  *   Add support for colored output on UNIX Jupyter notebooks.
  *   Operations that strip ANSI controls will strip the cursor hide/show
      sequences. :issue:`1216`
  *   Remove unused compat shim for ``bytes``. :pr:`1195`
  *   Always return one of the passed choices for ``click.Choice``
      :issue:`1277`, :pr:`1318`
  *   Handle ``env MYPATH=''`` as though the option were not passed.
      :issue:`1196`
  *   It is once again possible to call ``next(bar)`` on an active
      progress bar instance. :issue:`1125`
  *   ``open_file`` with ``atomic=True`` retains permissions of existing
      files and respects the current umask for new files. :issue:`1376`
  *   Fix ``TypeError`` raised when using bool flags and specifying
      ``type=bool``. :issue:`1287`
  *   Newlines in option help text are replaced with spaces before
      re-wrapping to avoid uneven line breaks. :issue:`834`
  *   ``MissingParameter`` exceptions are printable in the Python
      interpreter. :issue:`1139`
  *   Fix how default values for file-type options are shown during
      prompts. :issue:`914`
  *   Option help text that is wrapped adds an extra newline at the end to
      distinguish it from the next option. :issue:`1075`
  *   Consider ``sensible-editor`` when determining the editor to use for
      ``click.edit()``. :pr:`1469`
  *   Arguments to system calls such as the executable path passed to
      ``click.edit`` can contains spaces. :pr:`1470`

OBS-URL: https://build.opensuse.org/request/show/790129
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=27
2020-03-31 12:18:24 +00:00
609742652c Accepting request 740898 from devel:languages:python
- Replace %fdupes -s with plain %fdupes; hardlinks are better.

OBS-URL: https://build.opensuse.org/request/show/740898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=9
2019-11-04 16:06:37 +00:00
c7c2aa7e7f I won't fight stupid Group war
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=25
2019-10-17 21:04:48 +00:00
b3a1d72dcb - Replace %fdupes -s with plain %fdupes; hardlinks are better.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=24
2019-10-14 11:43:58 +00:00
7b5bf8df5e Accepting request 662313 from devel:languages:python
- update to version 7.0:
  * Drop support for Python 2.6 and 3.3.
  * Wrap ``click.Choice``'s missing message.
  * Add native ZSH autocompletion support.
  * Document that ANSI color info isn't parsed from bytearrays in
    Python 2.
  * Document byte-stripping behavior of ``CliRunner``.
  * Usage errors now hint at the ``--help`` option.
  * Implement streaming pager.
  * Extract bar formatting to its own method.
  * Add ``DateTime`` type for converting input in given date time
    formats.
  * ``secho``'s first argument can now be ``None``, like in ``echo``.
   
  * Fixes a ``ZeroDivisionError`` in ``ProgressBar.make_step``, when the
    arg passed to the first call of ``ProgressBar.update`` is 0.
   
  * Show progressbar only if total execution time is visible.
  * Added the ability to hide commands and options from help.
  * Document that options can be ``required=True``.
  * Non-standalone calls to ``Context.exit`` return the exit code,
    rather than calling ``sys.exit``.
  * ``click.getchar()`` returns Unicode in Python 3 on Windows,
    consistent with other platforms.
  * Added ``FloatRange`` type.
  * Added support for bash completion of ``type=click.Choice`` for
  ``Options`` and ``Arguments``.
  * Only allow one positional arg for ``Argument`` parameter
    declaration.
  * Add ``case_sensitive=False`` as an option to Choice.

OBS-URL: https://build.opensuse.org/request/show/662313
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=8
2019-01-08 11:16:43 +00:00
Tomáš Chvátal
b21ea12766 - Drop patch merged upstream python-click-test_compat.py.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=22
2019-01-01 15:23:08 +00:00