From f8c7132a15413d2afb3133fecc6821b61c7db2a4194aa2bc212e79cdf24da25c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 13 Oct 2020 19:04:02 +0000 Subject: [PATCH] Accepting request 841509 from home:bnavigator:branches:devel:languages:python:pytest - Upper limit pytest 6.1 -- gh#bitprophet/pytest-relaxed#12 OBS-URL: https://build.opensuse.org/request/show/841509 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invocations?expand=0&rev=18 --- python-invocations.changes | 5 +++++ python-invocations.spec | 16 +++++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/python-invocations.changes b/python-invocations.changes index c5b3a80..7884ac5 100644 --- a/python-invocations.changes +++ b/python-invocations.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 13 10:33:07 UTC 2020 - Benjamin Greiner + +- Upper limit pytest 6.1 -- gh#bitprophet/pytest-relaxed#12 + ------------------------------------------------------------------- Sat Mar 14 08:35:22 UTC 2020 - Tomáš Chvátal diff --git a/python-invocations.spec b/python-invocations.spec index 81e9742..105687d 100644 --- a/python-invocations.spec +++ b/python-invocations.spec @@ -32,7 +32,8 @@ BuildRequires: %{python_module invoke >= 1.0} BuildRequires: %{python_module lexicon} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest-relaxed} -BuildRequires: %{python_module pytest} +# gh#bitprophet/pytest-relaxed#12 +BuildRequires: %{python_module pytest < 6.1} BuildRequires: %{python_module releases >= 1.2} BuildRequires: %{python_module semantic_version >= 2.4} BuildRequires: %{python_module setuptools} @@ -73,8 +74,6 @@ the Invoke project's communication channels for updates. Thanks! %setup -q -n invocations-%{version} %patch0 -p1 %patch1 -p1 -# remove useless releasing test -rm tests/packaging/release.py %build %python_build @@ -84,13 +83,16 @@ rm tests/packaging/release.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -export PYTHONDONTWRITEBYTECODE=1 -# With new sphinx this does not work at all so skip it -#%%pytest +# autodoc: With new sphinx this does not work at all so skip it +# packaging: not applicable to openSUSE +# cannot use --ignore because of pytest-relaxed plugin +rm -r tests/autodoc/ tests/packaging/ +%pytest %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/invocations +%{python_sitelib}/invocations-%{version}*info %changelog