Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mbstrdecoder for 
openSUSE:Factory checked in at 2022-09-30 17:57:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mbstrdecoder (Old)
 and      /work/SRC/openSUSE:Factory/.python-mbstrdecoder.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mbstrdecoder"

Fri Sep 30 17:57:46 2022 rev:10 rq:1007063 version:1.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mbstrdecoder/python-mbstrdecoder.changes  
2021-12-09 19:46:03.433146193 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-mbstrdecoder.new.2275/python-mbstrdecoder.changes
        2022-09-30 17:58:04.805285247 +0200
@@ -1,0 +2,8 @@
+Thu Sep 29 15:56:43 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com>
+
+- Update to 1.1.1:  
+  Remove chardet<5 requirement by @karolinku in #6
+  Add support for Python 3.11
+  Remove code that for support Python 2
+
+-------------------------------------------------------------------

Old:
----
  mbstrdecoder-1.1.0.tar.gz

New:
----
  mbstrdecoder-1.1.1.tar.gz

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

Other differences:
------------------
++++++ python-mbstrdecoder.spec ++++++
--- /var/tmp/diff_new_pack.cIlqKn/_old  2022-09-30 17:58:05.177286042 +0200
+++ /var/tmp/diff_new_pack.cIlqKn/_new  2022-09-30 17:58:05.181286051 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mbstrdecoder
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-mbstrdecoder
-Version:        1.1.0
+Version:        1.1.1
 Release:        0
 Summary:        Multi-byte character string decoder
 License:        MIT

++++++ mbstrdecoder-1.1.0.tar.gz -> mbstrdecoder-1.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mbstrdecoder-1.1.0/PKG-INFO 
new/mbstrdecoder-1.1.1/PKG-INFO
--- old/mbstrdecoder-1.1.0/PKG-INFO     2021-09-20 12:23:46.480000000 +0200
+++ new/mbstrdecoder-1.1.1/PKG-INFO     2022-08-11 16:40:57.938940000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: mbstrdecoder
-Version: 1.1.0
+Version: 1.1.1
 Summary: multi-byte character string decoder
 Home-page: https://github.com/thombashi/mbstrdecoder
 Author: Tsuyoshi Hombashi
@@ -9,7 +9,6 @@
 Project-URL: Source, https://github.com/thombashi/mbstrdecoder
 Project-URL: Tracker, https://github.com/thombashi/mbstrdecoder/issues
 Keywords: multi-byte character,unicode,decoder
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
 Classifier: Intended Audience :: Information Technology
@@ -21,6 +20,7 @@
 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 :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Software Development :: Libraries
@@ -111,5 +111,3 @@
 ============
 - Python 3.6+
 - `Python package dependencies (automatically installed) 
<https://github.com/thombashi/mbstrdecoder/network/dependencies>`__
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mbstrdecoder-1.1.0/mbstrdecoder/__version__.py 
new/mbstrdecoder-1.1.1/mbstrdecoder/__version__.py
--- old/mbstrdecoder-1.1.0/mbstrdecoder/__version__.py  2021-09-20 
12:19:46.000000000 +0200
+++ new/mbstrdecoder-1.1.1/mbstrdecoder/__version__.py  2022-08-11 
16:39:34.000000000 +0200
@@ -1,6 +1,6 @@
 __author__ = "Tsuyoshi Hombashi"
 __copyright__ = f"Copyright 2016, {__author__}"
 __license__ = "MIT License"
-__version__ = "1.1.0"
+__version__ = "1.1.1"
 __maintainer__ = __author__
 __email__ = "tsuyoshi.homba...@gmail.com"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mbstrdecoder-1.1.0/mbstrdecoder/_mbstrdecoder.py 
new/mbstrdecoder-1.1.1/mbstrdecoder/_mbstrdecoder.py
--- old/mbstrdecoder-1.1.0/mbstrdecoder/_mbstrdecoder.py        2021-09-20 
12:08:59.000000000 +0200
+++ new/mbstrdecoder-1.1.1/mbstrdecoder/_mbstrdecoder.py        2022-08-11 
15:51:23.000000000 +0200
@@ -188,7 +188,7 @@
         try:
             detect = chardet.detect(encoded_str)
         except TypeError:
-            detect = {}
+            detect = {}  # type: ignore
 
         detect_encoding = detect.get("encoding")
         confidence = detect.get("confidence")
@@ -237,10 +237,6 @@
             except UnicodeDecodeError:
                 self.__codec = None
                 continue
-            except UnicodeEncodeError:
-                # already a unicode string (python 2)
-                self.__codec = "unicode"
-                return encoded_str
             except AttributeError:
                 if isinstance(encoded_str, str):
                     # already a unicode string (python 3)
@@ -249,14 +245,6 @@
                     if not encoded_str:
                         return encoded_str
 
-                    try:
-                        # python 2 compatibility
-                        encoded_str.encode("ascii")
-                        self.__codec = "ascii"
-                        return encoded_str
-                    except UnicodeEncodeError:
-                        pass
-
                     return encoded_str
 
                 self.__codec = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mbstrdecoder-1.1.0/mbstrdecoder.egg-info/PKG-INFO 
new/mbstrdecoder-1.1.1/mbstrdecoder.egg-info/PKG-INFO
--- old/mbstrdecoder-1.1.0/mbstrdecoder.egg-info/PKG-INFO       2021-09-20 
12:23:46.000000000 +0200
+++ new/mbstrdecoder-1.1.1/mbstrdecoder.egg-info/PKG-INFO       2022-08-11 
16:40:57.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: mbstrdecoder
-Version: 1.1.0
+Version: 1.1.1
 Summary: multi-byte character string decoder
 Home-page: https://github.com/thombashi/mbstrdecoder
 Author: Tsuyoshi Hombashi
@@ -9,7 +9,6 @@
 Project-URL: Source, https://github.com/thombashi/mbstrdecoder
 Project-URL: Tracker, https://github.com/thombashi/mbstrdecoder/issues
 Keywords: multi-byte character,unicode,decoder
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
 Classifier: Intended Audience :: Information Technology
@@ -21,6 +20,7 @@
 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 :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Software Development :: Libraries
@@ -111,5 +111,3 @@
 ============
 - Python 3.6+
 - `Python package dependencies (automatically installed) 
<https://github.com/thombashi/mbstrdecoder/network/dependencies>`__
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mbstrdecoder-1.1.0/mbstrdecoder.egg-info/requires.txt 
new/mbstrdecoder-1.1.1/mbstrdecoder.egg-info/requires.txt
--- old/mbstrdecoder-1.1.0/mbstrdecoder.egg-info/requires.txt   2021-09-20 
12:23:46.000000000 +0200
+++ new/mbstrdecoder-1.1.1/mbstrdecoder.egg-info/requires.txt   2022-08-11 
16:40:57.000000000 +0200
@@ -1,4 +1,4 @@
-chardet<5,>=3.0.4
+chardet<6,>=3.0.4
 
 [test]
 Faker>=1.0.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mbstrdecoder-1.1.0/pyproject.toml 
new/mbstrdecoder-1.1.1/pyproject.toml
--- old/mbstrdecoder-1.1.0/pyproject.toml       2021-09-20 12:07:14.000000000 
+0200
+++ new/mbstrdecoder-1.1.1/pyproject.toml       2022-08-11 15:51:11.000000000 
+0200
@@ -18,6 +18,7 @@
 )/
 | docs/conf.py
 '''
+target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311']
 
 [tool.isort]
 known_third_party = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mbstrdecoder-1.1.0/requirements/requirements.txt 
new/mbstrdecoder-1.1.1/requirements/requirements.txt
--- old/mbstrdecoder-1.1.0/requirements/requirements.txt        2021-03-20 
05:14:04.000000000 +0100
+++ new/mbstrdecoder-1.1.1/requirements/requirements.txt        2022-08-11 
11:39:50.000000000 +0200
@@ -1 +1 @@
-chardet>=3.0.4,<5
+chardet>=3.0.4,<6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mbstrdecoder-1.1.0/setup.py 
new/mbstrdecoder-1.1.1/setup.py
--- old/mbstrdecoder-1.1.0/setup.py     2021-09-20 12:16:52.000000000 +0200
+++ new/mbstrdecoder-1.1.1/setup.py     2022-08-11 15:51:11.000000000 +0200
@@ -68,6 +68,7 @@
         "Programming Language :: Python :: 3.8",
         "Programming Language :: Python :: 3.9",
         "Programming Language :: Python :: 3.10",
+        "Programming Language :: Python :: 3.11",
         "Programming Language :: Python :: Implementation :: CPython",
         "Programming Language :: Python :: Implementation :: PyPy",
         "Topic :: Software Development :: Libraries",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mbstrdecoder-1.1.0/tox.ini 
new/mbstrdecoder-1.1.1/tox.ini
--- old/mbstrdecoder-1.1.0/tox.ini      2021-09-20 12:16:08.000000000 +0200
+++ new/mbstrdecoder-1.1.1/tox.ini      2022-08-11 15:51:11.000000000 +0200
@@ -1,6 +1,6 @@
 [tox]
 envlist =
-    py{36,37,38,39,310}
+    py{36,37,38,39,310,311}
     pypy3
     clean
     cov
@@ -8,8 +8,8 @@
     lint
 
 [testenv]
-deps =
-    .[test]
+extras =
+    test
 commands =
     pytest {posargs:-vv}
 
@@ -31,19 +31,19 @@
     cleanpy --all --exclude-envs .
 
 [testenv:cov]
+extras =
+    test
 deps =
-    .[test]
     coverage[toml]>=5
 commands =
     coverage run -m pytest {posargs:-vv}
     coverage report -m
 
 [testenv:fmt]
-basepython = python3.8
 skip_install = true
 deps =
-    autoflake
-    black
+    autoflake>=1.4
+    black>=22.6
     isort>=5
 commands =
     autoflake --in-place --recursive --remove-all-unused-imports 
--ignore-init-module-imports .
@@ -51,12 +51,11 @@
     black setup.py test mbstrdecoder
 
 [testenv:lint]
-basepython = python3.8
 skip_install = true
 deps =
     codespell
-    mypy>=0.902
-    pylama
+    mypy>=0.971
+    pylama>=8.4.1
     types-chardet
 commands =
     python setup.py check

Reply via email to