Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-click-option-group for 
openSUSE:Factory checked in at 2025-11-21 16:56:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-click-option-group (Old)
 and      /work/SRC/openSUSE:Factory/.python-click-option-group.new.2061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-click-option-group"

Fri Nov 21 16:56:30 2025 rev:6 rq:1318837 version:0.5.9

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-click-option-group/python-click-option-group.changes
      2025-03-25 22:19:19.291787607 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-click-option-group.new.2061/python-click-option-group.changes
    2025-11-21 16:57:20.964056953 +0100
@@ -1,0 +2,8 @@
+Thu Nov 20 08:51:07 UTC 2025 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Update to 0.5.9
+  * Fix use of mypy while maintaining pyright compatibility
+- from version 0.5.8
+  * Fix some types for pyright linter
+
+-------------------------------------------------------------------

Old:
----
  click_option_group-0.5.7.tar.gz

New:
----
  click_option_group-0.5.9.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-click-option-group.spec ++++++
--- /var/tmp/diff_new_pack.d7BAyz/_old  2025-11-21 16:57:21.488079034 +0100
+++ /var/tmp/diff_new_pack.d7BAyz/_new  2025-11-21 16:57:21.488079034 +0100
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-click-option-group
-Version:        0.5.7
+Version:        0.5.9
 Release:        0
 Summary:        Option groups missing in Click
 License:        BSD-3-Clause

++++++ click_option_group-0.5.7.tar.gz -> click_option_group-0.5.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/click_option_group-0.5.7/.github/workflows/release.yaml 
new/click_option_group-0.5.9/.github/workflows/release.yaml
--- old/click_option_group-0.5.7/.github/workflows/release.yaml 2020-02-02 
01:00:00.000000000 +0100
+++ new/click_option_group-0.5.9/.github/workflows/release.yaml 2020-02-02 
01:00:00.000000000 +0100
@@ -1,4 +1,4 @@
-name: Prepare release
+name: Create release
 
 on:
   push:
@@ -18,11 +18,13 @@
 jobs:
   tests:
     uses: ./.github/workflows/step_test.yaml
+
   build-wheel:
     needs: [ tests ]
     uses: ./.github/workflows/step_build-wheel.yaml
     with:
       ref: ${{ inputs.ref }}
+
   upload_pypi:
     name: Upload to PyPI repository
     needs: [ tests, build-wheel ]
@@ -32,6 +34,8 @@
       url: https://pypi.org/project/click-option-group/
     permissions:
       id-token: write
+      contents: write
+
     steps:
       - uses: actions/[email protected]
         with:
@@ -39,10 +43,14 @@
           path: dist
       - name: Publish package to PyPI
         uses: pypa/gh-action-pypi-publish@release/v1
+
   release:
     needs: [ upload_pypi ]
     name: Create release
     runs-on: ubuntu-latest
+    permissions:
+      actions: write
+      contents: write
     steps:
       - uses: actions/checkout@v4
       - uses: softprops/action-gh-release@v2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click_option_group-0.5.7/CHANGELOG.md 
new/click_option_group-0.5.9/CHANGELOG.md
--- old/click_option_group-0.5.7/CHANGELOG.md   2020-02-02 01:00:00.000000000 
+0100
+++ new/click_option_group-0.5.9/CHANGELOG.md   2020-02-02 01:00:00.000000000 
+0100
@@ -1,5 +1,13 @@
 # Changelog
 
+## v0.5.9 (09.10.2025)
+
+* Fix use of mypy while maintaining pyright compatibility (PR 
[#73](https://github.com/click-contrib/click-option-group/pull/73))
+
+## v0.5.8 (01.10.2025)
+
+* Fix some types for pyright linter (PR 
[#72](https://github.com/click-contrib/click-option-group/pull/72))
+
 ## v0.5.7 (24.03.2025)
 
 * Add return type Decorator (PR 
[#68](https://github.com/click-contrib/click-option-group/pull/68))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click_option_group-0.5.7/PKG-INFO 
new/click_option_group-0.5.9/PKG-INFO
--- old/click_option_group-0.5.7/PKG-INFO       2020-02-02 01:00:00.000000000 
+0100
+++ new/click_option_group-0.5.9/PKG-INFO       2020-02-02 01:00:00.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: click-option-group
-Version: 0.5.7
+Version: 0.5.9
 Summary: Option groups missing in Click
 Project-URL: Homepage, https://github.com/click-contrib/click-option-group
 Project-URL: Code, https://github.com/click-contrib/click-option-group
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/click_option_group-0.5.7/src/click_option_group/_decorators.py 
new/click_option_group-0.5.9/src/click_option_group/_decorators.py
--- old/click_option_group-0.5.7/src/click_option_group/_decorators.py  
2020-02-02 01:00:00.000000000 +0100
+++ new/click_option_group-0.5.9/src/click_option_group/_decorators.py  
2020-02-02 01:00:00.000000000 +0100
@@ -14,8 +14,6 @@
 T = TypeVar("T")
 F = TypeVar("F", bound=Callable)
 
-Decorator = Callable[[F], F]
-
 
 class OptionStackItem(NamedTuple):
     param_decls: Tuple[str, ...]
@@ -96,8 +94,8 @@
         *,
         help: Optional[str] = None,
         cls: Optional[Type[OptionGroup]] = None,
-        **attrs,
-    ) -> Decorator:
+        **attrs: Any,
+    ) -> Callable[[F], F]:
         """The decorator creates a new group and collects its options
 
         Creates the option group and registers all grouped options
@@ -115,7 +113,7 @@
             msg = "'cls' must be a subclass of 'OptionGroup' class."
             raise TypeError(msg)
 
-        def decorator(func):
+        def decorator(func: F) -> F:
             callback, params = get_callback_and_params(func)
 
             if callback not in self._decorating_state:
@@ -153,7 +151,7 @@
 
         return decorator
 
-    def option(self, *param_decls, **attrs) -> Decorator:
+    def option(self, *param_decls: str, **attrs: Any) -> Callable[[F], F]:
         """The decorator adds a new option to the group
 
         The decorator is lazy. It adds option decls and attrs.
@@ -163,7 +161,7 @@
         :param attrs: additional option attributes and parameters
         """
 
-        def decorator(func):
+        def decorator(func: F) -> F:
             callback, params = get_callback_and_params(func)
 
             option_stack = self._decorating_state[callback]
@@ -177,7 +175,7 @@
 
         return decorator
 
-    def help_option(self, *param_decls, **attrs) -> Decorator:
+    def help_option(self, *param_decls: str, **attrs: Any) -> Callable[[F], F]:
         """This decorator adds a help option to the group, which prints
         the command's help text and exits.
         """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/click_option_group-0.5.7/src/click_option_group/_version.py 
new/click_option_group-0.5.9/src/click_option_group/_version.py
--- old/click_option_group-0.5.7/src/click_option_group/_version.py     
2020-02-02 01:00:00.000000000 +0100
+++ new/click_option_group-0.5.9/src/click_option_group/_version.py     
2020-02-02 01:00:00.000000000 +0100
@@ -1,7 +1,14 @@
 # file generated by setuptools-scm
 # don't change, don't track in version control
 
-__all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
+__all__ = [
+    "__version__",
+    "__version_tuple__",
+    "version",
+    "version_tuple",
+    "__commit_id__",
+    "commit_id",
+]
 
 TYPE_CHECKING = False
 if TYPE_CHECKING:
@@ -9,13 +16,19 @@
     from typing import Union
 
     VERSION_TUPLE = Tuple[Union[int, str], ...]
+    COMMIT_ID = Union[str, None]
 else:
     VERSION_TUPLE = object
+    COMMIT_ID = object
 
 version: str
 __version__: str
 __version_tuple__: VERSION_TUPLE
 version_tuple: VERSION_TUPLE
+commit_id: COMMIT_ID
+__commit_id__: COMMIT_ID
 
-__version__ = version = '0.5.7'
-__version_tuple__ = version_tuple = (0, 5, 7)
+__version__ = version = '0.5.9'
+__version_tuple__ = version_tuple = (0, 5, 9)
+
+__commit_id__ = commit_id = None

Reply via email to