build system: Check that python bindings have consistent version when releasing