Fix regex search python version
We find out that the old regex search was not working anymore. We update it with a more comprehensive and generic one:
re.search(r'python@=([\d.]+)', str(self.spec)).group(1)
We find out that the old regex search was not working anymore. We update it with a more comprehensive and generic one:
re.search(r'python@=([\d.]+)', str(self.spec)).group(1)