From 224033587931513e85bffe23e3f01627a3337d77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 5 Sep 2024 17:56:13 +0200 Subject: [PATCH] CI: python-ipykernel: Drop unneeded python3-ipyparallel dependency It is not available in EPEL 10 and we can avoid it by excluding more imports, which is what this spec file tests anyway. (cherry picked from commit 459cda2e67919f8684e15070a45bb841b039fc9e) --- tests/python-ipykernel.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/python-ipykernel.spec b/tests/python-ipykernel.spec index 133d8bb..85edb00 100644 --- a/tests/python-ipykernel.spec +++ b/tests/python-ipykernel.spec @@ -11,9 +11,6 @@ BuildArch: noarch BuildRequires: pyproject-rpm-macros BuildRequires: python3-devel -# some of the nested modules import from this, but upstream does not declare the dependency -BuildRequires: python3-ipyparallel - %description This package contains data files. Building this tests that data files are not listed when +auto is not used @@ -49,7 +46,7 @@ sed -i '/"debugpy/d' pyproject.toml setup.py %pyproject_save_files -l 'ipykernel*' +auto %check -%pyproject_check_import -e '*.test*' -e 'ipykernel.gui*' -e 'ipykernel.pylab.*' -e 'ipykernel.trio*' +%pyproject_check_import -e '*.test*' -e 'ipykernel.gui*' -e 'ipykernel.pylab.*' -e 'ipykernel.trio*' -e 'ipykernel.datapub' -e 'ipykernel.pickleutil' -e 'ipykernel.serialize' %files -n python3-ipykernel -f %{pyproject_files} %doc README.md