Accepting request 1128182 from devel:languages:python

Fix tests with modern version of python-anyio
https://build.opensuse.org/request/show/1126958

- Override pytest configuration to do not handle warnings as errors.

OBS-URL: https://build.opensuse.org/request/show/1128182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-starlette?expand=0&rev=22
This commit is contained in:
Ana Guerrero 2023-11-23 20:39:01 +00:00 committed by Git OBS Bridge
commit 1c354549fe
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 22 17:27:05 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Override pytest configuration to do not handle warnings as errors.
-------------------------------------------------------------------
Wed Oct 18 07:31:47 UTC 2023 - David Anes <david.anes@suse.com>

View File

@ -73,6 +73,10 @@ building high performance asyncio services.
%build
%pyproject_wheel
# override default pytest.ini configuration in pyproject.toml to do
# not crash on deprecation warning
touch pytest.ini
%install
%if ! %{with test}
%pyproject_install