From 09aa7b43172d293417cd169c8c2e5f1e651a636ba4928dbe226d449b3c33019b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 26 Feb 2025 20:53:42 +0000 Subject: [PATCH] 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 --- python-yarl.changes | 9 +++++++++ python-yarl.spec | 5 ++++- 2 files changed, 13 insertions(+), 1 deletion(-) 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