From ad83be77cb14eee43c91ca532b38a120f7d8dd82503c185e3ca17c958651c668 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Sun, 22 Dec 2019 04:37:38 +0000 Subject: [PATCH] Accepting request 758777 from home:jayvdb:branches:devel:languages:python - Re-activate test suite - Update to v2.0.2 * Fix compatibility with pytest 4.6+ OBS-URL: https://build.opensuse.org/request/show/758777 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-error-for-skips?expand=0&rev=7 --- pytest-error-for-skips-2.0.2.tar.gz | 3 +++ python-pytest-error-for-skips.changes | 7 +++++++ python-pytest-error-for-skips.spec | 17 +++++++---------- v1.0.0.tar.gz | 3 --- 4 files changed, 17 insertions(+), 13 deletions(-) create mode 100644 pytest-error-for-skips-2.0.2.tar.gz delete mode 100644 v1.0.0.tar.gz diff --git a/pytest-error-for-skips-2.0.2.tar.gz b/pytest-error-for-skips-2.0.2.tar.gz new file mode 100644 index 0000000..084ea81 --- /dev/null +++ b/pytest-error-for-skips-2.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a11f40956b59597c6d4e08c82932764aed087f60efd8c950c80c46b1ebec090 +size 4768 diff --git a/python-pytest-error-for-skips.changes b/python-pytest-error-for-skips.changes index 72962bb..bf65bc9 100644 --- a/python-pytest-error-for-skips.changes +++ b/python-pytest-error-for-skips.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Dec 22 02:47:21 UTC 2019 - John Vandenberg + +- Re-activate test suite +- Update to v2.0.2 + * Fix compatibility with pytest 4.6+ + ------------------------------------------------------------------- Thu Feb 14 12:40:20 UTC 2019 - Tomáš Chvátal diff --git a/python-pytest-error-for-skips.spec b/python-pytest-error-for-skips.spec index 810b52d..090443e 100644 --- a/python-pytest-error-for-skips.spec +++ b/python-pytest-error-for-skips.spec @@ -18,21 +18,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-error-for-skips -Version: 1.0.0 +Version: 2.0.2 Release: 0 Summary: Pytest plugin to treat skipped tests a test failure License: MIT Group: Development/Languages/Python -URL: https://github.com/janschulz/pytest-error-for-skips -Source: https://github.com/jankatins/pytest-error-for-skips/archive/v%{version}.tar.gz +URL: https://github.com/jankatins/pytest-error-for-skips +Source: https://github.com/jankatins/pytest-error-for-skips/archive/%{version}.tar.gz#/pytest-error-for-skips-%{version}.tar.gz BuildRequires: %{python_module setuptools} -BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-pytest >= 2.9.2 +Requires: python-pytest >= 4.6 BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module pytest >= 2.9.2} +BuildRequires: %{python_module pytest >= 4.6} # /SECTION %python_subpackages @@ -45,7 +44,6 @@ missing dependencies. %prep %setup -q -n pytest-error-for-skips-%{version} -dos2unix README.rst %build %python_build @@ -55,11 +53,10 @@ dos2unix README.rst %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# The tests are broken and upstream is dead since 2016 -#%%python_expand PYTHONPATH=%{$python_sitelib} py.test-%{$python_bin_suffix} -v +%pytest %files %{python_files} -%doc README.rst +%doc README.md %license LICENSE %{python_sitelib}/* diff --git a/v1.0.0.tar.gz b/v1.0.0.tar.gz deleted file mode 100644 index 1ba53ca..0000000 --- a/v1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b35e5ebdff3fe978618c643bd715325aa0b733bc0b1878daed5f3926bc2ed06b -size 4690