Accepting request 1248800 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1248800 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=34
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>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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 '/--cov/d' pytest.ini
|
||||
|
||||
# hypothesis warns about norecursedirs, but warnings are treated as errors. Resolving both problems.
|
||||
rm pytest.ini
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -Wno-return-type"
|
||||
%pyproject_wheel
|
||||
|
Reference in New Issue
Block a user