Closed jGaboardi closed 5 months ago
PyPI does not allow for a filename to be reused, even once a project has been deleted and recreated. (source)
That answers the issue with 1.7.5.
A tag is attached to a commit. Since there were no commits between 1.7.5, 1.7.6 and 1.7.5.post1, all of them are attached to a single commit. When building a version on top of that commit, setuptools_scm has no way figuring out which of those tags did you want to use, so it uses the first one.
To fix this:
git commit --allow-empty -m 'RLS: v1.7.7')
That answers the issue with 1.7.5.
Could have sworn I did this before. Guess not though.
Thanks for the fix! Will try that now.
Confirmed works. Thanks again @martinfleis !
Release action keeps failing saying that
v1.7.5
already exists on PyPI (which it does not, I deleted it). Maybe not the best idea, but what's done is done. Problem is that when attempting to release a different version (triedv1.7.5post1
andv1.7.6
), we're still seeing the same failure & message... I must be overlooking something rather obvious, but can't see it.@martinfleis @knaaptime Any ideas?
v1.7.5.post1
tagbuild
step we are seeing a version of1.7.5
v1.7.6
: correct tag; wrong build version