Accepting request 1255720 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1255720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click-option-group?expand=0&rev=5
This commit is contained in:
2025-03-25 21:10:52 +00:00
committed by Git OBS Bridge
4 changed files with 22 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:97d06703873518cc5038509443742b25069a3c7562d1ea72ff08bfadde1ce777
size 16517

View File

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

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Mar 24 16:44:38 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 0.5.7
* Add return type Decorator
* Update CI/CD config and Python versions
* Fix tests for click>=8.1.8
-------------------------------------------------------------------
Wed Feb 5 10:41:08 UTC 2025 - Markéta Machová <mmachova@suse.com>
- The test doesn't fail anymore with click 8.2.0
-------------------------------------------------------------------
Thu Jan 16 11:44:42 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -18,12 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-click-option-group
Version: 0.5.6
Version: 0.5.7
Release: 0
Summary: Option groups missing in Click
License: BSD-3-Clause
URL: https://github.com/click-contrib/click-option-group
Source: https://files.pythonhosted.org/packages/source/c/click-option-group/click-option-group-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/c/click-option-group/click_option_group-%{version}.tar.gz
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -35,10 +37,6 @@ BuildRequires: %{python_module click >= 7.0}
BuildRequires: fdupes
BuildRequires: dos2unix
Requires: python-click >= 7.0
Suggests: python-Sphinx >= 3.0
Suggests: python-Pallets-Sphinx-Themes
Suggests: python-m2r2
Suggests: python-pytest
BuildArch: noarch
%python_subpackages
@@ -46,7 +44,7 @@ BuildArch: noarch
Option groups missing in Click
%prep
%setup -q -n click-option-group-%{version}
%setup -q -n click_option_group-%{version}
%build
%pyproject_wheel
@@ -57,8 +55,7 @@ dos2unix README.md CHANGELOG.md
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# test_missing_group_decl_first_api fails with click 8.1.8 https://github.com/click-contrib/click-option-group/issues/65
%pytest -k "not test_missing_group_decl_first_api"
%pytest
%files %{python_files}
%doc CHANGELOG.md README.md