12 Commits

Author SHA256 Message Date
a9aedef41a 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
cf928ff2b3 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
2e57123d7f - 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
6a97cf7226 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
14cdb619da 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
b5d80ba23f 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
b91e29f19d - 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
2167b5b588 Accepting request 1276957 from home:sebix:branches:devel:languages:python
re-format changelog as requested in request#1276563

OBS-URL: https://build.opensuse.org/request/show/1276957
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
a6ffe2387a Accepting request 1276563 from home:sebix:branches:devel:languages:python
- 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/request/show/1276563
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
d42c5a370f 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
5cb755798f 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
0edfa43350 Accepting request 1236118 from home:glaubitz:branches:devel:languages:python
- 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/request/show/1236118
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
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Aug 9 07:09:03 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
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)
-------------------------------------------------------------------
Tue Jun 8 15:09:58 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-click
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed