diff --git a/python-yarl.changes b/python-yarl.changes index b7c816b..ee57728 100644 --- a/python-yarl.changes +++ b/python-yarl.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Feb 26 16:53:22 UTC 2025 - Markéta Machová + +- 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 diff --git a/python-yarl.spec b/python-yarl.spec index bcd5397..6b9ff4f 100644 --- a/python-yarl.spec +++ b/python-yarl.spec @@ -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