Accepting request 1147534 from devel:BCI:SLCS:next

Add python version constraints to Requires & BuildRequires

OBS-URL: https://build.opensuse.org/request/show/1147534
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=134
This commit is contained in:
Matej Cepl 2024-02-19 14:29:02 +00:00 committed by Git OBS Bridge
parent b217aa53f2
commit 7f32fb426a
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 19 09:15:31 UTC 2024 - Dan Čermák <dcermak@suse.com>
- Add python version constraints to Requires & BuildRequires
-------------------------------------------------------------------
Tue Jan 2 08:23:53 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -42,17 +42,18 @@ Source: https://files.pythonhosted.org/packages/source/p/pytest/pytest-%
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module setuptools_scm >= 6}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tomli >= 1}
BuildRequires: %{python_module tomli >= 1 if %python-base < 3.11}
BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929
Requires: python-attrs >= 19.2.0
Requires: python-exceptiongroup
Requires: python-importlib-metadata >= 0.12
%if 0%{?python_version_nodots} < 311
Requires: python-exceptiongroup >= 1.0.0
Requires: python-tomli >= 1
%endif
Requires: python-iniconfig
Requires: python-packaging
Requires: python-pluggy >= 0.12
Requires: python-setuptools
Requires: python-tomli >= 1
%if %{with libalternatives}
Requires: alts
BuildRequires: alts