From da0620e52f54dcc0f57ce40a6dd61a83f02b65e48dc667098e01bf9ff38a6864 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 10 Mar 2022 06:26:32 +0000 Subject: [PATCH] - pytest-relaxed now supports pytest 6, so test on all python versions. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invocations?expand=0&rev=21 --- python-invocations.changes | 5 +++++ python-invocations.spec | 10 +++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/python-invocations.changes b/python-invocations.changes index aa55dd5..398c980 100644 --- a/python-invocations.changes +++ b/python-invocations.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 10 06:25:34 UTC 2022 - Steve Kowalik + +- pytest-relaxed now supports pytest 6, so test on all python versions. + ------------------------------------------------------------------- Mon Dec 13 23:44:38 UTC 2021 - Ben Greiner diff --git a/python-invocations.spec b/python-invocations.spec index 681f8a1..df31738 100644 --- a/python-invocations.spec +++ b/python-invocations.spec @@ -1,7 +1,7 @@ # # spec file for package python-invocations # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,6 +30,8 @@ Patch1: invocations-py3.patch BuildRequires: %{python_module blessings >= 1.6} BuildRequires: %{python_module invoke >= 1.6} BuildRequires: %{python_module lexicon} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest-relaxed} BuildRequires: %{python_module releases >= 1.2} BuildRequires: %{python_module semantic_version >= 2.4} BuildRequires: %{python_module setuptools} @@ -38,11 +40,6 @@ BuildRequires: %{python_module tabulate >= 0.7.5} BuildRequires: %{python_module tqdm >= 4.8.1} BuildRequires: %{python_module twine >= 1.15} BuildRequires: %{python_module wheel >= 0.24.0} -# SECTION gh#bitprophet/pytest-relaxed#12, no pytest5 on python310 -BuildRequires: %{python_module mock if (%python-base without python310-base)} -BuildRequires: %{python_module pytest < 6.1 if (%python-base without python310-base)} -BuildRequires: %{python_module pytest-relaxed if (%python-base without python310-base)} -# /SECTION BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-blessings >= 1.6 @@ -92,7 +89,6 @@ the Invoke project's communication channels for updates. Thanks! # packaging: not applicable to openSUSE # cannot use --ignore because of pytest-relaxed plugin rm -r tests/autodoc/ tests/packaging/ -alias pytest-3.10='echo "Not testing: no pytest<6 on python 3.10"' %pytest %files %{python_files}