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 2021-10-27 22:21:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mbstrdecoder (Old)
and /work/SRC/openSUSE:Factory/.python-mbstrdecoder.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mbstrdecoder"
Wed Oct 27 22:21:04 2021 rev:8 rq:927596 version:1.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mbstrdecoder/python-mbstrdecoder.changes
2021-09-07 21:22:12.617360174 +0200
+++
/work/SRC/openSUSE:Factory/.python-mbstrdecoder.new.1890/python-mbstrdecoder.changes
2021-10-27 22:21:16.855200975 +0200
@@ -1,0 +2,7 @@
+Tue Oct 26 20:38:26 UTC 2021 - Dirk M??ller <[email protected]>
+
+- update to 1.1.0:
+ * add Python 3.10 support
+ * drop Python 3.5 support
+
+-------------------------------------------------------------------
Old:
----
mbstrdecoder-1.0.1.tar.gz
New:
----
mbstrdecoder-1.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mbstrdecoder.spec ++++++
--- /var/tmp/diff_new_pack.sMoFCg/_old 2021-10-27 22:21:17.439201274 +0200
+++ /var/tmp/diff_new_pack.sMoFCg/_new 2021-10-27 22:21:17.439201274 +0200
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-mbstrdecoder
-Version: 1.0.1
+Version: 1.1.0
Release: 0
Summary: Multi-byte character string decoder
License: MIT
++++++ mbstrdecoder-1.0.1.tar.gz -> mbstrdecoder-1.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mbstrdecoder-1.0.1/PKG-INFO
new/mbstrdecoder-1.1.0/PKG-INFO
--- old/mbstrdecoder-1.0.1/PKG-INFO 2020-12-20 16:18:07.287849000 +0100
+++ new/mbstrdecoder-1.1.0/PKG-INFO 2021-09-20 12:23:46.480000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: mbstrdecoder
-Version: 1.0.1
+Version: 1.1.0
Summary: multi-byte character string decoder
Home-page: https://github.com/thombashi/mbstrdecoder
Author: Tsuyoshi Hombashi
@@ -8,86 +8,6 @@
License: MIT License
Project-URL: Source, https://github.com/thombashi/mbstrdecoder
Project-URL: Tracker, https://github.com/thombashi/mbstrdecoder/issues
-Description: .. contents:: **mbstrdecoder**
- :backlinks: top
- :local:
-
-
- Summary
- =======
- `mbstrdecoder <https://github.com/thombashi/mbstrdecoder>`__ is a
Python library for multi-byte character string decoder.
-
-
- .. image:: https://badge.fury.io/py/mbstrdecoder.svg
- :target: https://badge.fury.io/py/mbstrdecoder
- :alt: PyPI package version
-
- .. image:: https://img.shields.io/pypi/pyversions/mbstrdecoder.svg
- :target: https://pypi.org/project/mbstrdecoder
- :alt: Supported Python versions
-
- .. image:: https://img.shields.io/pypi/implementation/mbstrdecoder.svg
- :target: https://pypi.org/project/mbstrdecoder
- :alt: Supported Python implementations
-
- .. image::
https://img.shields.io/travis/thombashi/mbstrdecoder/master.svg?label=Linux/macOS%20CI
- :target: https://travis-ci.org/thombashi/mbstrdecoder
- :alt: Linux/macOS CI status
-
- .. image::
https://img.shields.io/appveyor/ci/thombashi/mbstrdecoder/master.svg?label=Windows%20CI
- :target: https://ci.appveyor.com/project/thombashi/mbstrdecoder
-
- .. image::
https://coveralls.io/repos/github/thombashi/mbstrdecoder/badge.svg?branch=master
- :target:
https://coveralls.io/github/thombashi/mbstrdecoder?branch=master
- :alt: Test coverage
-
-
- Installation
- ============
-
- Install from PyPI
- ------------------------------
- ::
-
- pip install mbstrdecoder
-
- Install from PPA (for Ubuntu)
- ------------------------------
- ::
-
- sudo add-apt-repository ppa:thombashi/ppa
- sudo apt update
- sudo apt install python3-mbstrdecoder
-
-
- Usage
- =====
-
- :Sample Code:
- .. code:: python
-
- from mbstrdecoder import MultiByteStrDecoder
-
- encoded_multibyte_text =
"????????????????????????".encode("utf-8")
- decoder = MultiByteStrDecoder(encoded_multibyte_text)
-
- print("encoded bytes: {}".format(encoded_multibyte_text))
- print("unicode: {}".format(decoder.unicode_str))
- print("codec: {}".format(decoder.codec))
-
- :Output:
- ::
-
- encoded bytes:
b'\xe3\x83\x9e\xe3\x83\xab\xe3\x83\x81\xe3\x83\x90\xe3\x82\xa4\xe3\x83\x88\xe6\x96\x87\xe5\xad\x97'
- unicode: ????????????????????????
- codec: utf_8
-
-
- Dependencies
- ============
- - Python 3.5+
- - `Python package dependencies (automatically installed)
<https://github.com/thombashi/mbstrdecoder/network/dependencies>`__
-
Keywords: multi-byte character,unicode,decoder
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
@@ -96,16 +16,100 @@
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing
-Requires-Python: >=3.5
+Requires-Python: >=3.6
Description-Content-Type: text/x-rst
Provides-Extra: test
+License-File: LICENSE
+
+.. contents:: **mbstrdecoder**
+ :backlinks: top
+ :local:
+
+
+Summary
+=======
+`mbstrdecoder <https://github.com/thombashi/mbstrdecoder>`__ is a Python
library for multi-byte character string decoder.
+
+
+.. image:: https://badge.fury.io/py/mbstrdecoder.svg
+ :target: https://badge.fury.io/py/mbstrdecoder
+ :alt: PyPI package version
+
+.. image:: https://img.shields.io/pypi/pyversions/mbstrdecoder.svg
+ :target: https://pypi.org/project/mbstrdecoder
+ :alt: Supported Python versions
+
+.. image:: https://img.shields.io/pypi/implementation/mbstrdecoder.svg
+ :target: https://pypi.org/project/mbstrdecoder
+ :alt: Supported Python implementations
+
+.. image::
https://github.com/thombashi/mbstrdecoder/actions/workflows/lint_and_test.yml/badge.svg
+ :target:
https://github.com/thombashi/mbstrdecoder/actions/workflows/lint_and_test.yml
+ :alt: CI status of Linux/macOS/Windows
+
+.. image::
https://coveralls.io/repos/github/thombashi/mbstrdecoder/badge.svg?branch=master
+ :target: https://coveralls.io/github/thombashi/mbstrdecoder?branch=master
+ :alt: Test coverage
+
+.. image::
https://github.com/thombashi/mbstrdecoder/actions/workflows/codeql-analysis.yml/badge.svg
+ :target:
https://github.com/thombashi/mbstrdecoder/actions/workflows/codeql-analysis.yml
+ :alt: CodeQL
+
+
+Installation
+============
+
+Install from PyPI
+------------------------------
+::
+
+ pip install mbstrdecoder
+
+Install from PPA (for Ubuntu)
+------------------------------
+::
+
+ sudo add-apt-repository ppa:thombashi/ppa
+ sudo apt update
+ sudo apt install python3-mbstrdecoder
+
+
+Usage
+=====
+
+:Sample Code:
+ .. code:: python
+
+ from mbstrdecoder import MultiByteStrDecoder
+
+ encoded_multibyte_text = "????????????????????????".encode("utf-8")
+ decoder = MultiByteStrDecoder(encoded_multibyte_text)
+
+ print("encoded bytes: {}".format(encoded_multibyte_text))
+ print("unicode: {}".format(decoder.unicode_str))
+ print("codec: {}".format(decoder.codec))
+
+:Output:
+ ::
+
+ encoded bytes:
b'\xe3\x83\x9e\xe3\x83\xab\xe3\x83\x81\xe3\x83\x90\xe3\x82\xa4\xe3\x83\x88\xe6\x96\x87\xe5\xad\x97'
+ unicode: ????????????????????????
+ codec: utf_8
+
+
+Dependencies
+============
+- 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.0.1/README.rst
new/mbstrdecoder-1.1.0/README.rst
--- old/mbstrdecoder-1.0.1/README.rst 2020-12-20 15:51:49.000000000 +0100
+++ new/mbstrdecoder-1.1.0/README.rst 2021-09-20 12:07:22.000000000 +0200
@@ -20,17 +20,18 @@
:target: https://pypi.org/project/mbstrdecoder
:alt: Supported Python implementations
-.. image::
https://img.shields.io/travis/thombashi/mbstrdecoder/master.svg?label=Linux/macOS%20CI
- :target: https://travis-ci.org/thombashi/mbstrdecoder
- :alt: Linux/macOS CI status
-
-.. image::
https://img.shields.io/appveyor/ci/thombashi/mbstrdecoder/master.svg?label=Windows%20CI
- :target: https://ci.appveyor.com/project/thombashi/mbstrdecoder
+.. image::
https://github.com/thombashi/mbstrdecoder/actions/workflows/lint_and_test.yml/badge.svg
+ :target:
https://github.com/thombashi/mbstrdecoder/actions/workflows/lint_and_test.yml
+ :alt: CI status of Linux/macOS/Windows
.. image::
https://coveralls.io/repos/github/thombashi/mbstrdecoder/badge.svg?branch=master
:target: https://coveralls.io/github/thombashi/mbstrdecoder?branch=master
:alt: Test coverage
+.. image::
https://github.com/thombashi/mbstrdecoder/actions/workflows/codeql-analysis.yml/badge.svg
+ :target:
https://github.com/thombashi/mbstrdecoder/actions/workflows/codeql-analysis.yml
+ :alt: CodeQL
+
Installation
============
@@ -75,5 +76,5 @@
Dependencies
============
-- Python 3.5+
+- 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.0.1/mbstrdecoder/__version__.py
new/mbstrdecoder-1.1.0/mbstrdecoder/__version__.py
--- old/mbstrdecoder-1.0.1/mbstrdecoder/__version__.py 2020-12-20
15:54:49.000000000 +0100
+++ new/mbstrdecoder-1.1.0/mbstrdecoder/__version__.py 2021-09-20
12:19:46.000000000 +0200
@@ -1,6 +1,6 @@
__author__ = "Tsuyoshi Hombashi"
-__copyright__ = "Copyright 2016, {}".format(__author__)
+__copyright__ = f"Copyright 2016, {__author__}"
__license__ = "MIT License"
-__version__ = "1.0.1"
+__version__ = "1.1.0"
__maintainer__ = __author__
__email__ = "[email protected]"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mbstrdecoder-1.0.1/mbstrdecoder/_mbstrdecoder.py
new/mbstrdecoder-1.1.0/mbstrdecoder/_mbstrdecoder.py
--- old/mbstrdecoder-1.0.1/mbstrdecoder/_mbstrdecoder.py 2020-12-19
13:49:38.000000000 +0100
+++ new/mbstrdecoder-1.1.0/mbstrdecoder/_mbstrdecoder.py 2021-09-20
12:08:59.000000000 +0200
@@ -140,9 +140,9 @@
def __init__(self, value, codec_candidates: Sequence[str] = None) -> None:
self.__encoded_str = value
- self.__codec = None # type: Optional[str]
+ self.__codec: Optional[str] = None
if codec_candidates is None:
- self.__codec_candidate_list = [] # type: List[str]
+ self.__codec_candidate_list: List[str] = []
else:
self.__codec_candidate_list = list(codec_candidates)
@@ -151,13 +151,13 @@
self.__unicode_str = self.__to_unicode()
def __repr__(self) -> str:
- return "codec={:s}, unicode={:s}".format(self.codec, self.unicode_str)
+ return f"codec={self.codec:s}, unicode={self.unicode_str:s}"
def __validate_str(self) -> None:
if isinstance(self.__encoded_str, (str, bytes)):
return
- raise ValueError("value must be a string:
actual={}".format(type(self.__encoded_str)))
+ raise ValueError(f"value must be a string:
actual={type(self.__encoded_str)}")
def __is_buffer(self) -> bool:
return isinstance(self.__encoded_str, memoryview)
@@ -262,7 +262,7 @@
self.__codec = None
try:
- return "{}".format(encoded_str)
+ return f"{encoded_str}"
except UnicodeDecodeError:
# some of the objects that cannot convertible to a string
# may reach this line
@@ -271,9 +271,9 @@
self.__codec = None
try:
- message = "unknown codec: encoded_str={}".format(encoded_str)
+ message = f"unknown codec: encoded_str={encoded_str}"
except UnicodeDecodeError:
- message = "unknown codec:
value-type={}".format(type(encoded_str))
+ message = f"unknown codec: value-type={type(encoded_str)}"
raise UnicodeDecodeError(message)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mbstrdecoder-1.0.1/mbstrdecoder.egg-info/PKG-INFO
new/mbstrdecoder-1.1.0/mbstrdecoder.egg-info/PKG-INFO
--- old/mbstrdecoder-1.0.1/mbstrdecoder.egg-info/PKG-INFO 2020-12-20
16:18:04.000000000 +0100
+++ new/mbstrdecoder-1.1.0/mbstrdecoder.egg-info/PKG-INFO 2021-09-20
12:23:46.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: mbstrdecoder
-Version: 1.0.1
+Version: 1.1.0
Summary: multi-byte character string decoder
Home-page: https://github.com/thombashi/mbstrdecoder
Author: Tsuyoshi Hombashi
@@ -8,86 +8,6 @@
License: MIT License
Project-URL: Source, https://github.com/thombashi/mbstrdecoder
Project-URL: Tracker, https://github.com/thombashi/mbstrdecoder/issues
-Description: .. contents:: **mbstrdecoder**
- :backlinks: top
- :local:
-
-
- Summary
- =======
- `mbstrdecoder <https://github.com/thombashi/mbstrdecoder>`__ is a
Python library for multi-byte character string decoder.
-
-
- .. image:: https://badge.fury.io/py/mbstrdecoder.svg
- :target: https://badge.fury.io/py/mbstrdecoder
- :alt: PyPI package version
-
- .. image:: https://img.shields.io/pypi/pyversions/mbstrdecoder.svg
- :target: https://pypi.org/project/mbstrdecoder
- :alt: Supported Python versions
-
- .. image:: https://img.shields.io/pypi/implementation/mbstrdecoder.svg
- :target: https://pypi.org/project/mbstrdecoder
- :alt: Supported Python implementations
-
- .. image::
https://img.shields.io/travis/thombashi/mbstrdecoder/master.svg?label=Linux/macOS%20CI
- :target: https://travis-ci.org/thombashi/mbstrdecoder
- :alt: Linux/macOS CI status
-
- .. image::
https://img.shields.io/appveyor/ci/thombashi/mbstrdecoder/master.svg?label=Windows%20CI
- :target: https://ci.appveyor.com/project/thombashi/mbstrdecoder
-
- .. image::
https://coveralls.io/repos/github/thombashi/mbstrdecoder/badge.svg?branch=master
- :target:
https://coveralls.io/github/thombashi/mbstrdecoder?branch=master
- :alt: Test coverage
-
-
- Installation
- ============
-
- Install from PyPI
- ------------------------------
- ::
-
- pip install mbstrdecoder
-
- Install from PPA (for Ubuntu)
- ------------------------------
- ::
-
- sudo add-apt-repository ppa:thombashi/ppa
- sudo apt update
- sudo apt install python3-mbstrdecoder
-
-
- Usage
- =====
-
- :Sample Code:
- .. code:: python
-
- from mbstrdecoder import MultiByteStrDecoder
-
- encoded_multibyte_text =
"????????????????????????".encode("utf-8")
- decoder = MultiByteStrDecoder(encoded_multibyte_text)
-
- print("encoded bytes: {}".format(encoded_multibyte_text))
- print("unicode: {}".format(decoder.unicode_str))
- print("codec: {}".format(decoder.codec))
-
- :Output:
- ::
-
- encoded bytes:
b'\xe3\x83\x9e\xe3\x83\xab\xe3\x83\x81\xe3\x83\x90\xe3\x82\xa4\xe3\x83\x88\xe6\x96\x87\xe5\xad\x97'
- unicode: ????????????????????????
- codec: utf_8
-
-
- Dependencies
- ============
- - Python 3.5+
- - `Python package dependencies (automatically installed)
<https://github.com/thombashi/mbstrdecoder/network/dependencies>`__
-
Keywords: multi-byte character,unicode,decoder
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
@@ -96,16 +16,100 @@
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing
-Requires-Python: >=3.5
+Requires-Python: >=3.6
Description-Content-Type: text/x-rst
Provides-Extra: test
+License-File: LICENSE
+
+.. contents:: **mbstrdecoder**
+ :backlinks: top
+ :local:
+
+
+Summary
+=======
+`mbstrdecoder <https://github.com/thombashi/mbstrdecoder>`__ is a Python
library for multi-byte character string decoder.
+
+
+.. image:: https://badge.fury.io/py/mbstrdecoder.svg
+ :target: https://badge.fury.io/py/mbstrdecoder
+ :alt: PyPI package version
+
+.. image:: https://img.shields.io/pypi/pyversions/mbstrdecoder.svg
+ :target: https://pypi.org/project/mbstrdecoder
+ :alt: Supported Python versions
+
+.. image:: https://img.shields.io/pypi/implementation/mbstrdecoder.svg
+ :target: https://pypi.org/project/mbstrdecoder
+ :alt: Supported Python implementations
+
+.. image::
https://github.com/thombashi/mbstrdecoder/actions/workflows/lint_and_test.yml/badge.svg
+ :target:
https://github.com/thombashi/mbstrdecoder/actions/workflows/lint_and_test.yml
+ :alt: CI status of Linux/macOS/Windows
+
+.. image::
https://coveralls.io/repos/github/thombashi/mbstrdecoder/badge.svg?branch=master
+ :target: https://coveralls.io/github/thombashi/mbstrdecoder?branch=master
+ :alt: Test coverage
+
+.. image::
https://github.com/thombashi/mbstrdecoder/actions/workflows/codeql-analysis.yml/badge.svg
+ :target:
https://github.com/thombashi/mbstrdecoder/actions/workflows/codeql-analysis.yml
+ :alt: CodeQL
+
+
+Installation
+============
+
+Install from PyPI
+------------------------------
+::
+
+ pip install mbstrdecoder
+
+Install from PPA (for Ubuntu)
+------------------------------
+::
+
+ sudo add-apt-repository ppa:thombashi/ppa
+ sudo apt update
+ sudo apt install python3-mbstrdecoder
+
+
+Usage
+=====
+
+:Sample Code:
+ .. code:: python
+
+ from mbstrdecoder import MultiByteStrDecoder
+
+ encoded_multibyte_text = "????????????????????????".encode("utf-8")
+ decoder = MultiByteStrDecoder(encoded_multibyte_text)
+
+ print("encoded bytes: {}".format(encoded_multibyte_text))
+ print("unicode: {}".format(decoder.unicode_str))
+ print("codec: {}".format(decoder.codec))
+
+:Output:
+ ::
+
+ encoded bytes:
b'\xe3\x83\x9e\xe3\x83\xab\xe3\x83\x81\xe3\x83\x90\xe3\x82\xa4\xe3\x83\x88\xe6\x96\x87\xe5\xad\x97'
+ unicode: ????????????????????????
+ codec: utf_8
+
+
+Dependencies
+============
+- 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.0.1/pyproject.toml
new/mbstrdecoder-1.1.0/pyproject.toml
--- old/mbstrdecoder-1.0.1/pyproject.toml 2020-12-20 15:57:28.000000000
+0100
+++ new/mbstrdecoder-1.1.0/pyproject.toml 2021-09-20 12:07:14.000000000
+0200
@@ -1,3 +1,6 @@
+[build-system]
+requires = ["setuptools", "wheel"]
+
[tool.black]
line-length = 100
exclude = '''
@@ -48,6 +51,16 @@
'warnings.warn',
]
+[tool.mypy]
+ignore_missing_imports = true
+python_version = 3.6
+
+pretty = true
+show_error_codes = true
+show_error_context = true
+warn_unreachable = true
+warn_unused_configs = true
+
[tool.pytest.ini_options]
testpaths = [
"test",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mbstrdecoder-1.0.1/setup.py
new/mbstrdecoder-1.1.0/setup.py
--- old/mbstrdecoder-1.0.1/setup.py 2020-12-19 13:49:38.000000000 +0100
+++ new/mbstrdecoder-1.1.0/setup.py 2021-09-20 12:16:52.000000000 +0200
@@ -9,11 +9,11 @@
MODULE_NAME = "mbstrdecoder"
-REPOSITORY_URL = "https://github.com/thombashi/{:s}".format(MODULE_NAME)
+REPOSITORY_URL = f"https://github.com/thombashi/{MODULE_NAME:s}"
REQUIREMENT_DIR = "requirements"
ENCODING = "utf8"
-pkg_info = {} # type: Dict[str, str]
+pkg_info: Dict[str, str] = {}
def get_release_command_class() -> Dict[str, setuptools.Command]:
@@ -51,8 +51,8 @@
long_description_content_type="text/x-rst",
packages=setuptools.find_packages(exclude=["test*"]),
package_data={MODULE_NAME: ["py.typed"]},
- project_urls={"Source": REPOSITORY_URL, "Tracker":
"{:s}/issues".format(REPOSITORY_URL)},
- python_requires=">=3.5",
+ project_urls={"Source": REPOSITORY_URL, "Tracker":
f"{REPOSITORY_URL:s}/issues"},
+ python_requires=">=3.6",
install_requires=install_requires,
tests_require=tests_require,
extras_require={"test": tests_require},
@@ -63,11 +63,11 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
"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.0.1/tox.ini
new/mbstrdecoder-1.1.0/tox.ini
--- old/mbstrdecoder-1.0.1/tox.ini 2020-12-20 15:37:40.000000000 +0100
+++ new/mbstrdecoder-1.1.0/tox.ini 2021-09-20 12:16:08.000000000 +0200
@@ -1,6 +1,6 @@
[tox]
envlist =
- py{35,36,37,38,39}
+ py{36,37,38,39,310}
pypy3
clean
cov
@@ -24,6 +24,7 @@
python setup.py clean --all
[testenv:clean]
+skip_install = true
deps =
cleanpy
commands =
@@ -39,6 +40,7 @@
[testenv:fmt]
basepython = python3.8
+skip_install = true
deps =
autoflake
black
@@ -50,12 +52,14 @@
[testenv:lint]
basepython = python3.8
+skip_install = true
deps =
codespell
- mypy>=0.761
+ mypy>=0.902
pylama
+ types-chardet
commands =
python setup.py check
-codespell mbstrdecoder examples test -q 2 --check-filenames
--ignore-words-list followings
- -mypy mbstrdecoder setup.py --ignore-missing-imports --show-error-context
--show-error-codes --python-version 3.5
+ mypy mbstrdecoder setup.py
pylama