diff --git a/python-Fabric.changes b/python-Fabric.changes index 8f7f818..e6d862a 100644 --- a/python-Fabric.changes +++ b/python-Fabric.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 10 06:31:30 UTC 2022 - Steve Kowalik + +- pytest-relaxed now supports pytest 6, so test on all python versions. + ------------------------------------------------------------------- Tue Dec 28 21:46:08 UTC 2021 - Ben Greiner diff --git a/python-Fabric.spec b/python-Fabric.spec index b33d063..483835a 100644 --- a/python-Fabric.spec +++ b/python-Fabric.spec @@ -1,7 +1,7 @@ # # spec file for package python-Fabric # -# 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 @@ -32,15 +32,11 @@ BuildRequires: %{python_module decorator} BuildRequires: %{python_module invoke >= 1.3} BuildRequires: %{python_module mock >= 2.0.0} BuildRequires: %{python_module paramiko >= 2.4} +BuildRequires: %{python_module pytest-relaxed} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros -# SECTION only test for Python < 3.10 -# gh#bitprophet/pytest-relaxed#12 -BuildRequires: %{python_module pytest-relaxed if %python-base < 3.10} -BuildRequires: %{python_module pytest < 6.1 if %python-base < 3.10} -# /SECTION Requires: python-cryptography >= 1.1 Requires: python-decorator Requires: python-invoke >= 1.3 @@ -90,8 +86,6 @@ sed -i 's/from invoke.vendor\./from\ /' fabric/connection.py fabric/group.py int %python_clone -a %{buildroot}%{_bindir}/fab %check -# only test for Python < 3.10 -- gh#bitprophet/pytest-relaxed#12 -alias pytest-3.10='echo "Not testing: no pytest<6 on python 3.10"' %pytest tests/ %post