Accepting request 811023 from home:pgajdos:python

- version update to 0.7.4
    * Add ``class_name_func`` option to ``@parameterized_class``
    * Fix arguments being passed to skip_on_empty_helper (thanks @gaf3;
      https://github.com/wolever/parameterized/issues/57)
    * Fix tests on Python 3.8.2 (thanks @Ikke;
      https://github.com/wolever/parameterized/pull/99)
    * Fix some typos (thanks @LWprogramming, @jinnovation;
      https://github.com/wolever/parameterized/pull/77,
      https://github.com/wolever/parameterized/pull/80)
    * Fix unicode handling in setup.py (thanks @sliwinski-milosz;
      https://github.com/wolever/parameterized/pull/89)
    * Fix Python 3.9 compat (thanks @vstinner;
      https://github.com/wolever/parameterized/pull/94)
    * Add `@parameterized_class` name function callback support (thanks
      @duncwebb et al; https://github.com/wolever/parameterized/pull/74)
- drop dependency on unittest2

OBS-URL: https://build.opensuse.org/request/show/811023
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parameterized?expand=0&rev=16
This commit is contained in:
Tomáš Chvátal 2020-06-03 07:57:45 +00:00 committed by Git OBS Bridge
parent 7d01845bb4
commit f9448678ab
4 changed files with 25 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6a94dbea30c6abde99fd4c2f2042c1bf7f980e48908bf92ead62394f93cf57ed
size 22365

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:190f8cc7230eee0b56b30d7f074fd4d165f7c45e6077582d0813c8557e738490
size 23389

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Tue Jun 2 14:26:24 UTC 2020 - pgajdos@suse.com
- version update to 0.7.4
* Add ``class_name_func`` option to ``@parameterized_class``
* Fix arguments being passed to skip_on_empty_helper (thanks @gaf3;
https://github.com/wolever/parameterized/issues/57)
* Fix tests on Python 3.8.2 (thanks @Ikke;
https://github.com/wolever/parameterized/pull/99)
* Fix some typos (thanks @LWprogramming, @jinnovation;
https://github.com/wolever/parameterized/pull/77,
https://github.com/wolever/parameterized/pull/80)
* Fix unicode handling in setup.py (thanks @sliwinski-milosz;
https://github.com/wolever/parameterized/pull/89)
* Fix Python 3.9 compat (thanks @vstinner;
https://github.com/wolever/parameterized/pull/94)
* Add `@parameterized_class` name function callback support (thanks
@duncwebb et al; https://github.com/wolever/parameterized/pull/74)
- drop dependency on unittest2
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 5 15:52:40 CET 2019 - Matej Cepl <mcepl@suse.com> Thu Dec 5 15:52:40 CET 2019 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-parameterized # spec file for package python-parameterized
# #
# Copyright (c) 2019 SUSE LLC # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-parameterized Name: python-parameterized
Version: 0.7.1 Version: 0.7.4
Release: 0 Release: 0
Summary: Parameterized testing Summary: Parameterized testing
License: BSD-2-Clause License: BSD-2-Clause
@ -31,12 +31,10 @@ BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose2} BuildRequires: %{python_module nose2}
BuildRequires: %{python_module nose} BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module unittest2}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Suggests: python-nose Suggests: python-nose
Suggests: python-nose2 Suggests: python-nose2
Suggests: python-unittest2
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -58,10 +56,8 @@ Not working with supportest "pytest" versions
%check %check
export LANG=en_US.UTF8 export LANG=en_US.UTF8
# gh#wolever/parameterized#84
%{python_expand nosetests-%$python_version} %{python_expand nosetests-%$python_version}
%{python_expand nose2-%$python_version} %{python_expand nose2-%$python_version}
%{python_expand unit2-%$python_version}
%python_exec -m unittest parameterized.test %python_exec -m unittest parameterized.test
%files %{python_files} %files %{python_files}