tests: skip a python test if a known broken gi version is found