diff --git a/python-ipykernel.spec b/python-ipykernel.spec index 943895e..8363f78 100644 --- a/python-ipykernel.spec +++ b/python-ipykernel.spec @@ -90,6 +90,7 @@ This package provides the IPython kernel for Jupyter. %prep %autosetup -p1 -n ipykernel-%{version} sed -i -e 's/, "--color=yes"//' pyproject.toml +sed -i -e '/ignore:.* current event loop:DeprecationWarning/ a \ "ignore:pytest-asyncio detected an unclosed event loop:DeprecationWarning",' pyproject.toml %build %pyproject_wheel