Need help converting GMSH to FEniCS

Prune_z_0 was deprecated from meshio a while back. Consider: Gmsh import error - #5 by dokken
or
Mesh generation and conversion with GMSH and PYGMSH | Jørgen S. Dokken