forked from pool/python-yarl
Accepting request 1248774 from home:mcalabkova:branches:devel:languages:python
- Delete pytest.ini * hypothesis added a warning about pytest not looking into its hidden working directory * warnings were treated as errors here * resolving both problems by returning to default pytest settings OBS-URL: https://build.opensuse.org/request/show/1248774 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=74
This commit is contained in:
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 26 16:53:22 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Delete pytest.ini
|
||||||
|
* hypothesis added a warning about pytest not looking into its hidden
|
||||||
|
working directory
|
||||||
|
* warnings were treated as errors here
|
||||||
|
* resolving both problems by returning to default pytest settings
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 5 12:10:05 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
Thu Dec 5 12:10:05 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-yarl
|
# spec file for package python-yarl
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 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
|
||||||
@@ -54,6 +54,9 @@ sed -i '/addopts/d' setup.cfg
|
|||||||
sed -i 's/-p pytest_cov/-p no:pytest_cov/' pytest.ini
|
sed -i 's/-p pytest_cov/-p no:pytest_cov/' pytest.ini
|
||||||
sed -i '/--cov/d' pytest.ini
|
sed -i '/--cov/d' pytest.ini
|
||||||
|
|
||||||
|
# hypothesis warns about norecursedirs, but warnings are treated as errors. Resolving both problems.
|
||||||
|
rm pytest.ini
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -Wno-return-type"
|
export CFLAGS="%{optflags} -Wno-return-type"
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
Reference in New Issue
Block a user