14
0
forked from pool/python-click

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
This commit is contained in:
2025-02-05 15:41:13 +00:00
committed by Git OBS Bridge
parent 0edfa43350
commit 5cb755798f
4 changed files with 25 additions and 8 deletions

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Feb 5 10:26:10 UTC 2025 - Markéta Machová <mmachova@suse.com>
- 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.
-------------------------------------------------------------------
Thu Jan 9 08:39:31 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>