Hello community, here is the log from the commit of package python-pytest-runner for openSUSE:Factory checked in at 2017-11-11 14:17:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest-runner (Old) and /work/SRC/openSUSE:Factory/.python-pytest-runner.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-pytest-runner" Sat Nov 11 14:17:27 2017 rev:12 rq:539569 version:3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest-runner/python-pytest-runner.changes 2017-11-01 11:08:48.851579454 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest-runner.new/python-pytest-runner.changes 2017-11-11 14:17:29.443851751 +0100 @@ -1,0 +2,6 @@ +Thu Nov 2 02:06:39 UTC 2017 - arun@gmx.de + +- update to version 3.0: + * Dropped support for Python 2.6 and 3.1. + +------------------------------------------------------------------- Old: ---- pytest-runner-2.12.2.tar.gz New: ---- pytest-runner-3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest-runner.spec ++++++ --- /var/tmp/diff_new_pack.DiGhzN/_old 2017-11-11 14:17:30.435815394 +0100 +++ /var/tmp/diff_new_pack.DiGhzN/_new 2017-11-11 14:17:30.435815394 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-runner -Version: 2.12.2 +Version: 3.0 Release: 0 Summary: Testing with Python License: MIT ++++++ pytest-runner-2.12.2.tar.gz -> pytest-runner-3.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.12.2/CHANGES.rst new/pytest-runner-3.0/CHANGES.rst --- old/pytest-runner-2.12.2/CHANGES.rst 2017-10-27 15:47:35.000000000 +0200 +++ new/pytest-runner-3.0/CHANGES.rst 2017-10-27 16:19:24.000000000 +0200 @@ -1,3 +1,8 @@ +3.0 +~~~ + +* Dropped support for Python 2.6 and 3.1. + 2.12.2 ~~~~~~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.12.2/PKG-INFO new/pytest-runner-3.0/PKG-INFO --- old/pytest-runner-2.12.2/PKG-INFO 2017-10-27 15:48:00.000000000 +0200 +++ new/pytest-runner-3.0/PKG-INFO 2017-10-27 16:19:49.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: pytest-runner -Version: 2.12.2 +Version: 3.0 Summary: Invoke py.test as distutils command with dependency resolution Home-page: https://github.com/pytest-dev/pytest-runner Author: Jason R. Coombs @@ -120,8 +120,7 @@ Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License -Classifier: Programming Language :: Python :: 2.6 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Framework :: Pytest -Requires-Python: >=2.6 +Requires-Python: >=2.7,!=3.0,!=3.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.12.2/pytest_runner.egg-info/PKG-INFO new/pytest-runner-3.0/pytest_runner.egg-info/PKG-INFO --- old/pytest-runner-2.12.2/pytest_runner.egg-info/PKG-INFO 2017-10-27 15:48:00.000000000 +0200 +++ new/pytest-runner-3.0/pytest_runner.egg-info/PKG-INFO 2017-10-27 16:19:49.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: pytest-runner -Version: 2.12.2 +Version: 3.0 Summary: Invoke py.test as distutils command with dependency resolution Home-page: https://github.com/pytest-dev/pytest-runner Author: Jason R. Coombs @@ -120,8 +120,7 @@ Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License -Classifier: Programming Language :: Python :: 2.6 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Framework :: Pytest -Requires-Python: >=2.6 +Requires-Python: >=2.7,!=3.0,!=3.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.12.2/pytest_runner.egg-info/requires.txt new/pytest-runner-3.0/pytest_runner.egg-info/requires.txt --- old/pytest-runner-2.12.2/pytest_runner.egg-info/requires.txt 2017-10-27 15:48:00.000000000 +0200 +++ new/pytest-runner-3.0/pytest_runner.egg-info/requires.txt 2017-10-27 16:19:49.000000000 +0200 @@ -9,6 +9,3 @@ pytest-sugar collective.checkdocs pytest-virtualenv - -[testing:python_version=="2.6"] -importlib diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.12.2/setup.py new/pytest-runner-3.0/setup.py --- old/pytest-runner-2.12.2/setup.py 2017-10-27 15:47:35.000000000 +0200 +++ new/pytest-runner-3.0/setup.py 2017-10-27 16:19:24.000000000 +0200 @@ -30,7 +30,7 @@ else [] ), py_modules=['ptr'], - python_requires='>=2.6', + python_requires='>=2.7,!=3.0,!=3.1', install_requires=[ ], extras_require={ @@ -40,10 +40,6 @@ 'collective.checkdocs', 'pytest-virtualenv', ], - 'testing:python_version=="2.6"': [ - # undeclared dependency of pytest-virtualenv - 'importlib', - ], 'docs': [ 'sphinx', 'jaraco.packaging>=3.2', @@ -57,7 +53,6 @@ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", - "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Framework :: Pytest", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.12.2/tests/test_ptr.py new/pytest-runner-3.0/tests/test_ptr.py --- old/pytest-runner-2.12.2/tests/test_ptr.py 2017-10-27 15:47:35.000000000 +0200 +++ new/pytest-runner-3.0/tests/test_ptr.py 2017-10-27 16:19:24.000000000 +0200 @@ -1,6 +1,5 @@ from __future__ import unicode_literals -import contextlib import io import os import shutil @@ -17,26 +16,13 @@ return textwrap.dedent(s).lstrip() -def _tarfile_open_ex(*args, **kwargs): - """ - Extend result as a context manager. - """ - return contextlib.closing(tarfile.open(*args, **kwargs)) - - -if sys.version_info[:2] < (2, 7) or (3, 0) <= sys.version_info[:2] < (3, 2): - tarfile_open = _tarfile_open_ex -else: - tarfile_open = tarfile.open - - def make_sdist(dist_path, files): """ Create a simple sdist tarball at dist_path, containing the files listed in ``files`` as ``(filename, content)`` tuples. """ - with tarfile_open(dist_path, 'w:gz') as dist: + with tarfile.open(dist_path, 'w:gz') as dist: for filename, content in files: file_bytes = io.BytesIO(content.encode('utf-8')) file_info = tarfile.TarInfo(name=filename)