CI tests: Sed ipykernel to declare missing dependency on ipython_genutils

Related: rhbz#2060109
This commit is contained in:
Miro Hrončok 2022-02-22 19:35:52 +00:00
parent 4977b39d62
commit 600c6d59a7

View File

@ -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