From 3d8aee3da67794fa4c85ba7cc18dd70cb4b60e198c4fa90057558ce7d89e9e15 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Thu, 17 Aug 2023 11:47:29 +0000 Subject: [PATCH] Accepting request 1104371 from home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX - Run tests ignoring DeprecationWarning to make it work with python3.12. The DeprecationWarning thrown is "signature of throw() is deprecated" OBS-URL: https://build.opensuse.org/request/show/1104371 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aspectlib?expand=0&rev=16 --- python-aspectlib.changes | 7 +++++++ python-aspectlib.spec | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-aspectlib.changes b/python-aspectlib.changes index 804bcb7..17bb001 100644 --- a/python-aspectlib.changes +++ b/python-aspectlib.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Aug 17 11:43:21 UTC 2023 - Daniel Garcia + +- Run tests ignoring DeprecationWarning to make it work with + python3.12. The DeprecationWarning thrown is "signature of + throw() is deprecated" + ------------------------------------------------------------------- Mon May 8 09:22:00 UTC 2023 - Daniel Garcia diff --git a/python-aspectlib.spec b/python-aspectlib.spec index 51604e2..956fee7 100644 --- a/python-aspectlib.spec +++ b/python-aspectlib.spec @@ -66,7 +66,8 @@ rm tests/test_integrations.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest --ignore=src +# ignore deprecation warnings because of signature of throw() is deprecated +%pytest --ignore=src -W ignore::DeprecationWarning %files %{python_files} %license LICENSE