Hello community, here is the log from the commit of package python-ddt for openSUSE:Factory checked in at 2020-01-24 14:21:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ddt (Old) and /work/SRC/openSUSE:Factory/.python-ddt.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ddt" Fri Jan 24 14:21:06 2020 rev:8 rq:766250 version:1.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ddt/python-ddt.changes 2019-03-12 09:44:49.467757747 +0100 +++ /work/SRC/openSUSE:Factory/.python-ddt.new.26092/python-ddt.changes 2020-01-24 14:21:17.506622032 +0100 @@ -1,0 +2,6 @@ +Wed Jan 22 10:35:00 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 1.2.2: + * use mock only when it is really needed + +------------------------------------------------------------------- Old: ---- ddt-1.2.1.tar.gz New: ---- ddt-1.2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ddt.spec ++++++ --- /var/tmp/diff_new_pack.6dPcj1/_old 2020-01-24 14:21:18.562622403 +0100 +++ /var/tmp/diff_new_pack.6dPcj1/_new 2020-01-24 14:21:18.570622405 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-ddt # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-ddt -Version: 1.2.1 +Version: 1.2.2 Release: 0 Summary: Data-Driven/Decorated Tests License: MIT -Group: Development/Languages/Python URL: https://github.com/txels/ddt Source: https://files.pythonhosted.org/packages/source/d/ddt/ddt-%{version}.tar.gz BuildRequires: %{python_module setuptools} @@ -31,8 +31,10 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyYAML} -BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} +%if %{with python2} +BuildRequires: python-mock +%endif # /SECTION %python_subpackages ++++++ ddt-1.2.1.tar.gz -> ddt-1.2.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ddt-1.2.1/PKG-INFO new/ddt-1.2.2/PKG-INFO --- old/ddt-1.2.1/PKG-INFO 2019-02-24 08:17:50.000000000 +0100 +++ new/ddt-1.2.2/PKG-INFO 2019-12-02 07:22:06.000000000 +0100 @@ -1,8 +1,8 @@ Metadata-Version: 1.1 Name: ddt -Version: 1.2.1 +Version: 1.2.2 Summary: Data-Driven/Decorated Tests -Home-page: https://github.com/txels/ddt +Home-page: https://github.com/datadriventests/ddt Author: Carles Barrobés Author-email: car...@barrobes.com License: UNKNOWN @@ -16,7 +16,6 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Topic :: Software Development :: Testing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ddt-1.2.1/README.md new/ddt-1.2.2/README.md --- old/ddt-1.2.1/README.md 2019-02-24 05:12:08.000000000 +0100 +++ new/ddt-1.2.2/README.md 2019-12-02 07:11:37.000000000 +0100 @@ -1,6 +1,5 @@ -[![Build Status](https://travis-ci.org/txels/ddt.svg)](https://travis-ci.org/txels/ddt) -[![Code Health](https://landscape.io/github/txels/ddt/master/landscape.svg)](https://landscape.io/github/txels/ddt/master) -[![codecov.io](https://codecov.io/github/txels/ddt/coverage.svg?branch=master)](https://codecov.io/github/txels/ddt) +[![Build Status](https://travis-ci.org/datadriventests/ddt.svg)](https://travis-ci.org/datadriventests/ddt) +[![codecov.io](https://codecov.io/github/datadriventests/ddt/coverage.svg?branch=master)](https://codecov.io/github/datadriventests/ddt) <br /> [![Version](https://img.shields.io/pypi/v/ddt.svg)](https://pypi.python.org/pypi/ddt) [![Downloads](https://img.shields.io/pypi/dm/ddt.svg)](https://pypi.python.org/pypi/ddt) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ddt-1.2.1/ddt.egg-info/PKG-INFO new/ddt-1.2.2/ddt.egg-info/PKG-INFO --- old/ddt-1.2.1/ddt.egg-info/PKG-INFO 2019-02-24 08:17:50.000000000 +0100 +++ new/ddt-1.2.2/ddt.egg-info/PKG-INFO 2019-12-02 07:22:06.000000000 +0100 @@ -1,8 +1,8 @@ Metadata-Version: 1.1 Name: ddt -Version: 1.2.1 +Version: 1.2.2 Summary: Data-Driven/Decorated Tests -Home-page: https://github.com/txels/ddt +Home-page: https://github.com/datadriventests/ddt Author: Carles Barrobés Author-email: car...@barrobes.com License: UNKNOWN @@ -16,7 +16,6 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Topic :: Software Development :: Testing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ddt-1.2.1/ddt.py new/ddt-1.2.2/ddt.py --- old/ddt-1.2.1/ddt.py 2019-02-24 08:10:28.000000000 +0100 +++ new/ddt-1.2.2/ddt.py 2019-12-02 07:18:08.000000000 +0100 @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- -# This file is a part of DDT (https://github.com/txels/ddt) +# This file is a part of DDT (https://github.com/datadriventests/ddt) # Copyright 2012-2015 Carles Barrobés and DDT contributors # For the exact contribution history, see the git revision log. # DDT is licensed under the MIT License, included in -# https://github.com/txels/ddt/blob/master/LICENSE.md +# https://github.com/datadriventests/ddt/blob/master/LICENSE.md import inspect import json @@ -19,7 +19,7 @@ else: _have_yaml = True -__version__ = '1.2.1' +__version__ = '1.2.2' # These attributes will not conflict with any real python attribute # They are added to the decorated test method and processed later diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ddt-1.2.1/setup.py new/ddt-1.2.2/setup.py --- old/ddt-1.2.1/setup.py 2019-02-24 05:12:08.000000000 +0100 +++ new/ddt-1.2.2/setup.py 2019-12-02 07:11:37.000000000 +0100 @@ -11,7 +11,7 @@ version=__version__, author='Carles Barrobés', author_email='car...@barrobes.com', - url='https://github.com/txels/ddt', + url='https://github.com/datadriventests/ddt', py_modules=['ddt'], classifiers=[ 'Development Status :: 4 - Beta', @@ -22,7 +22,6 @@ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Topic :: Software Development :: Testing', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ddt-1.2.1/test/test_functional.py new/ddt-1.2.2/test/test_functional.py --- old/ddt-1.2.1/test/test_functional.py 2019-02-24 08:10:28.000000000 +0100 +++ new/ddt-1.2.2/test/test_functional.py 2019-12-02 07:11:37.000000000 +0100 @@ -2,7 +2,10 @@ import json import six -import mock +try: + from unittest import mock +except ImportError: + import mock from ddt import ddt, data, file_data from nose.tools import (