Accepting request 862650 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/862650 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=28
This commit is contained in:
commit
769f7596f5
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 12 10:07:27 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Workaround pytest 6.2 failures
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 29 14:13:46 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
Wed Jul 29 14:13:46 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-setuptools_scm
|
# spec file for package python-setuptools_scm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -61,6 +61,7 @@ in SCM metadata. It also handles file finders for the supperted SCMs.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n setuptools_scm-%{version}
|
%setup -q -n setuptools_scm-%{version}
|
||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
sed -i 's/yield_fixture/fixture/' testing/conftest.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -74,7 +75,8 @@ in SCM metadata. It also handles file finders for the supperted SCMs.
|
|||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
# both tests in test_integration.py encounter https://github.com/pypa/setuptools_scm/issues/386 (at least on Python 2)
|
# both tests in test_integration.py encounter https://github.com/pypa/setuptools_scm/issues/386 (at least on Python 2)
|
||||||
%pytest -k 'not test_integration'
|
# ignore unraisable exceptions (basically https://github.com/pypa/setuptools_scm/commit/cf54011725bb5e6ac9911b06e23ffc5c2938a53f)
|
||||||
|
%pytest -p no:unraisableexception -k 'not test_integration'
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user