Hello community,

here is the log from the commit of package python-pytest-runner for 
openSUSE:Factory checked in at 2018-03-28 10:27:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-runner (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-runner.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-runner"

Wed Mar 28 10:27:21 2018 rev:14 rq:590887 version:4.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-runner/python-pytest-runner.changes    
    2018-02-21 14:07:38.602460684 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-runner.new/python-pytest-runner.changes
   2018-03-28 10:27:25.133595607 +0200
@@ -1,0 +2,9 @@
+Sat Mar 24 19:57:50 UTC 2018 - [email protected]
+
+- update to version 4.2:
+  * #40: Remove declared dependency and instead assert it at run time.
+
+- changes from version 4.1:
+  * #40: Declare dependency on Setuptools in package metadata.
+
+-------------------------------------------------------------------

Old:
----
  pytest-runner-4.0.tar.gz

New:
----
  pytest-runner-4.2.tar.gz

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

Other differences:
------------------
++++++ python-pytest-runner.spec ++++++
--- /var/tmp/diff_new_pack.KXAhbs/_old  2018-03-28 10:27:25.865569286 +0200
+++ /var/tmp/diff_new_pack.KXAhbs/_new  2018-03-28 10:27:25.869569142 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pytest-runner
-Version:        4.0
+Version:        4.2
 Release:        0
 Summary:        Testing with Python
 License:        MIT

++++++ pytest-runner-4.0.tar.gz -> pytest-runner-4.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-runner-4.0/.flake8 
new/pytest-runner-4.2/.flake8
--- old/pytest-runner-4.0/.flake8       1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-runner-4.2/.flake8       2018-03-18 14:01:39.000000000 +0100
@@ -0,0 +1,2 @@
+[flake8]
+ignore = W191,W503
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-runner-4.0/CHANGES.rst 
new/pytest-runner-4.2/CHANGES.rst
--- old/pytest-runner-4.0/CHANGES.rst   2018-02-10 21:41:41.000000000 +0100
+++ new/pytest-runner-4.2/CHANGES.rst   2018-03-18 14:01:39.000000000 +0100
@@ -1,3 +1,14 @@
+4.2
+===
+
+* #40: Remove declared dependency and instead assert it at
+  run time.
+
+4.1
+===
+
+* #40: Declare dependency on Setuptools in package metadata.
+
 4.0
 ===
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-runner-4.0/PKG-INFO 
new/pytest-runner-4.2/PKG-INFO
--- old/pytest-runner-4.0/PKG-INFO      2018-02-10 21:42:14.000000000 +0100
+++ new/pytest-runner-4.2/PKG-INFO      2018-03-18 14:02:58.000000000 +0100
@@ -1,12 +1,11 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
 Name: pytest-runner
-Version: 4.0
+Version: 4.2
 Summary: Invoke py.test as distutils command with dependency resolution
 Home-page: https://github.com/pytest-dev/pytest-runner
 Author: Jason R. Coombs
 Author-email: [email protected]
 License: UNKNOWN
-Description-Content-Type: UNKNOWN
 Description: .. image:: https://img.shields.io/pypi/v/pytest-runner.svg
            :target: https://pypi.org/project/pytest-runner
         
@@ -15,6 +14,12 @@
         .. image:: 
https://img.shields.io/travis/pytest-dev/pytest-runner/master.svg
            :target: https://travis-ci.org/pytest-dev/pytest-runner
         
+        .. .. image:: 
https://img.shields.io/appveyor/ci/pytest-dev/pytest-runner/master.svg
+        ..    :target: 
https://ci.appveyor.com/project/pytest-dev/pytest-runner/branch/master
+        
+        .. .. image:: 
https://readthedocs.org/projects/pytest-runner/badge/?version=latest
+        ..    :target: 
https://pytest-runner.readthedocs.io/en/latest/?badge=latest
+        
         Setup scripts can use pytest-runner to add setup.py test support for 
pytest
         runner.
         
@@ -124,3 +129,5 @@
 Classifier: Programming Language :: Python :: 3
 Classifier: Framework :: Pytest
 Requires-Python: >=2.7,!=3.0,!=3.1
+Provides-Extra: testing
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-runner-4.0/README.rst 
new/pytest-runner-4.2/README.rst
--- old/pytest-runner-4.0/README.rst    2018-02-10 21:41:41.000000000 +0100
+++ new/pytest-runner-4.2/README.rst    2018-03-18 14:01:39.000000000 +0100
@@ -6,6 +6,12 @@
 .. image:: https://img.shields.io/travis/pytest-dev/pytest-runner/master.svg
    :target: https://travis-ci.org/pytest-dev/pytest-runner
 
+.. .. image:: 
https://img.shields.io/appveyor/ci/pytest-dev/pytest-runner/master.svg
+..    :target: 
https://ci.appveyor.com/project/pytest-dev/pytest-runner/branch/master
+
+.. .. image:: 
https://readthedocs.org/projects/pytest-runner/badge/?version=latest
+..    :target: https://pytest-runner.readthedocs.io/en/latest/?badge=latest
+
 Setup scripts can use pytest-runner to add setup.py test support for pytest
 runner.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-runner-4.0/appveyor.yml 
new/pytest-runner-4.2/appveyor.yml
--- old/pytest-runner-4.0/appveyor.yml  2018-02-10 21:41:41.000000000 +0100
+++ new/pytest-runner-4.2/appveyor.yml  2018-03-18 14:01:39.000000000 +0100
@@ -14,6 +14,9 @@
 
 build: off
 
+cache:
+  - '%LOCALAPPDATA%\pip\Cache'
+
 test_script:
   - "python -m pip install tox tox-venv"
   - "tox"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-runner-4.0/ptr.py new/pytest-runner-4.2/ptr.py
--- old/pytest-runner-4.0/ptr.py        2018-02-10 21:41:41.000000000 +0100
+++ new/pytest-runner-4.2/ptr.py        2018-03-18 14:01:39.000000000 +0100
@@ -93,6 +93,18 @@
                self.index_url = None
                self.allow_hosts = None
                self.addopts = []
+               self.ensure_setuptools_version()
+
+       @staticmethod
+       def ensure_setuptools_version():
+               """
+               Due to the fact that pytest-runner is often required (via
+               setup-requires directive) by toolchains that never invoke
+               it (i.e. they're only installing the package, not testing it),
+               instead of declaring the dependency in the package
+               metadata, assert the requirement at run time.
+               """
+               pkg_resources.require('setuptools>=27.3')
 
        def finalize_options(self):
                if self.addopts:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-runner-4.0/pytest.ini 
new/pytest-runner-4.2/pytest.ini
--- old/pytest-runner-4.0/pytest.ini    2018-02-10 21:41:41.000000000 +0100
+++ new/pytest-runner-4.2/pytest.ini    2018-03-18 14:01:39.000000000 +0100
@@ -1,4 +1,4 @@
 [pytest]
 norecursedirs=dist build .tox .eggs
-addopts=--doctest-modules
+addopts=--doctest-modules --flake8
 doctest_optionflags=ALLOW_UNICODE ELLIPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-runner-4.0/pytest_runner.egg-info/PKG-INFO 
new/pytest-runner-4.2/pytest_runner.egg-info/PKG-INFO
--- old/pytest-runner-4.0/pytest_runner.egg-info/PKG-INFO       2018-02-10 
21:42:14.000000000 +0100
+++ new/pytest-runner-4.2/pytest_runner.egg-info/PKG-INFO       2018-03-18 
14:02:58.000000000 +0100
@@ -1,12 +1,11 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
 Name: pytest-runner
-Version: 4.0
+Version: 4.2
 Summary: Invoke py.test as distutils command with dependency resolution
 Home-page: https://github.com/pytest-dev/pytest-runner
 Author: Jason R. Coombs
 Author-email: [email protected]
 License: UNKNOWN
-Description-Content-Type: UNKNOWN
 Description: .. image:: https://img.shields.io/pypi/v/pytest-runner.svg
            :target: https://pypi.org/project/pytest-runner
         
@@ -15,6 +14,12 @@
         .. image:: 
https://img.shields.io/travis/pytest-dev/pytest-runner/master.svg
            :target: https://travis-ci.org/pytest-dev/pytest-runner
         
+        .. .. image:: 
https://img.shields.io/appveyor/ci/pytest-dev/pytest-runner/master.svg
+        ..    :target: 
https://ci.appveyor.com/project/pytest-dev/pytest-runner/branch/master
+        
+        .. .. image:: 
https://readthedocs.org/projects/pytest-runner/badge/?version=latest
+        ..    :target: 
https://pytest-runner.readthedocs.io/en/latest/?badge=latest
+        
         Setup scripts can use pytest-runner to add setup.py test support for 
pytest
         runner.
         
@@ -124,3 +129,5 @@
 Classifier: Programming Language :: Python :: 3
 Classifier: Framework :: Pytest
 Requires-Python: >=2.7,!=3.0,!=3.1
+Provides-Extra: testing
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-runner-4.0/pytest_runner.egg-info/SOURCES.txt 
new/pytest-runner-4.2/pytest_runner.egg-info/SOURCES.txt
--- old/pytest-runner-4.0/pytest_runner.egg-info/SOURCES.txt    2018-02-10 
21:42:14.000000000 +0100
+++ new/pytest-runner-4.2/pytest_runner.egg-info/SOURCES.txt    2018-03-18 
14:02:58.000000000 +0100
@@ -1,3 +1,4 @@
+.flake8
 .readthedocs.yml
 .travis.yml
 CHANGES.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-runner-4.0/pytest_runner.egg-info/requires.txt 
new/pytest-runner-4.2/pytest_runner.egg-info/requires.txt
--- old/pytest-runner-4.0/pytest_runner.egg-info/requires.txt   2018-02-10 
21:42:14.000000000 +0100
+++ new/pytest-runner-4.2/pytest_runner.egg-info/requires.txt   2018-03-18 
14:02:58.000000000 +0100
@@ -8,4 +8,5 @@
 pytest>=2.8
 pytest-sugar>=0.9.1
 collective.checkdocs
+pytest-flake8
 pytest-virtualenv
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-runner-4.0/setup.py 
new/pytest-runner-4.2/setup.py
--- old/pytest-runner-4.0/setup.py      2018-02-10 21:41:41.000000000 +0100
+++ new/pytest-runner-4.2/setup.py      2018-03-18 14:01:39.000000000 +0100
@@ -32,18 +32,26 @@
        py_modules=['ptr'],
        python_requires='>=2.7,!=3.0,!=3.1',
        install_requires=[
+               # setuptools 27.3 is required at run time
        ],
        extras_require={
                'testing': [
+                       # upstream
                        'pytest>=2.8',
                        'pytest-sugar>=0.9.1',
                        'collective.checkdocs',
+                       'pytest-flake8',
+
+                       # local
                        'pytest-virtualenv',
                ],
                'docs': [
+                       # upstream
                        'sphinx',
                        'jaraco.packaging>=3.2',
                        'rst.linker>=1.9',
+
+                       # local
                ],
        },
        setup_requires=[
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-runner-4.0/tests/test_ptr.py 
new/pytest-runner-4.2/tests/test_ptr.py
--- old/pytest-runner-4.0/tests/test_ptr.py     2018-02-10 21:41:41.000000000 
+0100
+++ new/pytest-runner-4.2/tests/test_ptr.py     2018-03-18 14:01:39.000000000 
+0100
@@ -45,6 +45,9 @@
     'setuptools==27.3.0',
     'setuptools==32.3.1',
     'setuptools==36.3.0',
+] if sys.version_info < (3, 7) else [
+    'setuptools',
+    'setuptools==38.4.1',
 ]
 args_variants = ['', '--extras']
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-runner-4.0/tox.ini 
new/pytest-runner-4.2/tox.ini
--- old/pytest-runner-4.0/tox.ini       2018-02-10 21:41:41.000000000 +0100
+++ new/pytest-runner-4.2/tox.ini       2018-03-18 14:01:39.000000000 +0100
@@ -5,6 +5,8 @@
 [testenv]
 deps =
        setuptools>=31.0.1
+       # workaround for yaml/pyyaml#126
+       # 
git+https://github.com/yaml/pyyaml@master#egg=pyyaml;python_version=="3.7";
 commands =
        py.test {posargs}
        python setup.py checkdocs


Reply via email to