public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/spyder] f43: Merge branch 'rawhide' into f43
Date: Sat, 07 Nov 2026 16:06:25 GMT [thread overview]
Message-ID: <179406758583.1.13771804829673555318.rpms-spyder-1dabca7d2365@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/spyder
Branch : f43
Commit : 1dabca7d236558367332b8ef347c55bad5ea557f
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-11-07T13:06:11-03:00
Stats : +35/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/spyder/c/1dabca7d236558367332b8ef347c55bad5ea557f?branch=f43
Log:
Merge branch 'rawhide' into f43
---
diff --git a/sources b/sources
index f8ff76f..1f5283d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (spyder-6.1.7.tar.gz) = 35953b23e7769b725337d928d139ac3d224e13b53fae2d2e2cc54ee6aa1bdebf614a6f99a6e775e2b59419713075cf17a585ce1a92a12b3838a0c87bca9a7010
+SHA512 (spyder-6.1.8.tar.gz) = 84fb0a4439b564148f2424efbcf74c9bd9ca240a67f726f81ef7afbaf4c719446b59ded7a234251bbf829aab47170206fcfa0158c08c6035e33bfda01a760554
diff --git a/spyder.spec b/spyder.spec
index 02f57e1..434c0e5 100644
--- a/spyder.spec
+++ b/spyder.spec
@@ -1,6 +1,6 @@
%global forgeurl https://github.com/spyder-ide/spyder
%global tag v%{version}
-Version: 6.1.7
+Version: 6.1.8
%forgemeta
Name: spyder
@@ -64,6 +64,7 @@ components, such as the interactive console, in your own software.}
%package -n python3-spyder
Summary: %{summary}
+Requires: fontawesome-fonts-web
Requires: hicolor-icon-theme
Requires: mathjax
Requires: python3dist(python-lsp-black) >= 2
@@ -125,6 +126,30 @@ ln -s %{_datadir}/javascript/mathjax/ \
# provide spyder3 as symlink to spyder binary for continuity
ln -s spyder %{buildroot}%{_bindir}/spyder3
+# python3-QtAwesome symlinks its fontawesome5/6 webfonts to
+# /usr/share/fontawesome/webfonts/fa-*.ttf, but fontawesome-fonts-web 7.x
+# only ships woff2 files -> dangling symlinks -> qtawesome crashes spyder at
+# import time (FileNotFoundError on open() of the font data).
+# Those font files are owned by python3-QtAwesome, so they are not in our
+# buildroot; fix the symlinks in a scriptlet after install instead.
+# Repoint them at the woff2 files; Qt loads them fine as raw font data (the
+# .ttf extension is only used as a filename by qtawesome).
+%posttrans -n python3-spyder
+qta_fonts="$(python3 -c 'import os,qtawesome;print(os.path.dirname(qtawesome.__file__)+"/fonts")' 2>/dev/null)"
+if [ -d "$qta_fonts" ]; then
+ for ttf in "$qta_fonts"/fontawesome[56]-*-webfont-*.ttf; do
+ [ -L "$ttf" ] || continue
+ case "$(basename "$ttf")" in
+ *solid*) target=fa-solid-900.woff2 ;;
+ *regular*) target=fa-regular-400.woff2 ;;
+ *brands*) target=fa-brands-400.woff2 ;;
+ *) continue ;;
+ esac
+ ln -sf %{_datadir}/fontawesome/webfonts/$target "$ttf"
+ done
+fi
+exit 0
+
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/spyder.desktop
diff --git a/spyder.spec b/spyder.spec
index 219f674..434c0e5 100644
--- a/spyder.spec
+++ b/spyder.spec
@@ -39,6 +39,8 @@ BuildRequires: python3-devel
BuildRequires: python3dist(python-lsp-black) >= 2
BuildRequires: python3dist(python-lsp-ruff) >= 2.3
BuildRequires: python3dist(python-lsp-server) >= 1.13
+BuildRequires: python3dist(qtawesome) >= 1.4
+BuildRequires: python3dist(qtconsole) >= 5.7
BuildRequires: python3dist(spyder-kernels) >= 3.1
%global appname org.spyder_ide.spyder
@@ -68,6 +70,8 @@ Requires: mathjax
Requires: python3dist(python-lsp-black) >= 2
Requires: python3dist(python-lsp-ruff) >= 2.3
Requires: python3dist(python-lsp-server) >= 1.13
+Requires: python3dist(qtawesome) >= 1.4
+Requires: python3dist(qtconsole) >= 5.7
Requires: python3dist(spyder-kernels) >= 3.1
%description -n python3-spyder %_description
@@ -89,8 +93,12 @@ sed -i \
-e '/python-lsp-black/d' \
-e '/python-lsp-ruff/d' \
-e '/python-lsp-server/d' \
+ -e '/qtawesome/d' \
+ -e '/qtconsole/d' \
-e '/spyder-kernels/d' setup.py
sed -i -e "s/PYLSP_REQVER = .*/PYLSP_REQVER = '>=1.13.0'/g" spyder/dependencies.py
+sed -i -e "s/QTAWESOME_REQVER = .*/QTAWESOME_REQVER = '>=1.4.0'/g" spyder/dependencies.py
+sed -i -e "s/QTCONSOLE_REQVER = .*/QTCONSOLE_REQVER = '>=5.7.0'/g" spyder/dependencies.py
sed -i -e "s/SPYDER_KERNELS_REQVER = .*/SPYDER_KERNELS_REQVER = '>=3.1.0'/g" spyder/dependencies.py
next reply other threads:[~2026-11-07 16:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-07 16:06 Filipe Rosset [this message]
2026-11-27 16:48 [rpms/spyder] f43: Merge branch 'rawhide' into f43 Filipe Rosset
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179406758583.1.13771804829673555318.rpms-spyder-1dabca7d2365@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox