Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-colorlog for openSUSE:Factory 
checked in at 2024-11-07 16:28:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-colorlog (Old)
 and      /work/SRC/openSUSE:Factory/.python-colorlog.new.2020 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-colorlog"

Thu Nov  7 16:28:03 2024 rev:14 rq:1221949 version:6.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-colorlog/python-colorlog.changes  
2024-10-29 14:36:20.836508588 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-colorlog.new.2020/python-colorlog.changes    
    2024-11-07 16:29:00.101678006 +0100
@@ -1,0 +2,8 @@
+Wed Nov  6 15:41:28 UTC 2024 - John Paul Adrian Glaubitz 
<adrian.glaub...@suse.com>
+
+- Update to 6.9.0
+  * Support Python 3.13
+  * Satisfy mypy
+- Drop support-python-313.patch, merged upstream
+
+-------------------------------------------------------------------

Old:
----
  colorlog-6.8.2.tar.gz
  support-python-313.patch

New:
----
  colorlog-6.9.0.tar.gz

BETA DEBUG BEGIN:
  Old:  * Satisfy mypy
- Drop support-python-313.patch, merged upstream
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-colorlog.spec ++++++
--- /var/tmp/diff_new_pack.NYaUXQ/_old  2024-11-07 16:29:00.725703968 +0100
+++ /var/tmp/diff_new_pack.NYaUXQ/_new  2024-11-07 16:29:00.729704134 +0100
@@ -18,14 +18,12 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-colorlog
-Version:        6.8.2
+Version:        6.9.0
 Release:        0
 Summary:        Log formatting with colors
 License:        MIT
 URL:            https://github.com/borntyping/python-colorlog
 Source:         
https://files.pythonhosted.org/packages/source/c/colorlog/colorlog-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM Partial patch from 
gh#borntyping/python-colorlog#607485def2d60b60c40c0d682574324b47fc30ba
-Patch0:         support-python-313.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}

++++++ colorlog-6.8.2.tar.gz -> colorlog-6.9.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/colorlog-6.8.2/PKG-INFO new/colorlog-6.9.0/PKG-INFO
--- old/colorlog-6.8.2/PKG-INFO 2024-01-26 14:59:23.768913700 +0100
+++ new/colorlog-6.9.0/PKG-INFO 2024-10-29 19:34:46.246798000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: colorlog
-Version: 6.8.2
+Version: 6.9.0
 Summary: Add colours to the output of Python's logging module.
 Home-page: https://github.com/borntyping/python-colorlog
 Author: Sam Clements
@@ -18,6 +18,9 @@
 Classifier: Programming Language :: Python :: 3.8
 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: Programming Language :: Python :: 3.13
 Classifier: Topic :: Terminals
 Classifier: Topic :: Utilities
 Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/colorlog-6.8.2/colorlog/wrappers.py 
new/colorlog-6.9.0/colorlog/wrappers.py
--- old/colorlog-6.8.2/colorlog/wrappers.py     2024-01-26 14:59:21.000000000 
+0100
+++ new/colorlog-6.9.0/colorlog/wrappers.py     2024-10-29 19:34:44.000000000 
+0100
@@ -2,6 +2,7 @@
 
 import functools
 import logging
+import sys
 import typing
 from logging import (
     CRITICAL,
@@ -53,8 +54,8 @@
 ) -> None:
     """Call ``logging.basicConfig`` and override the formatter it creates."""
     logging.basicConfig(**kwargs)
-    logging._acquireLock()  # type: ignore
-    try:
+
+    def _basicConfig():
         handler = logging.root.handlers[0]
         handler.setFormatter(
             colorlog.formatter.ColoredFormatter(
@@ -67,8 +68,16 @@
                 stream=kwargs.get("stream", None),
             )
         )
-    finally:
-        logging._releaseLock()  # type: ignore
+
+    if sys.version_info >= (3, 13):
+        with logging._lock:  # type: ignore
+            _basicConfig()
+    else:
+        logging._acquireLock()  # type: ignore
+        try:
+            _basicConfig()
+        finally:
+            logging._releaseLock()  # type: ignore
 
 
 def ensure_configured(func):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/colorlog-6.8.2/colorlog.egg-info/PKG-INFO 
new/colorlog-6.9.0/colorlog.egg-info/PKG-INFO
--- old/colorlog-6.8.2/colorlog.egg-info/PKG-INFO       2024-01-26 
14:59:23.000000000 +0100
+++ new/colorlog-6.9.0/colorlog.egg-info/PKG-INFO       2024-10-29 
19:34:46.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: colorlog
-Version: 6.8.2
+Version: 6.9.0
 Summary: Add colours to the output of Python's logging module.
 Home-page: https://github.com/borntyping/python-colorlog
 Author: Sam Clements
@@ -18,6 +18,9 @@
 Classifier: Programming Language :: Python :: 3.8
 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: Programming Language :: Python :: 3.13
 Classifier: Topic :: Terminals
 Classifier: Topic :: Utilities
 Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/colorlog-6.8.2/setup.py new/colorlog-6.9.0/setup.py
--- old/colorlog-6.8.2/setup.py 2024-01-26 14:59:21.000000000 +0100
+++ new/colorlog-6.9.0/setup.py 2024-10-29 19:34:44.000000000 +0100
@@ -2,7 +2,7 @@
 
 setup(
     name="colorlog",
-    version="6.8.2",
+    version="6.9.0",
     description="Add colours to the output of Python's logging module.",
     long_description=open("README.md").read(),
     long_description_content_type="text/markdown",
@@ -31,6 +31,9 @@
         "Programming Language :: Python :: 3.8",
         "Programming Language :: Python :: 3.9",
         "Programming Language :: Python :: 3.10",
+        "Programming Language :: Python :: 3.11",
+        "Programming Language :: Python :: 3.12",
+        "Programming Language :: Python :: 3.13",
         "Topic :: Terminals",
         "Topic :: Utilities",
     ],

Reply via email to