Hello community,

here is the log from the commit of package python-zope.configuration for 
openSUSE:Factory checked in at 2020-03-27 00:29:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.configuration (Old)
 and      /work/SRC/openSUSE:Factory/.python-zope.configuration.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zope.configuration"

Fri Mar 27 00:29:01 2020 rev:6 rq:787838 version:4.4.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-zope.configuration/python-zope.configuration.changes
      2019-04-08 20:52:50.766537969 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-zope.configuration.new.3160/python-zope.configuration.changes
    2020-03-27 00:29:06.108372430 +0100
@@ -1,0 +2,11 @@
+Tue Mar 24 14:50:27 UTC 2020 - [email protected]
+
+- version update to 4.4.0
+  - Ensure a consistent interface resolution order for all objects. See
+    `issue 49 
<https://github.com/zopefoundation/zope.configuration/issues/49>`_.
+  - Drop support for Python 3.4.
+  - Add support for Python 3.8.
+- deleted sources
+  - pre_checkin.sh (not needed)
+
+-------------------------------------------------------------------

Old:
----
  pre_checkin.sh
  zope.configuration-4.3.1.tar.gz

New:
----
  zope.configuration-4.4.0.tar.gz

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

Other differences:
------------------
++++++ python-zope.configuration.spec ++++++
--- /var/tmp/diff_new_pack.ihz89o/_old  2020-03-27 00:29:07.636373204 +0100
+++ /var/tmp/diff_new_pack.ihz89o/_new  2020-03-27 00:29:07.640373206 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-zope.configuration
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2013 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -27,7 +27,7 @@
 %endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-zope.configuration%{psuffix}
-Version:        4.3.1
+Version:        4.4.0
 Release:        0
 Summary:        Zope Configuration Markup Language (ZCML)
 License:        ZPL-2.1

++++++ zope.configuration-4.3.1.tar.gz -> zope.configuration-4.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.configuration-4.3.1/.gitignore 
new/zope.configuration-4.4.0/.gitignore
--- old/zope.configuration-4.3.1/.gitignore     2019-02-12 08:25:43.000000000 
+0100
+++ new/zope.configuration-4.4.0/.gitignore     1970-01-01 01:00:00.000000000 
+0100
@@ -1,19 +0,0 @@
-*.pyc
-*.swp
-__pycache__
-./.installed.cfg
-./bin
-./develop-eggs
-./eggs
-./parts
-*.egg-info
-docs/_build
-.tox
-.coverage
-nosetests.xml
-src/coverage.xml
-.installed.cfg
-bin
-develop-eggs
-eggs
-htmlcov/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.configuration-4.3.1/.travis.yml 
new/zope.configuration-4.4.0/.travis.yml
--- old/zope.configuration-4.3.1/.travis.yml    2019-02-12 08:25:43.000000000 
+0100
+++ new/zope.configuration-4.4.0/.travis.yml    1970-01-01 01:00:00.000000000 
+0100
@@ -1,32 +0,0 @@
-language: python
-sudo: false
-python:
-  - 2.7
-  - 3.4
-  - 3.5
-  - 3.6
-  - pypy
-  - pypy3
-matrix:
-  include:
-    - python: "3.7"
-      dist: xenial
-      sudo: true
-script:
-  - coverage run -m zope.testrunner --test-path=src  --auto-color 
--auto-progress
-
-after_success:
-  - coveralls
-notifications:
-  email: false
-
-install:
-  - pip install -U pip setuptools
-  - pip install -U coveralls coverage
-  - pip install -U -e ".[test]"
-
-
-cache: pip
-
-before_cache:
-    - rm -f $HOME/.cache/pip/log/debug.log
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.configuration-4.3.1/CHANGES.rst 
new/zope.configuration-4.4.0/CHANGES.rst
--- old/zope.configuration-4.3.1/CHANGES.rst    2019-02-12 08:25:43.000000000 
+0100
+++ new/zope.configuration-4.4.0/CHANGES.rst    2020-03-22 15:51:44.000000000 
+0100
@@ -1,6 +1,17 @@
 Changes
 =======
 
+4.4.0 (2020-03-22)
+------------------
+
+- Ensure a consistent interface resolution order for all objects. See
+  `issue 49 <https://github.com/zopefoundation/zope.configuration/issues/49>`_.
+
+- Drop support for Python 3.4.
+
+- Add support for Python 3.8.
+
+
 4.3.1 (2019-02-12)
 ------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.configuration-4.3.1/PKG-INFO 
new/zope.configuration-4.4.0/PKG-INFO
--- old/zope.configuration-4.3.1/PKG-INFO       2019-02-12 08:25:45.000000000 
+0100
+++ new/zope.configuration-4.4.0/PKG-INFO       2020-03-22 15:51:44.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: zope.configuration
-Version: 4.3.1
+Version: 4.4.0
 Summary: Zope Configuration Markup Language (ZCML)
 Home-page: https://github.com/zopefoundation/zope.configuration
 Author: Zope Foundation and Contributors
@@ -36,6 +36,17 @@
         Changes
         =======
         
+        4.4.0 (2020-03-22)
+        ------------------
+        
+        - Ensure a consistent interface resolution order for all objects. See
+          `issue 49 
<https://github.com/zopefoundation/zope.configuration/issues/49>`_.
+        
+        - Drop support for Python 3.4.
+        
+        - Add support for Python 3.8.
+        
+        
         4.3.1 (2019-02-12)
         ------------------
         
@@ -294,15 +305,15 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
 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 :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Natural Language :: English
 Classifier: Operating System :: OS Independent
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Framework :: Zope :: 3
-Provides-Extra: test
 Provides-Extra: docs
+Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.configuration-4.3.1/docs/narr.rst 
new/zope.configuration-4.4.0/docs/narr.rst
--- old/zope.configuration-4.3.1/docs/narr.rst  2019-02-12 08:25:43.000000000 
+0100
+++ new/zope.configuration-4.4.0/docs/narr.rst  2020-03-22 15:51:44.000000000 
+0100
@@ -3,7 +3,7 @@
 ===========================
 
 The zope configuration system provides an extensible system for
-supporting variouse kinds of configurations.
+supporting various kinds of configurations.
 
 It is based on the idea of configuration directives. Users of the
 configuration system provide configuration directives in some
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.configuration-4.3.1/setup.py 
new/zope.configuration-4.4.0/setup.py
--- old/zope.configuration-4.3.1/setup.py       2019-02-12 08:25:43.000000000 
+0100
+++ new/zope.configuration-4.4.0/setup.py       2020-03-22 15:51:44.000000000 
+0100
@@ -35,7 +35,7 @@
 ]
 
 setup(name='zope.configuration',
-      version='4.3.1',
+      version='4.4.0',
       author='Zope Foundation and Contributors',
       author_email='[email protected]',
       description='Zope Configuration Markup Language (ZCML)',
@@ -54,10 +54,10 @@
           "Programming Language :: Python :: 2",
           'Programming Language :: Python :: 2.7',
           "Programming Language :: Python :: 3",
-          'Programming Language :: Python :: 3.4',
           'Programming Language :: Python :: 3.5',
           'Programming Language :: Python :: 3.6',
           'Programming Language :: Python :: 3.7',
+          'Programming Language :: Python :: 3.8',
           'Programming Language :: Python :: Implementation :: CPython',
           'Programming Language :: Python :: Implementation :: PyPy',
           'Natural Language :: English',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.configuration-4.3.1/src/zope/configuration/_compat.py 
new/zope.configuration-4.4.0/src/zope/configuration/_compat.py
--- old/zope.configuration-4.3.1/src/zope/configuration/_compat.py      
2019-02-12 08:25:43.000000000 +0100
+++ new/zope.configuration-4.4.0/src/zope/configuration/_compat.py      
2020-03-22 15:51:44.000000000 +0100
@@ -42,3 +42,27 @@
 def reraise(tp, value, tb=None):
     raise tp, value, tb
 """)
+
+
+class implementer_if_needed(object):
+    # Helper to make sure we don't redundantly implement
+    # interfaces already inherited. Doing so tends to produce
+    # problems with the C3 order. In this package, we could easily
+    # statically determine to elide the relevant interfaces, but
+    # this is a defense against changes in parent classes and lessens
+    # the testing burden.
+    def __init__(self, *ifaces):
+        self._ifaces = ifaces
+
+    def __call__(self, cls):
+        from zope.interface import implementedBy
+        from zope.interface import implementer
+
+        ifaces_needed = []
+        implemented = implementedBy(cls)
+        ifaces_needed = [
+            iface
+            for iface in self._ifaces
+            if not implemented.isOrExtends(iface)
+        ]
+        return implementer(*ifaces_needed)(cls)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.configuration-4.3.1/src/zope/configuration/config.py 
new/zope.configuration-4.4.0/src/zope/configuration/config.py
--- old/zope.configuration-4.3.1/src/zope/configuration/config.py       
2019-02-12 08:25:43.000000000 +0100
+++ new/zope.configuration-4.4.0/src/zope/configuration/config.py       
2020-03-22 15:51:44.000000000 +0100
@@ -37,6 +37,7 @@
 from zope.configuration._compat import reraise
 from zope.configuration._compat import string_types
 from zope.configuration._compat import text_type
+from zope.configuration._compat import implementer_if_needed
 
 __all__ = [
     'ConfigurationContext',
@@ -897,7 +898,7 @@
     def finish(self):
         pass
 
-@implementer(IStackItem)
+@implementer_if_needed(IStackItem)
 class GroupingStackItem(RootStackItem):
     """
     Stack item for a grouping directive
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.configuration-4.3.1/src/zope/configuration/fields.py 
new/zope.configuration-4.4.0/src/zope/configuration/fields.py
--- old/zope.configuration-4.3.1/src/zope/configuration/fields.py       
2019-02-12 08:25:43.000000000 +0100
+++ new/zope.configuration-4.4.0/src/zope/configuration/fields.py       
2020-03-22 15:51:44.000000000 +0100
@@ -31,6 +31,7 @@
 
 from zope.configuration.exceptions import ConfigurationError
 from zope.configuration.interfaces import InvalidToken
+from zope.configuration._compat import implementer_if_needed
 
 __all__ = [
     'Bool',
@@ -91,7 +92,7 @@
             raise ValidationError(value).with_field_and_value(self, value)
 
 
-@implementer(IFromUnicode)
+@implementer_if_needed(IFromUnicode)
 class GlobalObject(Field):
     """
     An object that can be accessed as a module global.
@@ -176,7 +177,7 @@
         return value
 
 
-@implementer(IFromUnicode)
+@implementer_if_needed(IFromUnicode)
 class GlobalInterface(GlobalObject):
     """
     An interface that can be accessed from a module.
@@ -297,7 +298,7 @@
         return filename, True
 
 
-@implementer(IFromUnicode)
+@implementer_if_needed(IFromUnicode)
 class Path(Text):
     """
     A file path name, which may be input as a relative path
@@ -376,7 +377,7 @@
         return filename
 
 
-@implementer(IFromUnicode)
+@implementer_if_needed(IFromUnicode)
 class Bool(schema_Bool):
     """
     A boolean value.
@@ -428,7 +429,7 @@
 
 
 
-@implementer(IFromUnicode)
+@implementer_if_needed(IFromUnicode)
 class MessageID(Text):
     """
     Text string that should be translated.
@@ -439,7 +440,7 @@
 
     __factories = {}
 
-    def fromUnicode(self, u):
+    def fromUnicode(self, value):
         """
         Translate a string to a MessageID.
 
@@ -539,7 +540,7 @@
             enc = sys.getfilesystemencoding() or sys.getdefaultencoding()
             domain = domain.decode(enc)
 
-        v = super(MessageID, self).fromUnicode(u)
+        v = super(MessageID, self).fromUnicode(value)
 
         # Check whether there is an explicit message is specified
         default = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.configuration-4.3.1/src/zope/configuration/tests/nested.py 
new/zope.configuration-4.4.0/src/zope/configuration/tests/nested.py
--- old/zope.configuration-4.3.1/src/zope/configuration/tests/nested.py 
2019-02-12 08:25:43.000000000 +0100
+++ new/zope.configuration-4.4.0/src/zope/configuration/tests/nested.py 
2020-03-22 15:51:44.000000000 +0100
@@ -48,7 +48,7 @@
     fields = Attribute("Dictionary of field definitions")
 
 
-@implementer(IConfigurationContext, ISchema)
+@implementer(ISchema)
 class Schema(GroupingContextDecorator):
     """Handle schema directives
     """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.configuration-4.3.1/src/zope/configuration/tests/test___init__.py 
new/zope.configuration-4.4.0/src/zope/configuration/tests/test___init__.py
--- old/zope.configuration-4.3.1/src/zope/configuration/tests/test___init__.py  
2019-02-12 08:25:43.000000000 +0100
+++ new/zope.configuration-4.4.0/src/zope/configuration/tests/test___init__.py  
2020-03-22 15:51:44.000000000 +0100
@@ -29,8 +29,3 @@
     def test_non_empty(self):
         self.assertEqual(self._callFUT('test'),
                          'http://namespaces.zope.org/test')
-
-def test_suite():
-    return unittest.TestSuite((
-        unittest.makeSuite(Test_namespace),
-    ))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.configuration-4.3.1/src/zope/configuration/tests/test_docs.py 
new/zope.configuration-4.4.0/src/zope/configuration/tests/test_docs.py
--- old/zope.configuration-4.3.1/src/zope/configuration/tests/test_docs.py      
2019-02-12 08:25:43.000000000 +0100
+++ new/zope.configuration-4.4.0/src/zope/configuration/tests/test_docs.py      
2020-03-22 15:51:44.000000000 +0100
@@ -48,6 +48,7 @@
 )
 
 def test_suite():
+    # zope.testrunner
     suite = unittest.TestSuite()
     here = os.path.dirname(os.path.abspath(__file__))
     while not os.path.exists(os.path.join(here, 'setup.py')):
@@ -115,3 +116,8 @@
         )
 
     return suite
+
+
+def load_tests(loader, standard_tests, pattern):
+    # Pure unittest protocol.
+    return test_suite()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.configuration-4.3.1/src/zope/configuration/tests/test_docutils.py 
new/zope.configuration-4.4.0/src/zope/configuration/tests/test_docutils.py
--- old/zope.configuration-4.3.1/src/zope/configuration/tests/test_docutils.py  
2019-02-12 08:25:43.000000000 +0100
+++ new/zope.configuration-4.4.0/src/zope/configuration/tests/test_docutils.py  
2020-03-22 15:51:44.000000000 +0100
@@ -121,10 +121,3 @@
                           (NS, 'three', ISchema, _three, 'THREE')])
         self.assertEqual(subdirs[(PNS, 'parent2')],
                          [(NS2, 'two', ISchema, _two, 'TWO')])
-
-
-def test_suite():
-    return unittest.TestSuite((
-        unittest.makeSuite(Test_wrap),
-        unittest.makeSuite(Test_makeDocStructures),
-    ))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.configuration-4.3.1/src/zope/configuration/tests/test_fields.py 
new/zope.configuration-4.4.0/src/zope/configuration/tests/test_fields.py
--- old/zope.configuration-4.3.1/src/zope/configuration/tests/test_fields.py    
2019-02-12 08:25:43.000000000 +0100
+++ new/zope.configuration-4.4.0/src/zope/configuration/tests/test_fields.py    
2020-03-22 15:51:44.000000000 +0100
@@ -319,6 +319,3 @@
         msgid = bound.fromUnicode(u'msgid')
         self.assertIsInstance(msgid.domain, str)
         self.assertEqual(msgid.domain, 'domain')
-
-def test_suite():
-    return unittest.defaultTestLoader.loadTestsFromName(__name__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.configuration-4.3.1/src/zope/configuration/tests/test_zopeconfigure.py 
new/zope.configuration-4.4.0/src/zope/configuration/tests/test_zopeconfigure.py
--- 
old/zope.configuration-4.3.1/src/zope/configuration/tests/test_zopeconfigure.py 
    2019-02-12 08:25:43.000000000 +0100
+++ 
new/zope.configuration-4.4.0/src/zope/configuration/tests/test_zopeconfigure.py 
    2020-03-22 15:51:44.000000000 +0100
@@ -38,8 +38,3 @@
 
 class Context(object):
     basepath = None
-
-def test_suite():
-    return unittest.TestSuite((
-        unittest.makeSuite(ZopeConfigureTests),
-    ))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.configuration-4.3.1/src/zope.configuration.egg-info/PKG-INFO 
new/zope.configuration-4.4.0/src/zope.configuration.egg-info/PKG-INFO
--- old/zope.configuration-4.3.1/src/zope.configuration.egg-info/PKG-INFO       
2019-02-12 08:25:44.000000000 +0100
+++ new/zope.configuration-4.4.0/src/zope.configuration.egg-info/PKG-INFO       
2020-03-22 15:51:44.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: zope.configuration
-Version: 4.3.1
+Version: 4.4.0
 Summary: Zope Configuration Markup Language (ZCML)
 Home-page: https://github.com/zopefoundation/zope.configuration
 Author: Zope Foundation and Contributors
@@ -36,6 +36,17 @@
         Changes
         =======
         
+        4.4.0 (2020-03-22)
+        ------------------
+        
+        - Ensure a consistent interface resolution order for all objects. See
+          `issue 49 
<https://github.com/zopefoundation/zope.configuration/issues/49>`_.
+        
+        - Drop support for Python 3.4.
+        
+        - Add support for Python 3.8.
+        
+        
         4.3.1 (2019-02-12)
         ------------------
         
@@ -294,15 +305,15 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
 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 :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Natural Language :: English
 Classifier: Operating System :: OS Independent
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Framework :: Zope :: 3
-Provides-Extra: test
 Provides-Extra: docs
+Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.configuration-4.3.1/src/zope.configuration.egg-info/SOURCES.txt 
new/zope.configuration-4.4.0/src/zope.configuration.egg-info/SOURCES.txt
--- old/zope.configuration-4.3.1/src/zope.configuration.egg-info/SOURCES.txt    
2019-02-12 08:25:44.000000000 +0100
+++ new/zope.configuration-4.4.0/src/zope.configuration.egg-info/SOURCES.txt    
2020-03-22 15:51:44.000000000 +0100
@@ -1,6 +1,4 @@
 .coveragerc
-.gitignore
-.travis.yml
 CHANGES.rst
 COPYRIGHT.txt
 LICENSE.txt
@@ -19,7 +17,6 @@
 docs/index.rst
 docs/make.bat
 docs/narr.rst
-docs/_static/.gitignore
 docs/api/config.rst
 docs/api/docutils.rst
 docs/api/exceptions.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.configuration-4.3.1/tox.ini 
new/zope.configuration-4.4.0/tox.ini
--- old/zope.configuration-4.3.1/tox.ini        2019-02-12 08:25:43.000000000 
+0100
+++ new/zope.configuration-4.4.0/tox.ini        2020-03-22 15:51:44.000000000 
+0100
@@ -1,12 +1,15 @@
 [tox]
 envlist =
-    py27,py34,py35,py36,py37,pypy,pypy3,coverage,docs
+    py27,py35,py36,py37,py38,pypy,pypy3,coverage,docs
 
 [testenv]
+usedevelop = true
 deps =
     .[test]
 commands =
-    zope-testrunner --test-path=src --all []
+    python -m unittest discover -s src
+setenv =
+    ZOPE_INTERFACE_STRICT_IRO = 1
 
 [testenv:coverage]
 usedevelop = true
@@ -18,6 +21,10 @@
 deps =
     {[testenv]deps}
     coverage
+# Disabling STRICT IRO is temporary.
+setenv =
+    ZOPE_INTERFACE_STRICT_IRO = 0
+
 
 [testenv:docs]
 basepython =
@@ -29,3 +36,6 @@
     {[testenv]deps}
     Sphinx
     repoze.sphinx.autointerface
+# Disabling STRICT IRO is temporary.
+setenv =
+    ZOPE_INTERFACE_STRICT_IRO = 0


Reply via email to