Closed francesco086 closed 1 year ago
I think I figured the problem. For whatever reason, two different versions have been registered in the same commit (dc8cccf1
). I will figure out how to solve my issue, however perhaps there are couple of learnings for gto
:
Versions '['v1.4.0', 'v1.3.1']' of artifact 'base-churn' found on the git commit 'dc8cccf1'. Multiple versions are not allowed.
gto register
have a protection in place to prevent this to happen? (It could well be that I created the tag manually, bypassing gto)@francesco086 thanks for the research. Action points make sense to me, we'll try to prioritize it.
I created a PR for the point 1, which was a no-brainer.
Point 2 will require me a little more time, will do it in another moment.
thanks! @francesco086
For point 2.
I found that the check is already in place: https://github.com/iterative/gto/blob/73b1dfb8052c05d304d529ba459897c020cb18f0/gto/registry.py#L144
So, nothing to do, I can close this issue :)
Background
I have a dvc/gto repository (unfortunately private, cannot share it). Here the most recent tags:
I tried to register a new version and I got an error. Then I tried to do a
gto show
, and that also result in the same problem...I tried with gto 0.3.5, 0.3.3, 0.3.1.
Here the python (3.11.1) packages:
I cannot image what could be the problem.