From 600c6d59a7eb3c7bb5d80519c11432663f637d0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 22 Feb 2022 19:35:52 +0000 Subject: [PATCH] CI tests: Sed ipykernel to declare missing dependency on ipython_genutils Related: rhbz#2060109 --- tests/python-ipykernel.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/python-ipykernel.spec b/tests/python-ipykernel.spec index 6ef7010..cba582e 100644 --- a/tests/python-ipykernel.spec +++ b/tests/python-ipykernel.spec @@ -31,6 +31,12 @@ Summary: %{summary} %prep %autosetup -p1 -n ipykernel-%{version} +# Add dependency on IPython genutils +# https://github.com/ipython/ipykernel/pull/756 +# Patch does not apply, so we dirty-sed it in +sed -i 's/install_requires=\[/install_requires=["ipython_genutils",/' setup.py + + %generate_buildrequires %pyproject_buildrequires -r