Found the solution
(subprocess.CalledProcessError: Command '['git', 'tag']' returned non-zero exit status 128)