I am always a little bit puzzled with the versions. I use Emacs from Snap on Ubuntu.

I have to use the pgtk channel, because Wayland.

pgtk/stable is 30.2, pgtk/edge is 32.0.50. Version 31 is not even offered on snap, in none of the channels. I am running on edge (32.0.50) with no problems.