From 8c72901316b667df2765900415274d4d8be3d097 Mon Sep 17 00:00:00 2001 From: Sandro Date: Dec 12 2023 14:37:52 +0000 Subject: Drop BR on `pylint` and `pylint-venv` Spyder builds fine without those. However, `pylint` is required for a specific Spyder plugin, so we add it as a runtime requirement. --- diff --git a/spyder.spec b/spyder.spec index 61dfebf..abb929b 100644 --- a/spyder.spec +++ b/spyder.spec @@ -75,6 +75,8 @@ Summary: %{summary} Requires: hicolor-icon-theme # Unbundled from spyder/plugins/help/utils/js/mathjax Requires: mathjax +# Required for the plugin (but not for building Spyder) +Requires: python3-pylint %description -n python3-spyder %_description @@ -93,11 +95,13 @@ find . -type f \( \ # Temporary measure since the 6.x pre-releases are behind stable 5.x # releases wrt to the version boundaries of dependencies, but we would # like to keep rawhide and F39 in sync. -# Drop upper bound for pylint (3.0.0~a7 > 3.0) -sed -r -i 's|(pylint.*),<3.0|\1|' setup.py -# Do the same for qtconsole (5.5.0 > 5.5~~) +# Drop dependency on linters (pylint and pylint-venv) +sed -i \ +-e '/pylint>.*/d' \ +-e '/pylint-venv>.*/d' setup.py +# Drop upper bound for qtconsole (5.5.0 > 5.5~~) sed -r -i 's|(qtconsole.*),<5.5.0|\1|' setup.py -# And for qdarkstyle (3.2.1 > 3.2~~) +# Do the same for qdarkstyle (3.2.1 > 3.2~~) sed -r -i 's|(qdarkstyle.*),<3.2.0|\1|' setup.py