Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-tcolorpy for openSUSE:Factory
checked in at 2023-12-08 22:33:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tcolorpy (Old)
and /work/SRC/openSUSE:Factory/.python-tcolorpy.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tcolorpy"
Fri Dec 8 22:33:27 2023 rev:4 rq:1132085 version:0.1.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tcolorpy/python-tcolorpy.changes
2022-10-12 18:25:54.641847228 +0200
+++
/work/SRC/openSUSE:Factory/.python-tcolorpy.new.25432/python-tcolorpy.changes
2023-12-08 22:34:22.661131085 +0100
@@ -1,0 +2,12 @@
+Fri Dec 8 12:41:36 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 0.1.4:
+ * Improve type annotations
+ * Modify to use `pypa/build` for package build
+ * Remove deprecated `setup.py` calls
+- update to 0.1.3:
+ * Add support for Python 3.11
+ * Drop support for Python 3.6
+ * Update a help message of CLI
+
+-------------------------------------------------------------------
Old:
----
tcolorpy-0.1.2.tar.gz
New:
----
tcolorpy-0.1.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-tcolorpy.spec ++++++
--- /var/tmp/diff_new_pack.Q0agfw/_old 2023-12-08 22:34:23.141148747 +0100
+++ /var/tmp/diff_new_pack.Q0agfw/_new 2023-12-08 22:34:23.141148747 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-tcolorpy
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,9 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
+%{?sle15_python_module_pythons}
Name: python-tcolorpy
-Version: 0.1.2
+Version: 0.1.4
Release: 0
Summary: Python library to apply true color for terminal text
License: MIT
++++++ tcolorpy-0.1.2.tar.gz -> tcolorpy-0.1.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tcolorpy-0.1.2/PKG-INFO new/tcolorpy-0.1.4/PKG-INFO
--- old/tcolorpy-0.1.2/PKG-INFO 2022-02-26 16:33:56.701723600 +0100
+++ new/tcolorpy-0.1.4/PKG-INFO 2023-09-16 14:35:04.589871000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: tcolorpy
-Version: 0.1.2
+Version: 0.1.4
Summary: tcolopy is a Python library to apply true color for terminal text.
Home-page: https://github.com/thombashi/tcolorpy
Author: Tsuyoshi Hombashi
@@ -9,17 +9,16 @@
Project-URL: Source, https://github.com/thombashi/tcolorpy
Project-URL: Tracker, https://github.com/thombashi/tcolorpy/issues
Keywords: ANSI escape,terminal color,truecolor
-Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
-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 :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -27,10 +26,12 @@
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Terminals
Classifier: Topic :: Text Processing
-Requires-Python: >=3.6
+Requires-Python: >=3.7
Description-Content-Type: text/x-rst
-Provides-Extra: test
License-File: LICENSE
+Provides-Extra: test
+Requires-Dist: pytest>=6.0.1; extra == "test"
+Requires-Dist: pytest-md-report>=0.4.1; extra == "test"
.. contents:: **tcolorpy**
:backlinks: top
@@ -103,7 +104,7 @@
You can set the following ``tcolor`` arguments:
- ``color``/``bg_color``
- - color names (``"red"``, ``"red"``, etc.) or color code (``"#RRGGBB"``)
+ - color names (``"red"``, ``"green"``, etc.) or color code (``"#RRGGBB"``)
- ``styles``
- ``"bold"``, ``"italic"``, etc.
@@ -118,7 +119,7 @@
`example source code
<https://github.com/thombashi/tcolorpy/blob/master/examples/ansi_styles.py>`__
-You can also specify colors by names:
+You can also specify colors by name:
.. figure::
https://cdn.jsdelivr.net/gh/thombashi/tcolorpy@master/ss/ansi_colors.png
:scale: 60%
@@ -139,34 +140,23 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
- usage: __main__.py [-h] [-c COLOR] [-b BG_COLOR] [-s STYLES] [--encode
ENCODE]
- string
+ usage: __main__.py [-h] [-c COLOR] [-b BG_COLOR] [-s STYLES] [--encode
ENCODE] string
positional arguments:
string string to apply styles.
- optional arguments:
+ options:
-h, --help show this help message and exit
-c COLOR, --color COLOR
- specify a color code (#XXXXXX) or a name. valid
names
- are: black, red, green, yellow, blue, magenta,
cyan,
- white, lightblack, lightred, lightgreen,
lightyellow,
- lightblue, lightmagenta, lightcyan, lightwhite
+ specify a color code (#XXXXXX) or a name. valid
names are: black, red, green, yellow, blue, magenta, cyan, white, lightblack,
lightred, lightgreen, lightyellow, lightblue, lightmagenta, lightcyan,
lightwhite
-b BG_COLOR, --bg-color BG_COLOR
- specify a background color code (#XXXXXX) or a
name.
- valid names are: black, red, green, yellow, blue,
- magenta, cyan, white, lightblack, lightred,
- lightgreen, lightyellow, lightblue, lightmagenta,
- lightcyan, lightwhite
+ specify a background color code (#XXXXXX) or a
name. valid names are: black, red, green, yellow, blue, magenta, cyan, white,
lightblack, lightred, lightgreen, lightyellow, lightblue, lightmagenta,
lightcyan, lightwhite
-s STYLES, --styles STYLES
- specify a comma separated styles. valid values are:
- bold, dim, italic, underline, blink, invert, strike
+ specify a comma-separated style. valid values are:
bold, dim, italic, underline, blink, invert, strike
--encode ENCODE output a text encoded with the specified encoding
Dependencies
============================================
-Python 3.6+
+Python 3.7+
no external dependencies.
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tcolorpy-0.1.2/README.rst
new/tcolorpy-0.1.4/README.rst
--- old/tcolorpy-0.1.2/README.rst 2022-02-26 16:33:35.000000000 +0100
+++ new/tcolorpy-0.1.4/README.rst 2023-09-16 14:34:39.000000000 +0200
@@ -69,7 +69,7 @@
You can set the following ``tcolor`` arguments:
- ``color``/``bg_color``
- - color names (``"red"``, ``"red"``, etc.) or color code (``"#RRGGBB"``)
+ - color names (``"red"``, ``"green"``, etc.) or color code (``"#RRGGBB"``)
- ``styles``
- ``"bold"``, ``"italic"``, etc.
@@ -84,7 +84,7 @@
`example source code
<https://github.com/thombashi/tcolorpy/blob/master/examples/ansi_styles.py>`__
-You can also specify colors by names:
+You can also specify colors by name:
.. figure::
https://cdn.jsdelivr.net/gh/thombashi/tcolorpy@master/ss/ansi_colors.png
:scale: 60%
@@ -105,32 +105,23 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
- usage: __main__.py [-h] [-c COLOR] [-b BG_COLOR] [-s STYLES] [--encode
ENCODE]
- string
+ usage: __main__.py [-h] [-c COLOR] [-b BG_COLOR] [-s STYLES] [--encode
ENCODE] string
positional arguments:
string string to apply styles.
- optional arguments:
+ options:
-h, --help show this help message and exit
-c COLOR, --color COLOR
- specify a color code (#XXXXXX) or a name. valid
names
- are: black, red, green, yellow, blue, magenta,
cyan,
- white, lightblack, lightred, lightgreen,
lightyellow,
- lightblue, lightmagenta, lightcyan, lightwhite
+ specify a color code (#XXXXXX) or a name. valid
names are: black, red, green, yellow, blue, magenta, cyan, white, lightblack,
lightred, lightgreen, lightyellow, lightblue, lightmagenta, lightcyan,
lightwhite
-b BG_COLOR, --bg-color BG_COLOR
- specify a background color code (#XXXXXX) or a
name.
- valid names are: black, red, green, yellow, blue,
- magenta, cyan, white, lightblack, lightred,
- lightgreen, lightyellow, lightblue, lightmagenta,
- lightcyan, lightwhite
+ specify a background color code (#XXXXXX) or a
name. valid names are: black, red, green, yellow, blue, magenta, cyan, white,
lightblack, lightred, lightgreen, lightyellow, lightblue, lightmagenta,
lightcyan, lightwhite
-s STYLES, --styles STYLES
- specify a comma separated styles. valid values are:
- bold, dim, italic, underline, blink, invert, strike
+ specify a comma-separated style. valid values are:
bold, dim, italic, underline, blink, invert, strike
--encode ENCODE output a text encoded with the specified encoding
Dependencies
============================================
-Python 3.6+
+Python 3.7+
no external dependencies.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tcolorpy-0.1.2/pyproject.toml
new/tcolorpy-0.1.4/pyproject.toml
--- old/tcolorpy-0.1.2/pyproject.toml 2022-02-26 16:33:35.000000000 +0100
+++ new/tcolorpy-0.1.4/pyproject.toml 2023-09-16 14:34:39.000000000 +0200
@@ -1,8 +1,8 @@
[build-system]
-requires = ["setuptools", "wheel"]
+build-backend = "setuptools.build_meta"
+requires = ["setuptools>=61.0"]
[tool.black]
-line-length = 100
exclude = '''
/(
\.eggs
@@ -18,55 +18,63 @@
)/
| docs/conf.py
'''
-target-version = ['py36', 'py37', 'py38', 'py39', 'py310']
+line-length = 100
+target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
[tool.coverage.run]
-source = ['tcolorpy']
branch = true
+source = ['tcolorpy']
[tool.coverage.report]
-show_missing = true
-precision = 1
exclude_lines = [
- 'except ImportError',
- 'raise NotImplementedError',
- 'pass',
- 'ABCmeta',
- 'abstractmethod',
- 'abstractproperty',
- 'abstractclassmethod',
- 'warnings.warn',
+ 'except ImportError',
+ 'raise NotImplementedError',
+ 'pass',
+ 'ABCmeta',
+ 'abstractmethod',
+ 'abstractproperty',
+ 'abstractclassmethod',
+ 'warnings.warn',
]
+precision = 1
+show_missing = true
[tool.isort]
+include_trailing_comma = true
known_third_party = [
- 'pytest',
+ 'pytest',
]
-include_trailing_comma = true
line_length = 100
lines_after_imports = 2
multi_line_output = 3
skip_glob = [
- '*/.eggs/*',
- '*/.pytype/*',
- '*/.tox/*',
+ '*/.eggs/*',
+ '*/.pytype/*',
+ '*/.tox/*',
]
[tool.mypy]
ignore_missing_imports = true
-python_version = 3.6
+python_version = 3.7
pretty = true
+
+check_untyped_defs = true
+disallow_incomplete_defs = true
+disallow_untyped_defs = true
+no_implicit_optional = true
show_error_codes = true
show_error_context = true
+warn_redundant_casts = true
warn_unreachable = true
warn_unused_configs = true
+warn_unused_ignores = true
[tool.pytest.ini_options]
testpaths = [
- "test",
+ "test",
]
md_report = true
-md_report_verbose = 0
md_report_color = "auto"
+md_report_verbose = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tcolorpy-0.1.2/requirements/test_requirements.txt
new/tcolorpy-0.1.4/requirements/test_requirements.txt
--- old/tcolorpy-0.1.2/requirements/test_requirements.txt 2022-02-26
16:33:35.000000000 +0100
+++ new/tcolorpy-0.1.4/requirements/test_requirements.txt 2023-09-16
14:34:39.000000000 +0200
@@ -1,2 +1,2 @@
-pytest
-pytest-md-report>=0.1
+pytest>=6.0.1
+pytest-md-report>=0.4.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tcolorpy-0.1.2/setup.py new/tcolorpy-0.1.4/setup.py
--- old/tcolorpy-0.1.2/setup.py 2022-02-26 16:33:35.000000000 +0100
+++ new/tcolorpy-0.1.4/setup.py 2023-09-16 14:34:39.000000000 +0200
@@ -1,5 +1,5 @@
import os.path
-from typing import Dict
+from typing import Dict, Type
import setuptools
@@ -11,7 +11,7 @@
pkg_info: Dict[str, str] = {}
-def get_release_command_class() -> Dict[str, setuptools.Command]:
+def get_release_command_class() -> Dict[str, Type[setuptools.Command]]:
try:
from releasecmd import ReleaseCommand
except ImportError:
@@ -47,7 +47,7 @@
"Source": REPOSITORY_URL,
"Tracker": f"{REPOSITORY_URL:s}/issues",
},
- python_requires=">=3.6",
+ python_requires=">=3.7",
extras_require={"test": TESTS_REQUIRES},
classifiers=[
"Development Status :: 4 - Beta",
@@ -55,11 +55,11 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
- "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 :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tcolorpy-0.1.2/tcolorpy/__main__.py
new/tcolorpy-0.1.4/tcolorpy/__main__.py
--- old/tcolorpy-0.1.2/tcolorpy/__main__.py 2022-02-26 16:33:35.000000000
+0100
+++ new/tcolorpy-0.1.4/tcolorpy/__main__.py 2023-09-16 14:34:39.000000000
+0200
@@ -26,7 +26,7 @@
parser.add_argument(
"-s",
"--styles",
- help="specify a comma separated styles. valid values are: {}".format(
+ help="specify a comma-separated style. valid values are: {}".format(
", ".join([style.name.lower() for style in list(AnsiStyle)])
),
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tcolorpy-0.1.2/tcolorpy/__version__.py
new/tcolorpy-0.1.4/tcolorpy/__version__.py
--- old/tcolorpy-0.1.2/tcolorpy/__version__.py 2022-02-26 16:33:35.000000000
+0100
+++ new/tcolorpy-0.1.4/tcolorpy/__version__.py 2023-09-16 14:34:39.000000000
+0200
@@ -1,6 +1,6 @@
__author__ = "Tsuyoshi Hombashi"
__copyright__ = f"Copyright 2020, {__author__}"
__license__ = "MIT License"
-__version__ = "0.1.2"
+__version__ = "0.1.4"
__maintainer__ = __author__
__email__ = "[email protected]"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tcolorpy-0.1.2/tcolorpy/_truecolor.py
new/tcolorpy-0.1.4/tcolorpy/_truecolor.py
--- old/tcolorpy-0.1.2/tcolorpy/_truecolor.py 2022-02-26 16:33:35.000000000
+0100
+++ new/tcolorpy-0.1.4/tcolorpy/_truecolor.py 2023-09-16 14:34:39.000000000
+0200
@@ -2,7 +2,7 @@
from collections import namedtuple
from colorsys import rgb_to_hsv
from enum import Enum
-from typing import List, Optional, Sequence, Tuple, Type, Union, cast # noqa
+from typing import Any, List, Optional, Sequence, Tuple, Type, Union, cast #
noqa
from ._const import CSI, RESET, AnsiBGColor, AnsiFGColor, AnsiStyle
@@ -68,7 +68,10 @@
self.__name = color.name # type: ignore
self.red, self.green, self.blue = color.red, color.green,
color.blue # type: ignore
- def __eq__(self, other) -> bool:
+ def __eq__(self, other: Any) -> bool:
+ if not isinstance(other, Color):
+ return False
+
if self.name and other.name:
return self.name == other.name
elif self.name or other.name:
@@ -79,7 +82,10 @@
return False
- def __ne__(self, other) -> bool:
+ def __ne__(self, other: Any) -> bool:
+ if not isinstance(other, Color):
+ return True
+
return not self.__eq__(other)
def __repr__(self) -> str:
@@ -131,13 +137,13 @@
def calc_scaler(self) -> int:
return self.red + self.green + self.blue
- def calc_complementary(self):
+ def calc_complementary(self) -> "Color":
rgb = (self.red, self.green, self.blue)
n = max(rgb) + min(rgb)
return Color((n - self.red, n - self.green, n - self.blue))
-def _normalize_enum(value, enum_class: Type[Enum]):
+def _normalize_enum(value: Any, enum_class: Type[Enum]) -> Any:
if isinstance(value, enum_class):
return value
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tcolorpy-0.1.2/tcolorpy.egg-info/PKG-INFO
new/tcolorpy-0.1.4/tcolorpy.egg-info/PKG-INFO
--- old/tcolorpy-0.1.2/tcolorpy.egg-info/PKG-INFO 2022-02-26
16:33:56.000000000 +0100
+++ new/tcolorpy-0.1.4/tcolorpy.egg-info/PKG-INFO 2023-09-16
14:35:04.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: tcolorpy
-Version: 0.1.2
+Version: 0.1.4
Summary: tcolopy is a Python library to apply true color for terminal text.
Home-page: https://github.com/thombashi/tcolorpy
Author: Tsuyoshi Hombashi
@@ -9,17 +9,16 @@
Project-URL: Source, https://github.com/thombashi/tcolorpy
Project-URL: Tracker, https://github.com/thombashi/tcolorpy/issues
Keywords: ANSI escape,terminal color,truecolor
-Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
-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 :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -27,10 +26,12 @@
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Terminals
Classifier: Topic :: Text Processing
-Requires-Python: >=3.6
+Requires-Python: >=3.7
Description-Content-Type: text/x-rst
-Provides-Extra: test
License-File: LICENSE
+Provides-Extra: test
+Requires-Dist: pytest>=6.0.1; extra == "test"
+Requires-Dist: pytest-md-report>=0.4.1; extra == "test"
.. contents:: **tcolorpy**
:backlinks: top
@@ -103,7 +104,7 @@
You can set the following ``tcolor`` arguments:
- ``color``/``bg_color``
- - color names (``"red"``, ``"red"``, etc.) or color code (``"#RRGGBB"``)
+ - color names (``"red"``, ``"green"``, etc.) or color code (``"#RRGGBB"``)
- ``styles``
- ``"bold"``, ``"italic"``, etc.
@@ -118,7 +119,7 @@
`example source code
<https://github.com/thombashi/tcolorpy/blob/master/examples/ansi_styles.py>`__
-You can also specify colors by names:
+You can also specify colors by name:
.. figure::
https://cdn.jsdelivr.net/gh/thombashi/tcolorpy@master/ss/ansi_colors.png
:scale: 60%
@@ -139,34 +140,23 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
- usage: __main__.py [-h] [-c COLOR] [-b BG_COLOR] [-s STYLES] [--encode
ENCODE]
- string
+ usage: __main__.py [-h] [-c COLOR] [-b BG_COLOR] [-s STYLES] [--encode
ENCODE] string
positional arguments:
string string to apply styles.
- optional arguments:
+ options:
-h, --help show this help message and exit
-c COLOR, --color COLOR
- specify a color code (#XXXXXX) or a name. valid
names
- are: black, red, green, yellow, blue, magenta,
cyan,
- white, lightblack, lightred, lightgreen,
lightyellow,
- lightblue, lightmagenta, lightcyan, lightwhite
+ specify a color code (#XXXXXX) or a name. valid
names are: black, red, green, yellow, blue, magenta, cyan, white, lightblack,
lightred, lightgreen, lightyellow, lightblue, lightmagenta, lightcyan,
lightwhite
-b BG_COLOR, --bg-color BG_COLOR
- specify a background color code (#XXXXXX) or a
name.
- valid names are: black, red, green, yellow, blue,
- magenta, cyan, white, lightblack, lightred,
- lightgreen, lightyellow, lightblue, lightmagenta,
- lightcyan, lightwhite
+ specify a background color code (#XXXXXX) or a
name. valid names are: black, red, green, yellow, blue, magenta, cyan, white,
lightblack, lightred, lightgreen, lightyellow, lightblue, lightmagenta,
lightcyan, lightwhite
-s STYLES, --styles STYLES
- specify a comma separated styles. valid values are:
- bold, dim, italic, underline, blink, invert, strike
+ specify a comma-separated style. valid values are:
bold, dim, italic, underline, blink, invert, strike
--encode ENCODE output a text encoded with the specified encoding
Dependencies
============================================
-Python 3.6+
+Python 3.7+
no external dependencies.
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tcolorpy-0.1.2/tcolorpy.egg-info/requires.txt
new/tcolorpy-0.1.4/tcolorpy.egg-info/requires.txt
--- old/tcolorpy-0.1.2/tcolorpy.egg-info/requires.txt 2022-02-26
16:33:56.000000000 +0100
+++ new/tcolorpy-0.1.4/tcolorpy.egg-info/requires.txt 2023-09-16
14:35:04.000000000 +0200
@@ -1,4 +1,4 @@
[test]
-pytest
-pytest-md-report>=0.1
+pytest>=6.0.1
+pytest-md-report>=0.4.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tcolorpy-0.1.2/tox.ini new/tcolorpy-0.1.4/tox.ini
--- old/tcolorpy-0.1.2/tox.ini 2022-02-26 16:33:35.000000000 +0100
+++ new/tcolorpy-0.1.4/tox.ini 2023-09-16 14:34:39.000000000 +0200
@@ -1,9 +1,8 @@
[tox]
envlist =
- py{36,37,38,39,310}
+ py{37,38,39,310,311}
pypy3
build
- clean
cov
fmt
lint
@@ -15,19 +14,17 @@
pytest {posargs}
[testenv:build]
-basepython = python3.8
deps =
+ build>=0.10
twine
- wheel
commands =
- python setup.py sdist bdist_wheel
+ python -m build
twine check dist/*.whl dist/*.tar.gz
- python setup.py clean --all
[testenv:clean]
skip_install = true
deps =
- cleanpy>=0.3.1
+ cleanpy>=0.4
commands =
cleanpy --all --exclude-envs .
@@ -44,8 +41,8 @@
[testenv:fmt]
skip_install = true
deps =
- autoflake>=1.4
- black>=22.1
+ autoflake>=2
+ black>=23.1
isort>=5
commands =
autoflake --in-place --recursive --remove-all-unused-imports
--ignore-init-module-imports .
@@ -53,12 +50,10 @@
black setup.py test tcolorpy examples
[testenv:lint]
-basepython = python3.8
skip_install = true
deps =
- mypy>=0.931
- pylama>=8.3.6
+ mypy>=1
+ pylama>=8.4.1
commands =
- python setup.py check
mypy tcolorpy setup.py
pylama