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:
BIN
click-8.1.8.tar.gz
(Stored with Git LFS)
BIN
click-8.1.8.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
click-8.2.0.tar.gz
Normal file
3
click-8.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6a46acd8adef163ec5da03a786c5ccae69abf20de3c869cbfd23cd237abba092
|
||||
size 348158
|
@@ -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>
|
||||
|
||||
|
@@ -18,18 +18,17 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-click
|
||||
Version: 8.1.8
|
||||
Version: 8.2.0
|
||||
Release: 0
|
||||
Summary: A wrapper around optparse for command line utilities
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/mitsuhiko/click
|
||||
Source: https://files.pythonhosted.org/packages/source/c/click/click-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
URL: https://github.com/pallets/click
|
||||
Source: https://github.com/pallets/click/archive/refs/tags/%{version}.tar.gz#/click-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module flit-core}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
|
Reference in New Issue
Block a user