Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-knack for openSUSE:Factory 
checked in at 2024-08-03 20:04:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-knack (Old)
 and      /work/SRC/openSUSE:Factory/.python-knack.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-knack"

Sat Aug  3 20:04:49 2024 rev:23 rq:1191240 version:0.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-knack/python-knack.changes        
2024-03-07 18:31:06.200748770 +0100
+++ /work/SRC/openSUSE:Factory/.python-knack.new.7232/python-knack.changes      
2024-08-03 20:05:02.860309610 +0200
@@ -1,0 +2,11 @@
+Fri Aug  2 11:56:05 UTC 2024 - John Paul Adrian Glaubitz 
<adrian.glaub...@suse.com>
+
+- Update to version 0.12.0
+  * Declare support for Python 3.12 (#279)
+- Switch build system from setuptools to pyproject.toml
+  * Add python-pip and python-wheel to BuildRequires
+  * Replace %python_build with %pyproject_wheel
+  * Replace %python_install with %pyproject_install
+- Limit Python files matched in %files section
+
+-------------------------------------------------------------------

Old:
----
  knack-0.11.0.tar.gz

New:
----
  knack-0.12.0.tar.gz

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

Other differences:
------------------
++++++ python-knack.spec ++++++
--- /var/tmp/diff_new_pack.p8LyV0/_old  2024-08-03 20:05:03.432333110 +0200
+++ /var/tmp/diff_new_pack.p8LyV0/_new  2024-08-03 20:05:03.432333110 +0200
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-knack
-Version:        0.11.0
+Version:        0.12.0
 Release:        0
 Summary:        A Command-Line Interface framework
 License:        MIT
@@ -28,11 +28,13 @@
 BuildRequires:  %{python_module PyYAML}
 BuildRequires:  %{python_module argcomplete}
 BuildRequires:  %{python_module jmespath}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pygments}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module tabulate}
 BuildRequires:  %{python_module vcrpy}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-PyYAML
@@ -50,10 +52,10 @@
 %setup -q -n knack-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -62,5 +64,6 @@
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/knack
+%{python_sitelib}/knack-*.dist-info
 

++++++ knack-0.11.0.tar.gz -> knack-0.12.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knack-0.11.0/HISTORY.rst new/knack-0.12.0/HISTORY.rst
--- old/knack-0.11.0/HISTORY.rst        2023-07-26 08:19:43.000000000 +0200
+++ new/knack-0.12.0/HISTORY.rst        2024-07-12 11:42:57.000000000 +0200
@@ -3,6 +3,11 @@
 Release History
 ===============
 
+0.12.0
+++++++
+
+* Declare support for Python 3.12 (#279)
+
 0.11.0
 ++++++
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knack-0.11.0/PKG-INFO new/knack-0.12.0/PKG-INFO
--- old/knack-0.11.0/PKG-INFO   2023-07-26 08:20:00.156813600 +0200
+++ new/knack-0.12.0/PKG-INFO   2024-07-12 11:43:18.858603500 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: knack
-Version: 0.11.0
+Version: 0.12.0
 Summary: A Command-Line Interface framework
 Home-page: https://github.com/microsoft/knack
 Author: Microsoft Corporation
@@ -15,8 +15,15 @@
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
+Classifier: Programming Language :: Python :: 3.12
 Classifier: License :: OSI Approved :: MIT License
 License-File: LICENSE
+Requires-Dist: argcomplete
+Requires-Dist: jmespath
+Requires-Dist: packaging
+Requires-Dist: pygments
+Requires-Dist: pyyaml
+Requires-Dist: tabulate
 
 Knack
 =====
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knack-0.11.0/knack/help.py 
new/knack-0.12.0/knack/help.py
--- old/knack-0.11.0/knack/help.py      2023-07-26 08:19:43.000000000 +0200
+++ new/knack-0.12.0/knack/help.py      2024-07-12 11:42:57.000000000 +0200
@@ -464,8 +464,7 @@
                     'line_len': line_len
                 }
                 layout['summary'] = layout['summary'].replace('\n', ' ')
-                if line_len > self.max_line_len:
-                    self.max_line_len = line_len
+                self.max_line_len = max(line_len, self.max_line_len)
                 layouts.append(layout)
             return layouts
 
@@ -586,8 +585,7 @@
                     'group_name': c.group_name,
                     'line_len': line_len
                 }
-                if line_len > self.max_line_len:
-                    self.max_line_len = line_len
+                self.max_line_len = max(line_len, self.max_line_len)
                 layouts.append(layout)
             return layouts
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knack-0.11.0/knack.egg-info/PKG-INFO 
new/knack-0.12.0/knack.egg-info/PKG-INFO
--- old/knack-0.11.0/knack.egg-info/PKG-INFO    2023-07-26 08:20:00.000000000 
+0200
+++ new/knack-0.12.0/knack.egg-info/PKG-INFO    2024-07-12 11:43:18.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: knack
-Version: 0.11.0
+Version: 0.12.0
 Summary: A Command-Line Interface framework
 Home-page: https://github.com/microsoft/knack
 Author: Microsoft Corporation
@@ -15,8 +15,15 @@
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
+Classifier: Programming Language :: Python :: 3.12
 Classifier: License :: OSI Approved :: MIT License
 License-File: LICENSE
+Requires-Dist: argcomplete
+Requires-Dist: jmespath
+Requires-Dist: packaging
+Requires-Dist: pygments
+Requires-Dist: pyyaml
+Requires-Dist: tabulate
 
 Knack
 =====
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knack-0.11.0/setup.py new/knack-0.12.0/setup.py
--- old/knack-0.11.0/setup.py   2023-07-26 08:19:43.000000000 +0200
+++ new/knack-0.12.0/setup.py   2024-07-12 11:42:57.000000000 +0200
@@ -8,7 +8,7 @@
 import sys
 from setuptools import setup
 
-VERSION = '0.11.0'
+VERSION = '0.12.0'
 
 DEPENDENCIES = [
     'argcomplete',
@@ -42,6 +42,7 @@
         'Programming Language :: Python :: 3.9',
         'Programming Language :: Python :: 3.10',
         'Programming Language :: Python :: 3.11',
+        'Programming Language :: Python :: 3.12',
         'License :: OSI Approved :: MIT License',
     ],
     packages=['knack', 'knack.testsdk'],

Reply via email to