diff --git a/pytest-instafail-0.4.1.post0.tar.gz b/pytest-instafail-0.4.1.post0.tar.gz deleted file mode 100644 index c7e56fb..0000000 --- a/pytest-instafail-0.4.1.post0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cc5007720424aeabadcf178fc0aecb3b21e09950b9e93638f3eb16c47f5fa917 -size 5833 diff --git a/pytest-instafail-0.4.2.tar.gz b/pytest-instafail-0.4.2.tar.gz new file mode 100644 index 0000000..f650a2e --- /dev/null +++ b/pytest-instafail-0.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:19273fdf3f0f9a1cb4b7a0bc8aa1bdaaf6b0f62a681b693d5eca4626abc99782 +size 5899 diff --git a/pytest5.patch b/pytest5.patch deleted file mode 100644 index dcf1dc2..0000000 --- a/pytest5.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: pytest-instafail-0.4.1.post0/test_instafail.py -=================================================================== ---- pytest-instafail-0.4.1.post0.orig/test_instafail.py -+++ pytest-instafail-0.4.1.post0/test_instafail.py -@@ -241,7 +241,7 @@ class TestInstafailingTerminalReporter(o - ]) - if not option.quiet: - result.stdout.fnmatch_lines([ -- "collected 0 items / 1 errors", -+ "collected 0 items / 1 error*", - ]) - - def test_print_stacktrace_once_with_pdb(self, testdir, request, option): diff --git a/python-pytest-instafail.changes b/python-pytest-instafail.changes index 86b9a98..e748ae8 100644 --- a/python-pytest-instafail.changes +++ b/python-pytest-instafail.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Jun 29 10:00:24 UTC 2020 - Marketa Calabkova + +- Update to 0.4.2 + * Fixed usage of deprecated pytest-xdist slave aliases (#20). + * Fixed failing tests on pytest 5 + * Added support for pytest 2.6 + * Fixed failing tests on pytest 2.6 +- Drop unneeded patch pytest5.patch + ------------------------------------------------------------------- Thu Mar 5 08:24:53 UTC 2020 - Tomáš Chvátal diff --git a/python-pytest-instafail.spec b/python-pytest-instafail.spec index 9cf90d8..0d21c51 100644 --- a/python-pytest-instafail.spec +++ b/python-pytest-instafail.spec @@ -18,20 +18,19 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-instafail -Version: 0.4.1.post0 +Version: 0.4.2 Release: 0 Summary: Pytest Plugin to Show Failures Instantly License: BSD-2-Clause URL: https://github.com/jpvanhal/pytest-instafail Source: https://files.pythonhosted.org/packages/source/p/pytest-instafail/pytest-instafail-%{version}.tar.gz -Patch0: pytest5.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-pytest >= 2.9 +Requires: python-pytest >= 2.6 BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module pytest >= 2.9} +BuildRequires: %{python_module pytest >= 2.6} # /SECTION %python_subpackages @@ -42,7 +41,6 @@ until the end of test session. %prep %setup -q -n pytest-instafail-%{version} -%patch0 -p1 %build %python_build