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