Siril Flatpak missing tkinter/Tk deps for Python scripts

I have the following Flatpak installed

$ flatpak list | grep siril
Free-astro Team	org.siril.Siril	1.4.0	stable	system

I installed the Sirilic Python scripts (https://gitlab.com/free-astro/sirilic , and upon execution I get the following error message:

22:37:02: Starting script /home/user/siril/scripts/sirilic/sirilic/Expert.py
22:37:02: tkinter-tooltip is installed
22:37:02: Traceback (most recent call last):
22:37:02:   File "/home/zoli/siril/scripts/sirilic/sirilic/Expert.py", line 41, in <module>
22:37:02:     import tkinter as tk
22:37:02:   File "/app/lib/python3.13/tkinter/__init__.py", line 38, in <module>
22:37:02:     import _tkinter # If this fails your Python may not be configured for Tk
22:37:02:     ^^^^^^^^^^^^^^^
22:37:02: ModuleNotFoundError: No module named '_tkinter'
22:37:02: Python process (PID: 1587) exited with status 1

I believe this means tkinder is not installed on your system or venv.

Depending on your distro you probably need ‘python3-tk’ or ‘tk’

As it’s a flatpak, if you install tkinter via a venv or by system, the flatpak won’t “see” it, as it’s sandboxed. The flatpak maintainer would need to edit the manifest file to include tkinter.

I believe it only fails with Wayland…