Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pip-licenses for 
openSUSE:Factory checked in at 2024-01-18 21:53:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pip-licenses (Old)
 and      /work/SRC/openSUSE:Factory/.python-pip-licenses.new.16006 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pip-licenses"

Thu Jan 18 21:53:54 2024 rev:13 rq:1139702 version:4.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pip-licenses/python-pip-licenses.changes  
2023-06-03 00:07:27.422071600 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pip-licenses.new.16006/python-pip-licenses.changes
       2024-01-18 21:54:36.115373218 +0100
@@ -1,0 +2,9 @@
+Thu Jan 18 12:11:54 UTC 2024 - Daniel Garcia <[email protected]>
+
+- Update to version 4.3.3:
+  * Always terminate --allow-only and --fail-on messages with a newline
+  * Always terminate files created with --output-file with a newline
+- Ignore broken test with latest version of wcwidth,
+  gh#raimon49/pip-licenses#178
+
+-------------------------------------------------------------------

Old:
----
  pip-licenses-4.3.2.tar.gz

New:
----
  pip-licenses-4.3.3.tar.gz

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

Other differences:
------------------
++++++ python-pip-licenses.spec ++++++
--- /var/tmp/diff_new_pack.ehxl1K/_old  2024-01-18 21:54:36.755396462 +0100
+++ /var/tmp/diff_new_pack.ehxl1K/_new  2024-01-18 21:54:36.759396607 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pip-licenses
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define skip_python2 1
 Name:           python-pip-licenses
-Version:        4.3.2
+Version:        4.3.3
 Release:        0
 Summary:        Python packages license list
 License:        MIT
@@ -66,7 +66,10 @@
 %check
 export LANG=en_US.UTF-8
 # gh#raimon49/pip-licenses#120 for test_from_all
-%pytest -k 'not test_from_all'
+donttest="test_from_all"
+# test_format_rst_without_filter fails with wcwidth>=0.2.10 
gh#raimon49/pip-licenses#178
+donttest+=" or test_format_rst_without_filter"
+%pytest -k "not ($donttest)"
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
%{buildroot}%{_bindir}/pip-licenses-%{$python_bin_suffix} -s
 
 %post

++++++ pip-licenses-4.3.2.tar.gz -> pip-licenses-4.3.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pip-licenses-4.3.2/CHANGELOG.md 
new/pip-licenses-4.3.3/CHANGELOG.md
--- old/pip-licenses-4.3.2/CHANGELOG.md 2023-05-21 04:52:57.000000000 +0200
+++ new/pip-licenses-4.3.3/CHANGELOG.md 2023-09-20 03:14:49.000000000 +0200
@@ -1,8 +1,13 @@
 ## CHANGELOG
 
+### 4.3.3
+
+* Always terminate `--allow-only` and `--fail-on` messages with a newline
+* Always terminate files created with `--output-file` with a newline
+
 ### 4.3.2
 
-* Better Handling extracting URLs from `Project-URL`
+* Better handling extracting URLs from `Project-URL`
 
 ### 4.3.1
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pip-licenses-4.3.2/PKG-INFO 
new/pip-licenses-4.3.3/PKG-INFO
--- old/pip-licenses-4.3.2/PKG-INFO     2023-05-21 04:56:34.430612600 +0200
+++ new/pip-licenses-4.3.3/PKG-INFO     2023-09-20 03:19:07.708730500 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pip-licenses
-Version: 4.3.2
+Version: 4.3.3
 Summary: Dump the software license list of Python packages installed with pip.
 Home-page: https://github.com/raimon49/pip-licenses
 Author: raimon
@@ -765,7 +765,8 @@
 ------------------------
 
 If a ``UnicodeEncodeError`` occurs, check your environment variables
-``LANG`` and ``LC_TYPE``.
+``LANG`` and ``LC_TYPE``. Additionally, you can set ``PYTHONIOENCODING``
+to override the encoding used for ``stdout``.
 
 Often occurs in isolated environments such as Docker and tox.
 
@@ -829,12 +830,21 @@
 CHANGELOG
 ---------
 
+.. _433:
+
+4.3.3
+~~~~~
+
+-  Always terminate ``--allow-only`` and ``--fail-on`` messages with a
+   newline
+-  Always terminate files created with ``--output-file`` with a newline
+
 .. _432:
 
 4.3.2
 ~~~~~
 
--  Better Handling extracting URLs from ``Project-URL``
+-  Better handling extracting URLs from ``Project-URL``
 
 .. _431:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pip-licenses-4.3.2/README.md 
new/pip-licenses-4.3.3/README.md
--- old/pip-licenses-4.3.2/README.md    2023-04-25 10:07:16.000000000 +0200
+++ new/pip-licenses-4.3.3/README.md    2023-07-17 12:48:49.000000000 +0200
@@ -602,7 +602,7 @@
 
 ## About UnicodeEncodeError
 
-If a `UnicodeEncodeError` occurs, check your environment variables `LANG` and 
`LC_TYPE`.
+If a `UnicodeEncodeError` occurs, check your environment variables `LANG` and 
`LC_TYPE`. Additionally, you can set `PYTHONIOENCODING` to override the 
encoding used for `stdout`.
 
 Often occurs in isolated environments such as Docker and tox.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pip-licenses-4.3.2/pip_licenses.egg-info/PKG-INFO 
new/pip-licenses-4.3.3/pip_licenses.egg-info/PKG-INFO
--- old/pip-licenses-4.3.2/pip_licenses.egg-info/PKG-INFO       2023-05-21 
04:56:34.000000000 +0200
+++ new/pip-licenses-4.3.3/pip_licenses.egg-info/PKG-INFO       2023-09-20 
03:19:07.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pip-licenses
-Version: 4.3.2
+Version: 4.3.3
 Summary: Dump the software license list of Python packages installed with pip.
 Home-page: https://github.com/raimon49/pip-licenses
 Author: raimon
@@ -765,7 +765,8 @@
 ------------------------
 
 If a ``UnicodeEncodeError`` occurs, check your environment variables
-``LANG`` and ``LC_TYPE``.
+``LANG`` and ``LC_TYPE``. Additionally, you can set ``PYTHONIOENCODING``
+to override the encoding used for ``stdout``.
 
 Often occurs in isolated environments such as Docker and tox.
 
@@ -829,12 +830,21 @@
 CHANGELOG
 ---------
 
+.. _433:
+
+4.3.3
+~~~~~
+
+-  Always terminate ``--allow-only`` and ``--fail-on`` messages with a
+   newline
+-  Always terminate files created with ``--output-file`` with a newline
+
 .. _432:
 
 4.3.2
 ~~~~~
 
--  Better Handling extracting URLs from ``Project-URL``
+-  Better handling extracting URLs from ``Project-URL``
 
 .. _431:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pip-licenses-4.3.2/piplicenses.py 
new/pip-licenses-4.3.3/piplicenses.py
--- old/pip-licenses-4.3.2/piplicenses.py       2023-05-21 04:51:05.000000000 
+0200
+++ new/pip-licenses-4.3.3/piplicenses.py       2023-09-20 03:14:25.000000000 
+0200
@@ -56,7 +56,7 @@
 open = open  # allow monkey patching
 
 __pkgname__ = "pip-licenses"
-__version__ = "4.3.2"
+__version__ = "4.3.3"
 __author__ = "raimon"
 __license__ = "MIT"
 __summary__ = (
@@ -322,7 +322,7 @@
             if failed_licenses:
                 sys.stderr.write(
                     "fail-on license {} was found for package "
-                    "{}:{}".format(
+                    "{}:{}\n".format(
                         "; ".join(sorted(failed_licenses)),
                         pkg_info["name"],
                         pkg_info["version"],
@@ -337,7 +337,7 @@
             if len(uncommon_licenses) == len(license_names):
                 sys.stderr.write(
                     "license {} not in allow-only licenses was found"
-                    " for package {}:{}".format(
+                    " for package {}:{}\n".format(
                         "; ".join(sorted(uncommon_licenses)),
                         pkg_info["name"],
                         pkg_info["version"],
@@ -1079,6 +1079,10 @@
     try:
         with open(output_file, "w", encoding="utf-8") as f:
             f.write(output_string)
+            if not output_string.endswith("\n"):
+                # Always end output files with a new line
+                f.write("\n")
+
         sys.stdout.write("created path: " + output_file + "\n")
         sys.exit(0)
     except IOError:

Reply via email to