From b2f247f8fba9e08694519eb9bb0c683da13da2e8ee77c5746a428a5851ed8a28 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 28 May 2020 03:12:57 +0000 Subject: [PATCH] - Update to 1.4.1: * Remove nose dependency for good * Require enum34 for Python 2.x. * Improved code comments and renamed the test name format enum class * Use enum instead of bool to allow easier future changes * Allow index-only test names - Switch to using %pytest macro now that nose is not required OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ddt?expand=0&rev=26 --- ddt-1.3.1.tar.gz | 3 --- ddt-1.4.1.tar.gz | 3 +++ python-ddt.changes | 11 +++++++++++ python-ddt.spec | 6 +++--- 4 files changed, 17 insertions(+), 6 deletions(-) delete mode 100644 ddt-1.3.1.tar.gz create mode 100644 ddt-1.4.1.tar.gz diff --git a/ddt-1.3.1.tar.gz b/ddt-1.3.1.tar.gz deleted file mode 100644 index 42fe542..0000000 --- a/ddt-1.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ef9e554b03241f8f8a1bbde5f749a199871d227335fe4bb320feb0abe6fbab00 -size 10659 diff --git a/ddt-1.4.1.tar.gz b/ddt-1.4.1.tar.gz new file mode 100644 index 0000000..6cd095b --- /dev/null +++ b/ddt-1.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0595e70d074e5777771a45709e99e9d215552fb1076443a25fad6b23d8bf38da +size 11457 diff --git a/python-ddt.changes b/python-ddt.changes index 5ac3a49..f2b4891 100644 --- a/python-ddt.changes +++ b/python-ddt.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu May 28 03:09:23 UTC 2020 - Steve Kowalik + +- Update to 1.4.1: + * Remove nose dependency for good + * Require enum34 for Python 2.x. + * Improved code comments and renamed the test name format enum class + * Use enum instead of bool to allow easier future changes + * Allow index-only test names +- Switch to using %pytest macro now that nose is not required + ------------------------------------------------------------------- Thu Apr 2 10:30:10 UTC 2020 - Marketa Calabkova diff --git a/python-ddt.spec b/python-ddt.spec index 11d9610..8dcaa23 100644 --- a/python-ddt.spec +++ b/python-ddt.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-ddt -Version: 1.3.1 +Version: 1.4.1 Release: 0 Summary: Data-Driven/Decorated Tests License: MIT @@ -31,7 +31,7 @@ BuildRequires: python-rpm-macros BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyYAML} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} %if %{with python2} BuildRequires: python-mock %endif @@ -52,7 +52,7 @@ A library to multiply test cases. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pytest %files %{python_files} %doc CONTRIBUTING.md README.md