I noticed that flatpak does not seem to be getting rid of the fedora 43 runtimes even though I have updated to fedora 44 a while ago and no apps on my system seem to be using them, and I noticed they seem to be pinned for some reason:
It should be fine to unpin if no app is using them.
Side note:
There’s no necessary connection between the version of Fedora on your host, and the Flatpaks you have in use. You could in principle have a Fedora 44 system with apps running against an F43 Flatpak runtime, or vice versa.
Also does not work if there are apps capable of using more than one version of certain flatpaks.
$ flatpak uninstall --unused
Nothing unused to uninstall
$ flatpak uninstall org.freedesktop.Platform.GL.nvidia-595-71-05
Info: applications using the extension org.freedesktop.Platform.GL.nvidia-595-71-05 branch 1.4:
org.gnome.Aisleriot, org.gnome.Crosswords, org.gnome.Mines, org.gnome.Reversi, org.gnome.Sudoku, org.asamk.SignalCli, org.freecad.FreeCAD
Really remove? [y/n]: y
ID Branch Op
1. [-] org.freedesktop.Platform.GL.nvidia-595-71-05 1.4 r
Uninstall complete.
Those same listed apps also use the newer version of the nvidia flatpak org.freedesktop.Platform.GL.nvidia-610-57-04 and as a result removing the older one does not prevent those apps from functioning.