the armature doesn't move the mesh and i can't unparent the mesh for it to work
You have vertices overlapping. In Edit mode, select all the vertices and press AltM > Merge By Distance. Play with the value in the Operator box in the bottom left of your 3D view (but the default value is ok). The parent With Automatic Weight. You'll have to make some corrections though.