Skip to content

Fix regex search python version

Stefano Corda requested to merge regex into master

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)

Merge request reports

Loading