Every version built by CI is
This is usually caused by some files created by CI pipeline like build
artifacts or test reports, e.g.
reports/unit.xml. If they are not mentioned in
they will be recognized by git as untracked. Because of that
git status will report that you have uncommitted (dirty) changes in
the index, so
setuptools-git-versioning will detect current version
You should such files to the
.gitignore file. See current repo .gitignore
as an example.
In most the cases adding these lines solves the issue: