During release 25.1.0 we got build failures in CI/CD pipeline with the error Python is missing.
Debugged it and here are my findings:
Python is not anymore provided on CentOS 8 by default and is not available in our build image when we updated to CentOS 8.
In python scripts you have to set the shebang to python2 or python3 explicitly, just python doesn't work anymore. This issue is described here: https://developers.redhat.com/blog/2018/11/14/python-in-rhel-8/
Q: Why haven't we seen this before and it fails on release?
A: This python script only runs on master when we do a release. All other branches don't need this python script.
To set the tag the same as in the version number, we run the version-tags script. It parses the pom.xml with Python to fetch the version number. It is executed only for the master branch. On any other branch, we just set the tag fixed with "bleeding" for develop or use the CircleCI branch name from the environment variable.