14
0

- Pin pytest3 for now, pytest4 and 5 work fine in upstream git

and will be solved with next release

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=52
This commit is contained in:
Tomáš Chvátal
2019-07-18 09:22:29 +00:00
committed by Git OBS Bridge
parent 8ce4cf9465
commit 331634a5f8
2 changed files with 10 additions and 7 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 18 09:21:17 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Pin pytest3 for now, pytest4 and 5 work fine in upstream git
and will be solved with next release
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 14 11:26:42 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com> Tue May 14 11:26:42 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -19,16 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test" %if "%{flavor}" == "test"
%define test 1 %define psuffix -test
%bcond_without test %bcond_without test
%else %else
%define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%if %{with test} Name: python-setuptools_scm%{psuffix}
Name: python-setuptools_scm-%{flavor}
%else
Name: python-setuptools_scm
%endif
Version: 3.3.3 Version: 3.3.3
Release: 0 Release: 0
Summary: Python setuptools handler for SCM tags Summary: Python setuptools handler for SCM tags
@@ -45,7 +42,7 @@ BuildArch: noarch
%if %{with test} %if %{with test}
# Testing requirements # Testing requirements
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest3}
BuildRequires: %{python_module setuptools_scm = %{version}} BuildRequires: %{python_module setuptools_scm = %{version}}
BuildRequires: git-core BuildRequires: git-core
%endif %endif