From f8067a33f259e3f28bf1b359e58f4c3afaefcf9facef4ce5614366ec09d01b27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 29 Apr 2020 13:36:17 +0000 Subject: [PATCH] - Skip two tests that fail due to changes in pytest framework needs to be fixed by upstream OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-incremental?expand=0&rev=9 --- python-incremental.changes | 6 ++++++ python-incremental.spec | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-incremental.changes b/python-incremental.changes index 102483c..c30c57f 100644 --- a/python-incremental.changes +++ b/python-incremental.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 29 13:35:51 UTC 2020 - Tomáš Chvátal + +- Skip two tests that fail due to changes in pytest framework + needs to be fixed by upstream + ------------------------------------------------------------------- Thu Jun 6 15:38:34 UTC 2019 - Tomáš Chvátal diff --git a/python-incremental.spec b/python-incremental.spec index e12d01f..0224e31 100644 --- a/python-incremental.spec +++ b/python-incremental.spec @@ -1,7 +1,7 @@ # # spec file for package python-incremental # -# 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 @@ -30,7 +30,6 @@ Version: 17.5.0 Release: 0 Summary: Library that versions your Python projects License: MIT -Group: Development/Languages/Python URL: https://github.com/twisted/incremental Source: https://files.pythonhosted.org/packages/source/i/incremental/incremental-%{version}.tar.gz BuildRequires: %{python_module setuptools} @@ -63,7 +62,9 @@ Incremental is a small library that versions your Python projects. %if %{with test} %check -%pytest +# test_prereleaseAttributeDeprecated - same as bellow +# test_prereleaseDeprecated - uses deprecated pytest behaviour removed with pytest 5.4 +%pytest -k 'not test_prereleaseAttributeDeprecated and not test_prereleaseDeprecated' %endif %if !%{with test}