Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-python-utils for 
openSUSE:Factory checked in at 2021-12-09 19:45:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-utils (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-utils.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-utils"

Thu Dec  9 19:45:30 2021 rev:5 rq:937343 version:2.5.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-utils/python-python-utils.changes  
2020-03-21 00:02:48.733145745 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-python-utils.new.2520/python-python-utils.changes
        2021-12-09 19:45:59.209144160 +0100
@@ -1,0 +2,10 @@
+Wed Dec  8 09:03:34 UTC 2021 - pgaj...@suse.com
+
+- do not require pytest-runner for build, it is not needed
+
+-------------------------------------------------------------------
+Sat Oct 23 16:28:04 UTC 2021 - Axel Braun <axel.br...@gmx.de>
+
+- version 2.5.6
+
+-------------------------------------------------------------------

Old:
----
  python-utils-2.4.0.tar.gz

New:
----
  python-utils-2.5.6.tar.gz

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

Other differences:
------------------
++++++ python-python-utils.spec ++++++
--- /var/tmp/diff_new_pack.AcgwjS/_old  2021-12-09 19:46:00.421144743 +0100
+++ /var/tmp/diff_new_pack.AcgwjS/_new  2021-12-09 19:46:00.425144745 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-python-utils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-python-utils
-Version:        2.4.0
+Version:        2.5.6
 Release:        0
 Summary:        Utilities not included with the standard Python install
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/WoLpH/python-utils
 Source:         
https://files.pythonhosted.org/packages/source/p/python-utils/python-utils-%{version}.tar.gz
-BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -53,14 +52,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# default test settings enable some pytest backends we don't care about
-mv pytest.ini old_pytest.ini_old
-%{python_expand rm -rf _build.* build tests/__pycache__ tests/*.pyc tests/*.pyo
-export PYTHONDONTWRITEBYTECODE=1
-export PYTHONPATH=%{buildroot}%{$python_sitelib}
-py.test-%{$python_bin_suffix} tests/*.py
-}
-mv old_pytest.ini_old pytest.ini
+mv pytest.ini{,.hide}
+%pytest
+mv pytest.ini{.hide,}
 
 %files %{python_files}
 %doc README.rst

++++++ python-utils-2.4.0.tar.gz -> python-utils-2.5.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-utils-2.4.0/MANIFEST.in 
new/python-utils-2.5.6/MANIFEST.in
--- old/python-utils-2.4.0/MANIFEST.in  2018-02-12 00:05:31.000000000 +0100
+++ new/python-utils-2.5.6/MANIFEST.in  2021-01-26 11:44:41.000000000 +0100
@@ -7,4 +7,5 @@
 include setup.cfg
 include setup.py
 include tox.ini
-recursive-include tests *
+recursive-include _python_utils_tests *.py *.txt
+recursive-exclude __pycache__ *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-utils-2.4.0/PKG-INFO 
new/python-utils-2.5.6/PKG-INFO
--- old/python-utils-2.4.0/PKG-INFO     2020-03-03 02:01:40.710834500 +0100
+++ new/python-utils-2.5.6/PKG-INFO     2021-02-04 01:38:11.756307100 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: python-utils
-Version: 2.4.0
+Version: 2.5.6
 Summary: Python Utils is a module with some convenient utilities not included 
with the standard Python install
 Home-page: https://github.com/WoLpH/python-utils
 Author: Rick van Hattem
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-utils-2.4.0/_python_utils_tests/requirements.txt 
new/python-utils-2.5.6/_python_utils_tests/requirements.txt
--- old/python-utils-2.4.0/_python_utils_tests/requirements.txt 1970-01-01 
01:00:00.000000000 +0100
+++ new/python-utils-2.5.6/_python_utils_tests/requirements.txt 2021-01-21 
04:06:33.000000000 +0100
@@ -0,0 +1,6 @@
+-r ../requirements.txt
+flake8
+pytest
+pytest-cov
+pytest-flake8
+sphinx
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-utils-2.4.0/_python_utils_tests/test_import.py 
new/python-utils-2.5.6/_python_utils_tests/test_import.py
--- old/python-utils-2.4.0/_python_utils_tests/test_import.py   1970-01-01 
01:00:00.000000000 +0100
+++ new/python-utils-2.5.6/_python_utils_tests/test_import.py   2021-01-21 
04:06:33.000000000 +0100
@@ -0,0 +1,50 @@
+from python_utils import import_
+
+
+def test_import_globals_relative_import():
+    for i in range(-1, 5):
+        relative_import(i)
+
+
+def relative_import(level):
+    locals_ = {}
+    globals_ = {'__name__': 'python_utils.import_'}
+    import_.import_global('.formatters', locals_=locals_, globals_=globals_)
+    import pprint
+    pprint.pprint(globals_)
+    assert 'camel_to_underscore' in globals_
+
+
+def test_import_globals_without_inspection():
+    locals_ = {}
+    globals_ = {'__name__': __name__}
+    import_.import_global(
+        'python_utils.formatters', locals_=locals_, globals_=globals_)
+    assert 'camel_to_underscore' in globals_
+
+
+def test_import_globals_single_method():
+    locals_ = {}
+    globals_ = {'__name__': __name__}
+    import_.import_global(
+        'python_utils.formatters', ['camel_to_underscore'], locals_=locals_,
+        globals_=globals_)
+    assert 'camel_to_underscore' in globals_
+
+
+def test_import_globals_with_inspection():
+    import_.import_global('python_utils.formatters')
+    assert 'camel_to_underscore' in globals()
+
+
+def test_import_globals_missing_module():
+    import_.import_global(
+        'python_utils.spam', exceptions=ImportError, locals_=locals())
+    assert 'camel_to_underscore' in globals()
+
+
+def test_import_locals_missing_module():
+    import_.import_global(
+        'python_utils.spam', exceptions=ImportError, globals_=globals())
+    assert 'camel_to_underscore' in globals()
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-utils-2.4.0/_python_utils_tests/test_python_utils.py 
new/python-utils-2.5.6/_python_utils_tests/test_python_utils.py
--- old/python-utils-2.4.0/_python_utils_tests/test_python_utils.py     
1970-01-01 01:00:00.000000000 +0100
+++ new/python-utils-2.5.6/_python_utils_tests/test_python_utils.py     
2021-01-21 04:06:33.000000000 +0100
@@ -0,0 +1,10 @@
+from python_utils import __about__
+
+
+def test_definitions():
+    # The setup.py requires this so we better make sure they exist :)
+    assert __about__.__version__
+    assert __about__.__author__
+    assert __about__.__author_email__
+    assert __about__.__description__
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-utils-2.4.0/pytest.ini 
new/python-utils-2.5.6/pytest.ini
--- old/python-utils-2.4.0/pytest.ini   2016-06-03 10:59:48.000000000 +0200
+++ new/python-utils-2.5.6/pytest.ini   2021-01-21 04:06:33.000000000 +0100
@@ -1,23 +1,19 @@
 [pytest]
 python_files =
-    python_Utils/*.py
-    tests/*.py
+    python_utils/*.py
+    _python_utils_tests/*.py
 
 addopts =
+    --doctest-modules
+    --flake8
     --cov python_utils
     --cov-report html
     --cov-report term-missing
-    --doctest-modules
-    --pep8
-    --flakes
 
-pep8ignore =
+flake8-ignore =
     *.py W391
     docs/*.py ALL
 
-flakes-ignore =
-    docs/*.py ALL
-
 doctest_optionflags = 
     ALLOW_UNICODE
     ALLOW_BYTES
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-utils-2.4.0/python_utils/__about__.py 
new/python-utils-2.5.6/python_utils/__about__.py
--- old/python-utils-2.4.0/python_utils/__about__.py    2020-03-03 
02:01:23.000000000 +0100
+++ new/python-utils-2.5.6/python_utils/__about__.py    2021-02-04 
01:38:07.000000000 +0100
@@ -1,5 +1,5 @@
 __package_name__ = 'python-utils'
-__version__ = '2.4.0'
+__version__ = '2.5.6'
 __author__ = 'Rick van Hattem'
 __author_email__ = 'wo...@wol.ph'
 __description__ = (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-utils-2.4.0/python_utils/decorators.py 
new/python-utils-2.5.6/python_utils/decorators.py
--- old/python-utils-2.4.0/python_utils/decorators.py   1970-01-01 
01:00:00.000000000 +0100
+++ new/python-utils-2.5.6/python_utils/decorators.py   2021-01-15 
10:46:38.000000000 +0100
@@ -0,0 +1,30 @@
+
+
+def set_attributes(**kwargs):
+    '''Decorator to set attributes on functions and classes
+
+    A common usage for this pattern is the Django Admin where
+    functions can get an optional short_description. To illustrate:
+
+    Example from the Django admin using this decorator:
+    
https://docs.djangoproject.com/en/3.0/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_display
+
+    Our simplified version:
+
+    >>> @set_attributes(short_description='Name')
+    ... def upper_case_name(self, obj):
+    ...     return ("%s %s" % (obj.first_name, obj.last_name)).upper()
+
+    The standard Django version:
+
+    >>> def upper_case_name(obj):
+    ...     return ("%s %s" % (obj.first_name, obj.last_name)).upper()
+
+    >>> upper_case_name.short_description = 'Name'
+
+    '''
+    def _set_attributes(function):
+        for key, value in kwargs.items():
+            setattr(function, key, value)
+        return function
+    return _set_attributes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-utils-2.4.0/python_utils/logger.py 
new/python-utils-2.5.6/python_utils/logger.py
--- old/python-utils-2.4.0/python_utils/logger.py       2015-06-17 
19:43:45.000000000 +0200
+++ new/python-utils-2.5.6/python_utils/logger.py       2021-02-04 
01:38:07.000000000 +0100
@@ -23,7 +23,7 @@
     '''
     def __new__(cls, *args, **kwargs):
         cls.logger = logging.getLogger(
-            cls.__get_name(__name__, cls.__class__.__name__))
+            cls.__get_name(cls.__module__, cls.__name__))
         return super(Logged, cls).__new__(cls)
 
     @classmethod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-utils-2.4.0/python_utils.egg-info/PKG-INFO 
new/python-utils-2.5.6/python_utils.egg-info/PKG-INFO
--- old/python-utils-2.4.0/python_utils.egg-info/PKG-INFO       2020-03-03 
02:01:40.000000000 +0100
+++ new/python-utils-2.5.6/python_utils.egg-info/PKG-INFO       2021-02-04 
01:38:11.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: python-utils
-Version: 2.4.0
+Version: 2.5.6
 Summary: Python Utils is a module with some convenient utilities not included 
with the standard Python install
 Home-page: https://github.com/WoLpH/python-utils
 Author: Rick van Hattem
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-utils-2.4.0/python_utils.egg-info/SOURCES.txt 
new/python-utils-2.5.6/python_utils.egg-info/SOURCES.txt
--- old/python-utils-2.4.0/python_utils.egg-info/SOURCES.txt    2020-03-03 
02:01:40.000000000 +0100
+++ new/python-utils-2.5.6/python_utils.egg-info/SOURCES.txt    2021-02-04 
01:38:11.000000000 +0100
@@ -7,10 +7,15 @@
 setup.cfg
 setup.py
 tox.ini
+_python_utils_tests/__init__.py
+_python_utils_tests/requirements.txt
+_python_utils_tests/test_import.py
+_python_utils_tests/test_python_utils.py
 python_utils/__about__.py
 python_utils/__init__.py
 python_utils/compat.py
 python_utils/converters.py
+python_utils/decorators.py
 python_utils/formatters.py
 python_utils/import_.py
 python_utils/logger.py
@@ -19,26 +24,5 @@
 python_utils.egg-info/PKG-INFO
 python_utils.egg-info/SOURCES.txt
 python_utils.egg-info/dependency_links.txt
-python_utils.egg-info/pbr.json
 python_utils.egg-info/requires.txt
-python_utils.egg-info/top_level.txt
-tests/import_.pyc
-tests/requirements.txt
-tests/test_import.py
-tests/test_import.pyc
-tests/test_python_utils.py
-tests/test_python_utils.pyc
-tests/__pycache__/test_import.cpython-27-PYTEST.pyc
-tests/__pycache__/test_import.cpython-35-PYTEST.pyc
-tests/__pycache__/test_import.cpython-35.pyc
-tests/__pycache__/test_import.cpython-36-PYTEST.pyc
-tests/__pycache__/test_import.cpython-38-pytest-5.3.5.pyc
-tests/__pycache__/test_import.pypy-27-PYTEST.pyc
-tests/__pycache__/test_import.pypy3-24-PYTEST.pyc
-tests/__pycache__/test_python_utils.cpython-27-PYTEST.pyc
-tests/__pycache__/test_python_utils.cpython-35-PYTEST.pyc
-tests/__pycache__/test_python_utils.cpython-35.pyc
-tests/__pycache__/test_python_utils.cpython-36-PYTEST.pyc
-tests/__pycache__/test_python_utils.cpython-38-pytest-5.3.5.pyc
-tests/__pycache__/test_python_utils.pypy-27-PYTEST.pyc
-tests/__pycache__/test_python_utils.pypy3-24-PYTEST.pyc
\ No newline at end of file
+python_utils.egg-info/top_level.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-utils-2.4.0/python_utils.egg-info/pbr.json 
new/python-utils-2.5.6/python_utils.egg-info/pbr.json
--- old/python-utils-2.4.0/python_utils.egg-info/pbr.json       2015-06-17 
19:43:46.000000000 +0200
+++ new/python-utils-2.5.6/python_utils.egg-info/pbr.json       1970-01-01 
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-{"is_release": false, "git_version": "3209056"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-utils-2.4.0/setup.py 
new/python-utils-2.5.6/setup.py
--- old/python-utils-2.4.0/setup.py     2020-03-03 02:01:23.000000000 +0100
+++ new/python-utils-2.5.6/setup.py     2021-01-26 11:40:05.000000000 +0100
@@ -28,7 +28,8 @@
         description=about['__description__'],
         url=about['__url__'],
         license='BSD',
-        packages=setuptools.find_packages(),
+        packages=setuptools.find_packages(exclude=[
+            '_python_utils_tests', '*.__pycache__']),
         long_description=long_description,
         install_requires=['six'],
         tests_require=['pytest'],
Binary files 
old/python-utils-2.4.0/tests/__pycache__/test_import.cpython-27-PYTEST.pyc and 
new/python-utils-2.5.6/tests/__pycache__/test_import.cpython-27-PYTEST.pyc 
differ
Binary files 
old/python-utils-2.4.0/tests/__pycache__/test_import.cpython-35-PYTEST.pyc and 
new/python-utils-2.5.6/tests/__pycache__/test_import.cpython-35-PYTEST.pyc 
differ
Binary files 
old/python-utils-2.4.0/tests/__pycache__/test_import.cpython-35.pyc and 
new/python-utils-2.5.6/tests/__pycache__/test_import.cpython-35.pyc differ
Binary files 
old/python-utils-2.4.0/tests/__pycache__/test_import.cpython-36-PYTEST.pyc and 
new/python-utils-2.5.6/tests/__pycache__/test_import.cpython-36-PYTEST.pyc 
differ
Binary files 
old/python-utils-2.4.0/tests/__pycache__/test_import.cpython-38-pytest-5.3.5.pyc
 and 
new/python-utils-2.5.6/tests/__pycache__/test_import.cpython-38-pytest-5.3.5.pyc
 differ
Binary files 
old/python-utils-2.4.0/tests/__pycache__/test_import.pypy-27-PYTEST.pyc and 
new/python-utils-2.5.6/tests/__pycache__/test_import.pypy-27-PYTEST.pyc differ
Binary files 
old/python-utils-2.4.0/tests/__pycache__/test_import.pypy3-24-PYTEST.pyc and 
new/python-utils-2.5.6/tests/__pycache__/test_import.pypy3-24-PYTEST.pyc differ
Binary files 
old/python-utils-2.4.0/tests/__pycache__/test_python_utils.cpython-27-PYTEST.pyc
 and 
new/python-utils-2.5.6/tests/__pycache__/test_python_utils.cpython-27-PYTEST.pyc
 differ
Binary files 
old/python-utils-2.4.0/tests/__pycache__/test_python_utils.cpython-35-PYTEST.pyc
 and 
new/python-utils-2.5.6/tests/__pycache__/test_python_utils.cpython-35-PYTEST.pyc
 differ
Binary files 
old/python-utils-2.4.0/tests/__pycache__/test_python_utils.cpython-35.pyc and 
new/python-utils-2.5.6/tests/__pycache__/test_python_utils.cpython-35.pyc differ
Binary files 
old/python-utils-2.4.0/tests/__pycache__/test_python_utils.cpython-36-PYTEST.pyc
 and 
new/python-utils-2.5.6/tests/__pycache__/test_python_utils.cpython-36-PYTEST.pyc
 differ
Binary files 
old/python-utils-2.4.0/tests/__pycache__/test_python_utils.cpython-38-pytest-5.3.5.pyc
 and 
new/python-utils-2.5.6/tests/__pycache__/test_python_utils.cpython-38-pytest-5.3.5.pyc
 differ
Binary files 
old/python-utils-2.4.0/tests/__pycache__/test_python_utils.pypy-27-PYTEST.pyc 
and 
new/python-utils-2.5.6/tests/__pycache__/test_python_utils.pypy-27-PYTEST.pyc 
differ
Binary files 
old/python-utils-2.4.0/tests/__pycache__/test_python_utils.pypy3-24-PYTEST.pyc 
and 
new/python-utils-2.5.6/tests/__pycache__/test_python_utils.pypy3-24-PYTEST.pyc 
differ
Binary files old/python-utils-2.4.0/tests/import_.pyc and 
new/python-utils-2.5.6/tests/import_.pyc differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-utils-2.4.0/tests/requirements.txt 
new/python-utils-2.5.6/tests/requirements.txt
--- old/python-utils-2.4.0/tests/requirements.txt       2016-04-20 
19:15:29.000000000 +0200
+++ new/python-utils-2.5.6/tests/requirements.txt       1970-01-01 
01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
--r ../requirements.txt
-flake8
-pytest
-pytest-cache
-pytest-cov
-pytest-flakes
-pytest-pep8
-sphinx
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-utils-2.4.0/tests/test_import.py 
new/python-utils-2.5.6/tests/test_import.py
--- old/python-utils-2.4.0/tests/test_import.py 2016-04-20 19:15:29.000000000 
+0200
+++ new/python-utils-2.5.6/tests/test_import.py 1970-01-01 01:00:00.000000000 
+0100
@@ -1,50 +0,0 @@
-from python_utils import import_
-
-
-def test_import_globals_relative_import():
-    for i in range(-1, 5):
-        relative_import(i)
-
-
-def relative_import(level):
-    locals_ = {}
-    globals_ = {'__name__': 'python_utils.import_'}
-    import_.import_global('.formatters', locals_=locals_, globals_=globals_)
-    import pprint
-    pprint.pprint(globals_)
-    assert 'camel_to_underscore' in globals_
-
-
-def test_import_globals_without_inspection():
-    locals_ = {}
-    globals_ = {'__name__': __name__}
-    import_.import_global(
-        'python_utils.formatters', locals_=locals_, globals_=globals_)
-    assert 'camel_to_underscore' in globals_
-
-
-def test_import_globals_single_method():
-    locals_ = {}
-    globals_ = {'__name__': __name__}
-    import_.import_global(
-        'python_utils.formatters', ['camel_to_underscore'], locals_=locals_,
-        globals_=globals_)
-    assert 'camel_to_underscore' in globals_
-
-
-def test_import_globals_with_inspection():
-    import_.import_global('python_utils.formatters')
-    assert 'camel_to_underscore' in globals()
-
-
-def test_import_globals_missing_module():
-    import_.import_global(
-        'python_utils.spam', exceptions=ImportError, locals_=locals())
-    assert 'camel_to_underscore' in globals()
-
-
-def test_import_locals_missing_module():
-    import_.import_global(
-        'python_utils.spam', exceptions=ImportError, globals_=globals())
-    assert 'camel_to_underscore' in globals()
-
Binary files old/python-utils-2.4.0/tests/test_import.pyc and 
new/python-utils-2.5.6/tests/test_import.pyc differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-utils-2.4.0/tests/test_python_utils.py 
new/python-utils-2.5.6/tests/test_python_utils.py
--- old/python-utils-2.4.0/tests/test_python_utils.py   2016-06-07 
16:30:24.000000000 +0200
+++ new/python-utils-2.5.6/tests/test_python_utils.py   1970-01-01 
01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
-from python_utils import __about__
-
-
-def test_definitions():
-    # The setup.py requires this so we better make sure they exist :)
-    assert __about__.__version__
-    assert __about__.__author__
-    assert __about__.__author_email__
-    assert __about__.__description__
-
Binary files old/python-utils-2.4.0/tests/test_python_utils.pyc and 
new/python-utils-2.5.6/tests/test_python_utils.pyc differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-utils-2.4.0/tox.ini 
new/python-utils-2.5.6/tox.ini
--- old/python-utils-2.4.0/tox.ini      2020-03-03 02:01:23.000000000 +0100
+++ new/python-utils-2.5.6/tox.ini      2021-01-21 04:06:33.000000000 +0100
@@ -11,17 +11,18 @@
     py38: python3.8
     py39: python3.9
     pypy: pypy
-deps = -r{toxinidir}/tests/requirements.txt
 
-commands = python setup.py test {posargs}
+setenv = PY_IGNORE_IMPORTMISMATCH=1
+deps = -r{toxinidir}/_python_utils_tests/requirements.txt
+commands = py.test --basetemp="{envtmpdir}" --confcutdir=.. {posargs} 
python_utils _python_utils_tests
 
 [testenv:flake8]
-basepython = python3.7
+basepython = python3
 deps = flake8
 commands = flake8 --ignore=W391 python_utils {posargs}
 
 [testenv:docs]
-basepython = python3.7
+basepython = python3
 whitelist_externals =
     rm
     cd
@@ -35,3 +36,8 @@
     sphinx-build -W -b html -d docs/_build/doctrees docs docs/_build/html 
{posargs}
 deps = -r{toxinidir}/docs/requirements.txt
 
+[flake8]
+ignore = W391, W504, E741
+exclude =
+    docs
+

Reply via email to