-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hitting a weird bug where distance to last tag is far away #54
Comments
That's very strange, considering that
|
We noticed something super strange, and it was that with a great distance from the last tag, Since I think we can close this, as we solved it my squashing all commits down into one in that PR. This took everything back to normal. I'm thinking there could be a bug in gitlab perhaps. I should write a script that loops through creating batches of 20 or so git tags. And then see when GitLab starts to act up. I will close this, as I don't think it's related to poetry-dynamic-versioning. |
Hi, I finally found out what was causing this and figured I'd report back here for completeness; In GitLab, the git repo is cloned down with a "depth" of 50. This means that after 50 commits in a pull requests, neither setuptools_scm or poetry-dynamic-versioning will find the last git tag (which is at a distance of 50). Here, the SCM-driven semver resets into To fix this, you can set a GitLab CI/CD variable |
Hi!
I'm hitting a weird bug, I think...
In a GitLab PR, the commit distance is quite far away from the last tag. I've noticed that all of a sudden, I'm getting a 0.0.1 release when building a wheel.
Full output to illustrate the problem:
A couple of commits back, in the very same PR I see this when I build the wheel:
Have you seen anything like this before?
The text was updated successfully, but these errors were encountered: