Hello community,

here is the log from the commit of package python-zope.i18nmessageid for 
openSUSE:Leap:15.2 checked in at 2020-04-17 13:36:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-zope.i18nmessageid (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-zope.i18nmessageid.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zope.i18nmessageid"

Fri Apr 17 13:36:51 2020 rev:13 rq:789125 version:5.0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/python-zope.i18nmessageid/python-zope.i18nmessageid.changes
    2020-03-02 13:25:24.206642453 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-zope.i18nmessageid.new.2738/python-zope.i18nmessageid.changes
  2020-04-17 13:36:52.252189525 +0200
@@ -1,0 +2,7 @@
+Mon Mar 16 14:13:10 UTC 2020 - pgaj...@suse.com
+
+- version update to 5.0.1
+  - Remove deprecated use of setuptools features.  See `issue 22
+    <https://github.com/zopefoundation/zope.i18nmessageid/issues/22>`_.
+
+-------------------------------------------------------------------

Old:
----
  zope.i18nmessageid-5.0.0.tar.gz

New:
----
  zope.i18nmessageid-5.0.1.tar.gz

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

Other differences:
------------------
++++++ python-zope.i18nmessageid.spec ++++++
--- /var/tmp/diff_new_pack.BIhDYW/_old  2020-04-17 13:36:52.560189757 +0200
+++ /var/tmp/diff_new_pack.BIhDYW/_new  2020-04-17 13:36:52.564189760 +0200
@@ -19,14 +19,16 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-zope.i18nmessageid
-Version:        5.0.0
+Version:        5.0.1
 Release:        0
 Summary:        Zope Location
 License:        ZPL-2.1
 URL:            https://www.python.org/pypi/zope.i18nmessageid
 Source:         
https://files.pythonhosted.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module zope.testrunner}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 # SECTION documentation requirements
@@ -62,6 +64,7 @@
 }
 
 %check
+sed -i '/coverage/d' setup.py
 %python_exec setup.py test
 
 %files %{python_files}

++++++ zope.i18nmessageid-5.0.0.tar.gz -> zope.i18nmessageid-5.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.i18nmessageid-5.0.0/.travis.yml 
new/zope.i18nmessageid-5.0.1/.travis.yml
--- old/zope.i18nmessageid-5.0.0/.travis.yml    2019-11-12 13:12:08.000000000 
+0100
+++ new/zope.i18nmessageid-5.0.1/.travis.yml    2020-03-10 13:38:41.000000000 
+0100
@@ -45,11 +45,15 @@
     - name: Python 3.6 wheels for MacOS
       os: osx
       language: generic
-      env: TERRYFY_PYTHON='macpython 3.6.0'
+      env: TERRYFY_PYTHON='macpython 3.6.2'
     - name: Python 3.7 wheels for MacOS
       os: osx
       language: generic
       env: TERRYFY_PYTHON='macpython 3.7.0'
+    - name: Python 3.8 wheels for MacOS
+      os: osx
+      language: generic
+      env: TERRYFY_PYTHON='macpython 3.8.0'
 
 before_install:
   - |
@@ -61,7 +65,7 @@
 
 install:
   - pip install -U pip setuptools
-  - pip install -U coveralls coverage zope.testrunner
+  - pip install -U coveralls
   - pip install -U -e ".[test]"
 
 script:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.i18nmessageid-5.0.0/CHANGES.rst 
new/zope.i18nmessageid-5.0.1/CHANGES.rst
--- old/zope.i18nmessageid-5.0.0/CHANGES.rst    2019-11-12 13:12:08.000000000 
+0100
+++ new/zope.i18nmessageid-5.0.1/CHANGES.rst    2020-03-10 13:38:41.000000000 
+0100
@@ -2,6 +2,13 @@
  Changes
 =========
 
+5.0.1 (2020-03-10)
+==================
+
+- Remove deprecated use of setuptools features.  See `issue 22
+  <https://github.com/zopefoundation/zope.i18nmessageid/issues/22>`_.
+
+
 5.0.0 (2019-11-12)
 ==================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.i18nmessageid-5.0.0/PKG-INFO 
new/zope.i18nmessageid-5.0.1/PKG-INFO
--- old/zope.i18nmessageid-5.0.0/PKG-INFO       2019-11-12 13:12:09.000000000 
+0100
+++ new/zope.i18nmessageid-5.0.1/PKG-INFO       2020-03-10 13:38:41.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: zope.i18nmessageid
-Version: 5.0.0
+Version: 5.0.1
 Summary: Message Identifiers for internationalization
 Home-page: https://github.com/zopefoundation/zope.i18nmessageid
 Author: Zope Foundation and Contributors
@@ -50,6 +50,13 @@
          Changes
         =========
         
+        5.0.1 (2020-03-10)
+        ==================
+        
+        - Remove deprecated use of setuptools features.  See `issue 22
+          <https://github.com/zopefoundation/zope.i18nmessageid/issues/22>`_.
+        
+        
         5.0.0 (2019-11-12)
         ==================
         
@@ -255,5 +262,6 @@
 Classifier: Operating System :: OS Independent
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Framework :: Zope :: 3
-Provides-Extra: docs
 Provides-Extra: testing
+Provides-Extra: test
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.i18nmessageid-5.0.0/appveyor.yml 
new/zope.i18nmessageid-5.0.1/appveyor.yml
--- old/zope.i18nmessageid-5.0.0/appveyor.yml   2019-11-12 13:12:08.000000000 
+0100
+++ new/zope.i18nmessageid-5.0.1/appveyor.yml   2020-03-10 13:38:41.000000000 
+0100
@@ -26,14 +26,14 @@
       }
   - ps: if (-not (Test-Path $env:PYTHON)) { throw "No $env:PYTHON" }
   - echo "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 > 
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat"
-  - pip install -e .
+  - pip install -e .[test]
 
 build_script:
-  - pip install wheel
+  - pip install -U setuptools wheel
   - python -W ignore setup.py -q bdist_wheel
 
 test_script:
-  - python setup.py test -q
+  - zope-testrunner --test-path=src
 
 artifacts:
   - path: 'dist\*.whl'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.i18nmessageid-5.0.0/setup.cfg 
new/zope.i18nmessageid-5.0.1/setup.cfg
--- old/zope.i18nmessageid-5.0.0/setup.cfg      2019-11-12 13:12:09.000000000 
+0100
+++ new/zope.i18nmessageid-5.0.1/setup.cfg      2020-03-10 13:38:41.000000000 
+0100
@@ -9,6 +9,9 @@
 dev = develop easy_install zope.i18nmessageid[testing]
 docs = easy_install zope.i18nmessageid[docs]
 
+[zest.releaser]
+create-wheel = no
+
 [egg_info]
 tag_build = 
 tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.i18nmessageid-5.0.0/setup.py 
new/zope.i18nmessageid-5.0.1/setup.py
--- old/zope.i18nmessageid-5.0.0/setup.py       2019-11-12 13:12:08.000000000 
+0100
+++ new/zope.i18nmessageid-5.0.1/setup.py       2020-03-10 13:38:41.000000000 
+0100
@@ -18,44 +18,44 @@
 ##############################################################################
 """Setup for zope.i18nmessageid package
 """
+from __future__ import print_function
 
 import os
 import sys
 
-from setuptools import setup, find_packages, Extension, Feature
 from distutils.command.build_ext import build_ext
 from distutils.errors import CCompilerError
 from distutils.errors import DistutilsExecError
 from distutils.errors import DistutilsPlatformError
 import platform
 
+from setuptools import setup, find_packages, Extension
+
 py_impl = getattr(platform, 'python_implementation', lambda: None)
 is_pypy = py_impl() == 'PyPy'
 is_jython = 'java' in sys.platform
 
 codeoptimization_c = os.path.join('src', 'zope', 'i18nmessageid',
                                   "_zope_i18nmessageid_message.c")
-codeoptimization = Feature(
-    "Optional code optimizations",
-    standard=True,
-    ext_modules=[Extension(
+codeoptimization = [
+    Extension(
         "zope.i18nmessageid._zope_i18nmessageid_message",
         [os.path.normcase(codeoptimization_c)]
-        )])
-
-extra = {
-    'extras_require': {
-        'testing': ['nose', 'coverage'],
-        'docs': ['Sphinx'],
-    },
-}
+    ),
+]
 
+ext_modules = []
 if not is_pypy and not is_jython:
     # Jython cannot build the C optimizations, while on PyPy they are
     # anti-optimizations (the C extension compatibility layer is known-slow,
     # and defeats JIT opportunities).
-    extra['features'] = {'codeoptimization': codeoptimization}
+    ext_modules = codeoptimization
+
 
+tests_require = [
+    'zope.testrunner',
+    'coverage',
+]
 
 def read(*rnames):
     with open(os.path.join(os.path.dirname(__file__), *rnames)) as stream:
@@ -69,39 +69,32 @@
     def run(self):
         try:
             build_ext.run(self)
-
-        except DistutilsPlatformError:
-            # The sys.exc_info()[1] is to preserve compatibility with both
-            # Python 2.5 and 3.x, which is needed in setup.py.
-            self._unavailable(sys.exc_info()[1])
+        except DistutilsPlatformError as e:
+            self._unavailable(e)
 
     def build_extension(self, ext):
         try:
             build_ext.build_extension(self, ext)
-
-        except (CCompilerError, DistutilsExecError):
-            # The sys.exc_info()[1] is to preserve compatibility with both
-            # Python 2.5 and 3.x, which is needed in setup.py.
-            self._unavailable(sys.exc_info()[1])
+        except (CCompilerError, DistutilsExecError) as e:
+            self._unavailable(e)
 
     def _unavailable(self, e):
-        # Write directly to stderr to preserve compatibility with both
-        # Python 2.5 and 3.x, which is needed in setup.py.
-        sys.stderr.write('*' * 80 + '\n')
-        sys.stderr.write("""WARNING:
+        print('*' * 80, file=sys.stderr)
+        print("""WARNING:
 
         An optional code optimization (C extension) could not be compiled.
 
         Optimizations for this package will not be available!
 
-        """)
-        sys.stderr.write(str(e) + '\n')
-        sys.stderr.write('*' * 80 + '\n')
+        """, file=sys.stderr)
+        print(str(e), file=sys.stderr)
+        print('*' * 80, file=sys.stderr)
+
 
 
 setup(
     name='zope.i18nmessageid',
-    version='5.0.0',
+    version='5.0.1',
     author='Zope Foundation and Contributors',
     author_email='zope-...@zope.org',
     description='Message Identifiers for internationalization',
@@ -141,5 +134,11 @@
     test_suite='zope.i18nmessageid.tests.test_suite',
     zip_safe=False,
     cmdclass={'build_ext': optional_build_ext},
-    **extra
+    ext_modules=ext_modules,
+    tests_require=tests_require,
+    extras_require={
+        'testing': tests_require,
+        'test': tests_require,
+        'docs': ['Sphinx'],
+    },
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.i18nmessageid-5.0.0/src/zope.i18nmessageid.egg-info/PKG-INFO 
new/zope.i18nmessageid-5.0.1/src/zope.i18nmessageid.egg-info/PKG-INFO
--- old/zope.i18nmessageid-5.0.0/src/zope.i18nmessageid.egg-info/PKG-INFO       
2019-11-12 13:12:09.000000000 +0100
+++ new/zope.i18nmessageid-5.0.1/src/zope.i18nmessageid.egg-info/PKG-INFO       
2020-03-10 13:38:41.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: zope.i18nmessageid
-Version: 5.0.0
+Version: 5.0.1
 Summary: Message Identifiers for internationalization
 Home-page: https://github.com/zopefoundation/zope.i18nmessageid
 Author: Zope Foundation and Contributors
@@ -50,6 +50,13 @@
          Changes
         =========
         
+        5.0.1 (2020-03-10)
+        ==================
+        
+        - Remove deprecated use of setuptools features.  See `issue 22
+          <https://github.com/zopefoundation/zope.i18nmessageid/issues/22>`_.
+        
+        
         5.0.0 (2019-11-12)
         ==================
         
@@ -255,5 +262,6 @@
 Classifier: Operating System :: OS Independent
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Framework :: Zope :: 3
-Provides-Extra: docs
 Provides-Extra: testing
+Provides-Extra: test
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.i18nmessageid-5.0.0/src/zope.i18nmessageid.egg-info/requires.txt 
new/zope.i18nmessageid-5.0.1/src/zope.i18nmessageid.egg-info/requires.txt
--- old/zope.i18nmessageid-5.0.0/src/zope.i18nmessageid.egg-info/requires.txt   
2019-11-12 13:12:09.000000000 +0100
+++ new/zope.i18nmessageid-5.0.1/src/zope.i18nmessageid.egg-info/requires.txt   
2020-03-10 13:38:41.000000000 +0100
@@ -4,6 +4,10 @@
 [docs]
 Sphinx
 
+[test]
+zope.testrunner
+coverage
+
 [testing]
+zope.testrunner
 coverage
-nose
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.i18nmessageid-5.0.0/tox.ini 
new/zope.i18nmessageid-5.0.1/tox.ini
--- old/zope.i18nmessageid-5.0.0/tox.ini        2019-11-12 13:12:08.000000000 
+0100
+++ new/zope.i18nmessageid-5.0.1/tox.ini        2020-03-10 13:38:41.000000000 
+0100
@@ -3,9 +3,7 @@
     py27,py35,py36,py37,py38,pypy,pypy3,coverage,docs
 
 [testenv]
-deps =
-     .[test]
-     zope.testrunner
+extras = test
 commands =
     zope-testrunner --test-path=src []
 
@@ -15,11 +13,8 @@
 basepython =
     python2.7
 commands =
-    nosetests --with-xunit --with-xcoverage
-deps =
-    nose
-    coverage
-    nosexcover
+    coverage run -m zope.testrunner --test-path=src []
+    coverage report --fail-under=100
 
 [testenv:docs]
 basepython =


Reply via email to