From e82e8024709aa4377d1f76f105d97e4984d86663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 22 Feb 2022 20:35:52 +0100 Subject: [PATCH] CI tests: Sed ipykernel to declare missing dependency on ipython_genutils --- 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