Accepting request 960646 from devel:languages:python

- pytest-relaxed now supports pytest 6, so test on all python versions.

OBS-URL: https://build.opensuse.org/request/show/960646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lexicon?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2022-03-13 19:25:10 +00:00 committed by Git OBS Bridge
commit a4d2835954
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 10 06:08:28 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- pytest-relaxed now supports pytest 6, so test on all python versions.
-------------------------------------------------------------------
Mon Dec 13 23:14:40 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-lexicon
#
# 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
@ -33,7 +33,7 @@ Requires: python-six
Conflicts: python-dns-lexicon
BuildArch: noarch
# SECTION tests
BuildRequires: %{python_module pytest-relaxed if (%python-base without python310-base)}
BuildRequires: %{python_module pytest-relaxed}
# /SECTION tests
%python_subpackages
@ -56,7 +56,6 @@ Lexicon is a collection of dict subclasses:
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
alias pytest-3.10='echo "Not testing: no pytest<6 on python 3.10"'
%pytest
%files %{python_files}