Accepting request 862573 from home:mcalabkova:branches:devel:languages:python
- Workaround pytest 6.2 failures OBS-URL: https://build.opensuse.org/request/show/862573 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=62
This commit is contained in:
parent
46d89799ca
commit
1925d5a039
@ -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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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
|
||||
%setup -q -n setuptools_scm-%{version}
|
||||
%autopatch -p1
|
||||
sed -i 's/yield_fixture/fixture/' testing/conftest.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@ -74,7 +75,8 @@ in SCM metadata. It also handles file finders for the supperted SCMs.
|
||||
%if %{with test}
|
||||
%check
|
||||
# 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
|
||||
|
||||
%if !%{with test}
|
||||
|
Loading…
Reference in New Issue
Block a user