Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cloup for openSUSE:Factory 
checked in at 2023-07-27 16:51:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cloup (Old)
 and      /work/SRC/openSUSE:Factory/.python-cloup.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cloup"

Thu Jul 27 16:51:50 2023 rev:6 rq:1100894 version:3.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cloup/python-cloup.changes        
2023-07-25 11:50:59.701414460 +0200
+++ /work/SRC/openSUSE:Factory/.python-cloup.new.32662/python-cloup.changes     
2023-07-27 16:52:15.378305076 +0200
@@ -1,0 +2,8 @@
+Wed Jul 26 16:03:22 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 3.0.0:
+  * The breaking change should not affect anyone but I have to
+    increase the major version anyway.
+  * `HelpTheme` as `dataclass` rather than `NamedTuple`
+
+-------------------------------------------------------------------

Old:
----
  cloup-2.1.2.tar.gz

New:
----
  build.specials.obscpio
  cloup-3.0.0.tar.gz

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

Other differences:
------------------
++++++ python-cloup.spec ++++++
--- /var/tmp/diff_new_pack.5VJaaZ/_old  2023-07-27 16:52:16.106309190 +0200
+++ /var/tmp/diff_new_pack.5VJaaZ/_new  2023-07-27 16:52:16.114309235 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-cloup
-Version:        2.1.2
+Version:        3.0.0
 Release:        0
 Summary:        Option groups, constraints, subcommand sections and help 
themes for Click
 License:        BSD-3-Clause

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.5VJaaZ/_old  2023-07-27 16:52:16.150309439 +0200
+++ /var/tmp/diff_new_pack.5VJaaZ/_new  2023-07-27 16:52:16.154309461 +0200
@@ -1,5 +1,5 @@
-mtime: 1689851077
-commit: 6e750787fe893c3d75482b12120d608fabb7f432
-url: https://src.opensuse.org/VaiTon/python-cloup.git
-revision: 6e750787fe893c3d75482b12120d608fabb7f432
+mtime: 1690387434
+commit: a676d4297e9d6d282b5ba68eacaf9d3d047e5c33
+url: https://src.opensuse.org/dirkmueller/python-cloup.git
+revision: a676d4297e9d6d282b5ba68eacaf9d3d047e5c33
 

++++++ cloup-2.1.2.tar.gz -> cloup-3.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloup-2.1.2/PKG-INFO new/cloup-3.0.0/PKG-INFO
--- old/cloup-2.1.2/PKG-INFO    2023-07-13 20:09:55.000000000 +0200
+++ new/cloup-3.0.0/PKG-INFO    2023-07-14 16:12:58.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: cloup
-Version: 2.1.2
+Version: 3.0.0
 Summary: Adds features to Click: option groups, constraints, subcommand 
sections and help themes.
 Home-page: https://github.com/janLuke/cloup
 Author: Gianluca Gippetto
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloup-2.1.2/cloup/_version.py 
new/cloup-3.0.0/cloup/_version.py
--- old/cloup-2.1.2/cloup/_version.py   2023-07-13 20:09:55.000000000 +0200
+++ new/cloup-3.0.0/cloup/_version.py   2023-07-14 16:12:58.000000000 +0200
@@ -1,4 +1,4 @@
 # file generated by setuptools_scm
 # don't change, don't track in version control
-__version__ = version = '2.1.2'
-__version_tuple__ = version_tuple = (2, 1, 2)
+__version__ = version = '3.0.0'
+__version_tuple__ = version_tuple = (3, 0, 0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloup-2.1.2/cloup/styling.py 
new/cloup-3.0.0/cloup/styling.py
--- old/cloup-2.1.2/cloup/styling.py    2023-07-13 20:09:42.000000000 +0200
+++ new/cloup-3.0.0/cloup/styling.py    2023-07-14 16:12:47.000000000 +0200
@@ -2,8 +2,10 @@
 This module contains components that specifically address the styling and 
theming
 of the ``--help`` output.
 """
+import dataclasses
 import dataclasses as dc
-from typing import Any, Callable, Dict, NamedTuple, Optional
+from dataclasses import dataclass
+from typing import Any, Callable, Dict, Optional
 
 import click
 
@@ -14,8 +16,8 @@
 """A callable that takes a string and returns a styled version of it."""
 
 
-# noinspection PyUnresolvedReferences
-class HelpTheme(NamedTuple):
+@dataclass(frozen=True)
+class HelpTheme:
     """A collection of styles for several elements of the help page.
 
     A "style" is just a function or a callable that takes a string and returns
@@ -95,7 +97,7 @@
             del kwargs["alias_secondary"]
         kwargs.pop('self')
         if kwargs:
-            return self._replace(**kwargs)
+            return dataclasses.replace(self, **kwargs)
         return self
 
     @staticmethod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloup-2.1.2/cloup.egg-info/PKG-INFO 
new/cloup-3.0.0/cloup.egg-info/PKG-INFO
--- old/cloup-2.1.2/cloup.egg-info/PKG-INFO     2023-07-13 20:09:55.000000000 
+0200
+++ new/cloup-3.0.0/cloup.egg-info/PKG-INFO     2023-07-14 16:12:58.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: cloup
-Version: 2.1.2
+Version: 3.0.0
 Summary: Adds features to Click: option groups, constraints, subcommand 
sections and help themes.
 Home-page: https://github.com/janLuke/cloup
 Author: Gianluca Gippetto

Reply via email to